LCM calculator
The least common multiple is the smallest positive number that every value in your list divides into evenly.
Results
Enter your values to see the result.
About this tool
Enter two or more whole numbers and the calculator returns it. It is handy for lining up repeating schedules, such as finding when two events with different cycle lengths next coincide, or finding a common denominator.
- How it is calculated
- lcm(a, b) = a × b ÷ gcd(a, b)
- Worked example
- With Whole numbers (separated by commas or spaces): 4,6,10, the result is: Least common multiple: 60.
- Good to know
- Entries must be whole numbers, at least two of them, and zero is not allowed. If the answer would exceed the largest exactly representable whole number, the calculator reports it as too large.
Frequently asked questions
How is the LCM related to the GCF?
For two numbers, the LCM equals their product divided by their GCF. The calculator uses that relationship repeatedly across the list. This is why numbers sharing big factors have a smaller LCM than their product.
When would I use an LCM for fractions?
To add or subtract fractions you need a common denominator, and the smallest one is the LCM of the denominators. For denominators 4, 6 and 10 the Least common multiple is 60.
Why might I see a too large error?
Multiplying several large numbers together can give an answer beyond the largest whole number the calculator can store exactly. Rather than show a rounded, unreliable figure, it reports the problem.