What is the LCM?
The least common multiple (LCM) of positive whole numbers is the smallest positive integer that is divisible by every number in the set. “Least” means smallest; “common” means shared.
For 6 and 8, the LCM is 24: 24 ÷ 6 = 4 and 24 ÷ 8 = 3. No smaller positive number divides evenly by both.
1. List the multiples
A multiple is what you get when you multiply a number by a whole number. List the positive multiples of each input, then find the first value in every list.
Example: find the LCM of 6 and 8
6: 6, 12, 18, 24, 30, …
8: 8, 16, 24, 32, …
The first shared value is 24.
This is a good way to see the idea with small numbers. For large numbers, long lists quickly become impractical.
2. Use prime factorization
Break each number into primes. For every prime that appears, keep the highest power seen in any input, then multiply those powers.
Example: find the LCM of 12 and 18
- 12 = 2² × 3
- 18 = 2 × 3²
- Highest powers: 2² and 3²
- LCM = 2² × 3² = 4 × 9 = 36
Why the highest power? A common multiple must contain enough prime factors for every input to divide into it. Taking exactly the highest required powers keeps that multiple as small as possible.
Need help breaking down the numbers? Use the prime factorization calculator.
3. Use the ladder (cake) method
Write the numbers side by side. Divide by a prime that divides at least one entry. Divide every entry it divides evenly, and carry other entries down unchanged. Continue until every entry is 1.
Example: find the LCM of 12 and 18
| Prime | First number | Second number |
|---|---|---|
| 2 | 12 | 18 |
| 2 | 6 | 9 |
| 3 | 3 | 9 |
| 3 | 1 | 3 |
| — | 1 | 1 |
Multiply the primes on the left: 2 × 2 × 3 × 3 = 36.
For LCM, the chosen prime does not have to divide every entry in a row. Stopping as soon as the entries have no shared factor would miss required factors.
4. Use the GCF formula
For two positive integers a and b:
Example: find the LCM of 12 and 18
GCF(12, 18) = 6
LCM = 12 ÷ 6 × 18 = 2 × 18 = 36
The product a × b contains all the needed factors, but double-counts the shared part. Dividing by the GCF removes that duplication. Our GCF calculator shows how to find that shared factor.
What about three or more numbers?
Prime factorization and the ladder method work across the full list. With the GCF formula, combine two numbers at a time.
Example: LCM of 12, 18, and 30
First: LCM(12, 18) = 36
Then: GCF(36, 30) = 6
LCM(36, 30) = 36 ÷ 6 × 30 = 180
Check: 180 ÷ 12 = 15; 180 ÷ 18 = 10; 180 ÷ 30 = 6.
Do not apply “product ÷ shared GCF” directly to three numbers. The two-number formula must be used pairwise.
Which method should I use?
| Method | A good choice when… |
|---|---|
| Listing multiples | Numbers are small and you want to see where they meet. |
| Prime factorization | You want to understand which prime powers are needed. |
| Ladder method | You prefer organized division rows, especially for several inputs. |
| GCF formula | You already know the GCF or want efficient pairwise arithmetic. |
Common mistakes to avoid
- Confusing factors with multiples. Factors divide a number; multiples are products of it.
- Multiplying the inputs and stopping. Their product is a common multiple, but it may not be the least one.
- Taking the smallest prime powers. That belongs to the GCF method, using shared primes only. LCM takes every prime at its highest required power.
- Confusing LCD with fractional LCM. The least common denominator is the LCM of denominators. Try the LCD calculator for conversions.
Try it yourself
Work these out before revealing the answer.
Find the LCM of 8 and 12
8 = 2³ and 12 = 2² × 3. Keep 2³ × 3 = 24.
Find the LCM of 9 and 15
9 = 3² and 15 = 3 × 5. Keep 3² × 5 = 45.
Find the LCM of 4, 6, and 10
4 = 2²; 6 = 2 × 3; 10 = 2 × 5. Keep 2² × 3 × 5 = 60.