Skip to content
CalculatorsFinder
Math Calculators

Least Common Multiple Calculator

Find the least common multiple (LCM) of two or more whole numbers.

  • Instant results
  • Step-by-step
  • Private: runs in your browser

Enter your numbers

Separate with commas or spaces. At least two numbers.

Result

Least common multiple

60

Greatest common factor of the same numbers
2
60 ÷ 4
15
60 ÷ 6
10
60 ÷ 10
6
Step-by-step calculation
  1. Use lcm(a, b) = |a × b| ÷ gcd(a, b), applied pairwise
  2. Result: 60

About the Least Common Multiple Calculator

The least common multiple (LCM) is the smallest positive number that every number in your list divides into evenly. It is the key to adding fractions with different denominators and to finding when repeating cycles line up.

Enter two or more whole numbers separated by commas or spaces.

Formula and how it works

lcm(a, b) = |a × b| ÷ gcd(a, b)

lcm(a, b, c) = lcm(lcm(a, b), c)

Dividing the product by the greatest common factor removes the factors the numbers share, leaving the smallest common multiple.

Worked example

LCM of 4, 6 and 10

lcm(4, 6) = 24 ÷ 2 = 12. lcm(12, 10) = 120 ÷ 2 = 60. Check: 60 ÷ 4 = 15, 60 ÷ 6 = 10 and 60 ÷ 10 = 6.

Tip: press “Try example” in the calculator above to load these numbers.

Understanding your result

If buses run every 4, 6 and 10 minutes and leave together now, they next leave together in 60 minutes.

For fractions, the LCM of the denominators is the least common denominator.

Common mistakes to avoid

  • Multiplying all the numbers, which gives a common multiple but not the least.
  • Mixing up LCM and GCF.
  • Including zero, for which the LCM is undefined.

Frequently asked questions

How do I find the LCM?

Divide the product of two numbers by their GCF, then repeat with each further number.

Is the LCM always larger than the numbers?

It is at least as large as the largest number, and equal to it when that number is a multiple of all the others.

What is the LCM of two coprime numbers?

Their product.