LCM Calculator (Least Common Multiple)
Enter two or more whole numbers to find their least common multiple — the smallest number they all divide into.
LCM is 24.
Step by step
- Prime factorize each number (table). The LCM uses every prime that appears in any of them, with its largest power: 23 × 3 = 24
- Shortcut: LCM = a × b ÷ GCF = 6 × 8 ÷ 2 = 24
- Listing method: 6: 6, 12, 18, 24
8: 8, 16, 24
The first multiple they all share is 24.
| Number | power of 2 | power of 3 | Prime factorization |
|---|---|---|---|
| 6 | 1 | 1 | 2 × 3 |
| 8 | 3 | 0 | 23 |
Three ways to find the LCM
- List multiples: 6: 6, 12, 18, 24; 8: 8, 16, 24 → LCM 24.
- Prime factors: take each prime with its highest power: 6 = 2 × 3, 8 = 2³ → 2³ × 3 = 24.
- GCF shortcut (two numbers): LCM = a × b ÷ GCF = 48 ÷ 2 = 24.
- Ladder (cake) method: write the numbers in a row and divide by primes that go into at least one of them, carrying down the rest, until only 1s remain; multiply the divisors.
Three numbers
LCM(4, 6, 10): 4 = 2², 6 = 2 × 3, 10 = 2 × 5 → 2² × 3 × 5 = 60. In a Venn diagram of prime factors, the LCM multiplies everything in all the circles; the GCF only the overlap.
Where you need it
Adding fractions: the least common denominator of 1/6 + 1/8 is LCM(6, 8) = 24. Scheduling: buses every 12 and 18 minutes leave together every LCM(12, 18) = 36 minutes.
Common pairs
LCM of 6 and 8, LCM of 4 and 6, LCM of 8 and 12, LCM of 12 and 18, LCM of 6 and 9, LCM of 4 and 10, LCM of 3 and 4, LCM of 9 and 12, LCM of 12 and 16, LCM of 15 and 20
LCM table 2–20
More pairs: 24 and 36, 18 and 24, 36 and 48, 12 and 30, 24 and 30, 15 and 25, 16 and 24, 20 and 30, 30 and 45, 42 and 56, 48 and 60, 24 and 40, 36 and 60, 12 and 36, 18 and 27, 14 and 21, 28 and 42, 40 and 60, 25 and 35, 45 and 60, 32 and 48, 60 and 90, 27 and 36, 54 and 72, 30 and 42, 21 and 28, 16 and 40, 12 and 40, 18 and 30, 24 and 32, 12 and 42, 36 and 54, 48 and 72, 24 and 60, 30 and 50, 35 and 42, 40 and 48, 20 and 24, 12 and 21, 10 and 25, 6 and 21, 9 and 15, 8 and 28, 15 and 35, 18 and 45, 60 and 72, 36 and 90, 75 and 100, 50 and 75, 100 and 150
Frequently asked questions
What is the LCM?
The least common multiple: the smallest positive number that every given number divides into evenly.
What is the LCM of 6 and 8?
24.
How do you find the LCM of three numbers?
Prime factorize each and multiply every prime at its highest power, or find LCM of the first two and then with the third.
What is the relationship between LCM and GCF?
For two numbers, LCM × GCF = a × b.