Least Common Multiple Calculator

  • Runs in your browser
  • Nothing uploaded
  • No sign-up
LCM 60
Numbers

Two to ten, separated by commas or spaces. Up to 1,000,000,000,000 each, written without thousands separators.

Least common multiple

60

The smallest number that 4, 6, 10 all divide into exactly.

Greatest common factor
2
Prime factors of the LCM
2² × 3 × 5

By prime factors: each prime at its highest power

  • 42²
  • 62 × 3
  • 102 × 5
  • LCM2² × 3 × 5 = 60

Updated · DRISH LABS

How do you find the least common multiple?

The least common multiple (LCM) is the smallest positive number that every one of the numbers divides into with no remainder. To find it, break each number into primes and multiply every prime that appears, each at its highest power: 4 = 2², 6 = 2 × 3 and 10 = 2 × 5 give 2² × 3 × 5 = 60. For two numbers, you can also multiply them and divide by their greatest common factor.

How it works

  1. Type two to ten whole numbers, separated by commas or spaces — 4, 6, 10 or 12 18.
  2. The least common multiple appears as you type, with the greatest common factor and the LCM’s own prime factors beside it.
  3. Under it is the working: each number in primes with every prime taken at its highest power; for two numbers, the shortcut through the GCF; and, while they are short, each number’s multiples up to the answer.

Three ways to the same answer

By prime factors: write each number as a product of primes and multiply every prime that appears, each at the highest power it appears with. By the GCF: for two numbers, multiply them and divide by their greatest common factor. By listing: write out each number’s multiples until one appears in every list — fine for small numbers, slow for large ones.

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

When you need it

What is the LCM of 4, 6 and 10?
60. In primes, 4 = 2², 6 = 2 × 3 and 10 = 2 × 5; the highest powers are 2², 3 and 5, and 2² × 3 × 5 = 60. Listing agrees: 60 is the first number in all three lists of multiples.
Adding fractions
The least common denominator of two fractions is the LCM of their denominators. For 1/4 + 1/6, the LCM of 4 and 6 is 12, so 3/12 + 2/12 = 5/12.
When will two schedules line up again?
A bus every 12 minutes and a train every 18 minutes leave together; they next leave together after the LCM of 12 and 18, which is 36 minutes.

Questions

How do you find the least common multiple?

Write each number as a product of primes and multiply every prime that appears, each at its highest power. For 4 = 2², 6 = 2 × 3 and 10 = 2 × 5 that is 2² × 3 × 5 = 60. For two numbers you can also multiply them and divide by their greatest common factor.

Is the least common multiple the same as the lowest common multiple?

Yes. Least common multiple and lowest common multiple are two names for the same number: the smallest positive number that every one of the numbers divides into with no remainder.

How is the LCM related to the GCF?

For two numbers, the LCM times the greatest common factor equals the two numbers multiplied together. For 12 and 18: the GCF is 6, the LCM is 36, and 6 × 36 = 216 = 12 × 18.

What is the LCM of two prime numbers?

Their product, because two different primes share no factor but 1. The LCM of 7 and 11 is 77. The same is true of any two coprime numbers, such as 8 and 15, whose LCM is 120.

How do I find the least common denominator?

Find the LCM of the denominators. To add 1/4, 1/6 and 1/10, the least common denominator is the LCM of 4, 6 and 10, which is 60.

How large a number can it handle?

Each number can be up to a trillion (1,000,000,000,000), and the answer has no size limit: it is worked out with exact whole-number arithmetic, so even an answer of thirty digits is correct to the last digit.

Keep going

All 31 tools