Least Common Multiple (LCM) Calculator
Find the LCM of two or more numbers.
Least Common Multiple (LCM) Calculator
Find the least common multiple (LCM) of two or more numbers with step-by-step formula and prime factor breakdown.
What is the Least Common Multiple (LCM) Calculator and How Does It Work?
The LCM Calculator finds the smallest positive number that two or more numbers all divide into evenly, using each number's relationship to their greatest common factor.
The least common multiple is calculated by multiplying the two numbers together and dividing by their greatest common factor, which removes the shared factors counted twice.
GCF(12,18) = 6, so LCM = (12×18)/6 = 216/6 = 36.
The LCM is found pairwise: LCM(4,6)=12, then LCM(12,8)=24.
Common Real-World Use Cases
Find the least common denominator needed to add or subtract fractions with different denominators.
Determine when two or more recurring events (e.g. every 4 days and every 6 days) will next line up.
Verify LCM homework answers with step-by-step prime factor breakdowns.
- 1Enter two or more numbers separated by commas or spaces.
- 2The calculator finds the GCF of the numbers, then computes the LCM from it.
- 3View the least common multiple along with the calculation steps.
- •The LCM of any two numbers is always divisible by both original numbers.
- •When two numbers are coprime (GCF = 1), their LCM is simply their product.
Frequently Asked Questions
Math Calculators
Essential mathematical calculators for fractions, algebra, formulas, and general math.
Related Calculators & Tools
Greatest Common Factor (GCF) Calculator
Find the greatest common factor (GCF / HCF) of two or more numbers using prime factorization or Euclidean algorithm.
Fraction Calculator
Add, subtract, multiply, and divide fractions, mixed numbers, and decimals with step-by-step simplification and visual fraction inputs.
Factor Calculator
Find all integer factors, factor pairs, and prime factorization for any given positive integer.
Average (Mean) Calculator
Calculate the arithmetic mean, sum, count, minimum, maximum, and range of any set of numbers.
Median Calculator
Find the middle number (median), mode, range, and sorted numerical sequence of any set of data.
Ratio Calculator
Simplify ratios to lowest terms, convert ratios to fractions and percentages, and solve equivalent ratios.