Listing Multiples
Write out multiples of each number and circle the smallest one they share. The most intuitive way to build understanding.
A free least common multiple calculator (also the lowest common denominator when you're adding fractions) with step-by-step explanations. Enter up to 10 numbers and see three ways to reach the answer.
Enter numbers above and press Calculate to see your answer.
Example with 12 and 15:
The smallest common multiple is 60.
In mathematics, the Least Common Multiple (LCM) of two or more whole numbers is the smallest positive common multiple that every one of them divides into evenly. It is also called the lowest common multiple, and when you apply it to the denominators of fractions it becomes the least common denominator (LCD).
For example, the LCM of 4 and 6 is 12, the smallest number that both 4 and 6 divide with no remainder. The same 12 is the least common denominator when you're adding 1⁄4 and 1⁄6.
Three proven methods for different problems. Pick the one that matches your numbers.
Write out multiples of each number and circle the smallest one they share. The most intuitive way to build understanding.
Break each number into primes, take the highest power of each, then multiply. Shows why the LCM works, not just what it is.
Use the Euclidean shortcut: (a × b) ÷ GCD(a, b). Works instantly on huge numbers where listing would take forever.
The three ways to compute LCM, distilled. Save, bookmark, or screenshot for homework.
The fastest way for two numbers. Works with any pair of positive integers.
Finding LCM using prime factorization: list every prime that appears anywhere, then raise it to its highest power across all numbers. This is how you handle LCM with exponents.
Chain the two-number formula. LCM is associative, so the order you pair them doesn't matter.
LCM and GCD are two sides of the same coin. If you know one, the other is a division away.
Beyond the textbook, the least common multiple pops up in biology, music, and machinery.
Two broods of cicadas emerge every 13 and 17 years. How often do they meet?
A drummer plays every 6 beats, a pianist every 8. When do they land together?
Two gears with 12 and 18 teeth. How many turns until they reset to the start?
The least common multiple and greatest common divisor for the pairs students search for the most. Each row doubles as a lowest common denominator look-up for fractions — tap to auto-fill the calculator with full step-by-step working.
| Pair | LCM | GCD | |
|---|---|---|---|
| LCM of 2 and 3 (common denominator of 2 and 3) | 6 | 1 | Try → |
| LCM of 3 and 4 | 12 | 1 | Try → |
| LCM of 3 and 6 (common denominator of 3 and 6) | 6 | 3 | Try → |
| LCM of 3 and 8 (common multiple of 3 and 8) | 24 | 1 | Try → |
| LCM of 4 and 5 | 20 | 1 | Try → |
| LCM of 4 and 6 | 12 | 2 | Try → |
| LCM of 4 and 10 | 20 | 2 | Try → |
| LCM of 5 and 6 | 30 | 1 | Try → |
| LCM of 6 and 8 (common multiples of 6 and 8) | 24 | 2 | Try → |
| LCM of 6 and 9 | 18 | 3 | Try → |
| LCM of 8 and 12 (common multiples of 8 and 12) | 24 | 4 | Try → |
| LCM of 9 and 12 | 36 | 3 | Try → |
| LCM of 10 and 15 | 30 | 5 | Try → |
| LCM of 12 and 15 | 60 | 3 | Try → |
| LCM of 12 and 16 | 48 | 4 | Try → |
| LCM of 12 and 18 (common multiples of 12 and 18) | 36 | 6 | Try → |
| LCM of 14 and 21 | 42 | 7 | Try → |
| LCM of 15 and 20 | 60 | 5 | Try → |
| LCM of 18 and 24 | 72 | 6 | Try → |
| LCM of 20 and 30 | 60 | 10 | Try → |
| LCM of 24 and 36 | 72 | 12 | Try → |
Can't find your pair? Use the calculator above for any two or more numbers.
The greatest common factor and least common multiple are the two most-confused ideas in number theory. Here's the side-by-side you wish your textbook had — GCD, GCF, and HCF all mean the same thing.
Enter up to 10 positive whole numbers, separated by commas, spaces, or new lines.
Listing multiples, prime factorization, or the GCD formula. Pick whichever you want to learn.
See the full working out: colored prime factors, pair-wise GCD, or a visual multiples list.
Try each one in your head or on paper, then click "Reveal" to check your answer. No score, no signup, just reps.
Answer: 24
Prime factors: 6 = 2·3, 8 = 23. Take the highest power of each prime: 23 · 3 = 8 · 3 = 24.
Answer: 36
9 = 32, 12 = 22·3. Highest powers: 22 · 32 = 4 · 9 = 36.
Answer: 60
10 = 2·5, 15 = 3·5, 20 = 22·5. Highest powers: 22 · 3 · 5 = 4 · 3 · 5 = 60.
Answer: 77
7 and 11 are both prime and coprime (GCD = 1). When that happens, LCM is simply their product: 7 · 11 = 77.
Answer: 70
14 = 2·7, 35 = 5·7. Highest powers: 2 · 5 · 7 = 70. Notice that 7 appears in both, but you still only count it once.
Answer: 72
24 = 23·3, 36 = 22·32. Highest powers: 23 · 32 = 8 · 9 = 72. Or use the formula: (24 · 36) ÷ GCD(24, 36) = 864 ÷ 12 = 72.
Six traps that trip up most students. Skim these before your next homework.
Wrong LCM(4, 6) = 4 × 6 = 24.
Right LCM(4, 6) = 12. Multiplying only works when the numbers share no common factors (i.e. GCD = 1).
Wrong For 8 = 23 and 12 = 22·3, taking 22 gives 12.
Right LCM uses the highest power of each prime: 23·3 = 24. Lowest powers belong to GCD, not LCM.
Wrong LCM(6, 35): only counting 5 and 7 because 6 isn't prime.
Right First factor: 6 = 2·3, 35 = 5·7. Every prime that appears anywhere must be included. LCM = 2·3·5·7 = 210.
Wrong Answering "2" for LCM of 4 and 6.
Right 2 is the GCD. The LCM is 12. Remember: LCM is always ≥ largest input, GCD is always ≤ smallest input.
Wrong LCM(0, 5) = 0.
Right LCM is only defined for positive integers. Zero has every number as a multiple, so there is no "least". Drop zeros and use absolute values for negatives.
Wrong For LCM(7, 12), listing 7, 14, 21, 28… and giving up.
Right For large or coprime pairs, switch methods. Prime factorization or the GCD formula get you there faster. LCM(7, 12) = 84.
The vocabulary you will see in any LCM problem, explained in one line each.
The least common multiple (LCM) of two or more integers is the smallest positive integer that is divisible by every one of them. It's also called the lowest common multiple or the smallest common multiple.
Use one of three methods: listing multiples, finding LCM using prime factorization, or the formula LCM(a,b) = (a × b) ÷ GCD(a,b). Our calculator shows the full step-by-step working for whichever method you pick.
Yes. When you apply the least common multiple to the denominators of fractions, it's called the least common denominator or lowest common denominator. For example, the LCD of 1/4 + 1/6 is 12 — the LCM of 4 and 6. So this tool doubles as an LCD calculator.
GCD (also called GCF, greatest common factor, or HCF, highest common factor) is the largest number that divides every input. LCM is the smallest number that every input divides into. They are linked by the identity LCM(a,b) × GCD(a,b) = a × b.
Factor each number into primes and keep the highest power of every prime. For example, LCM of 8 = 23 and 12 = 22·3 uses 23·3 = 24. Never take the lowest power — that's for GCD.
The LCM of 3 and 4 is 12. Since 3 and 4 share no common factors (GCD = 1), the LCM is just their product: 3 × 4 = 12.
The LCM of 8 and 12 is 24. In primes, 8 = 23 and 12 = 22·3, so LCM = 23·3 = 24.
No. The least common multiple is always at least as large as the biggest input number.
Not really. People sometimes say "least common factor" when they mean the greatest common factor (GCF) or the least common multiple (LCM). The smallest factor every integer shares is just 1, which isn't useful — so always double-check whether the problem wants the LCM or the GCF/GCD.