How to Use the LCM Calculator
- Type your numbers in the box. Separate them with a comma or a space, like 6, 8. Add a third number in the same box.
- Select Calculate LCM. Look under Least Common Multiple for your answer.
- Choose List multiples to see the times tables, or switch to the ladder, prime factors, or GCF formula to follow a different method.
What Is the Least Common Multiple?
A multiple is a number you get by multiplying a whole number by 1, 2, 3, and so on. For example, counting by fours gives 4, 8, 12, 16, 20, and 24.
Both 12 and 24 appear in the times tables of 4 and 6. The first positive number they share is 12. That makes 12 their least common multiple, or LCM.
How the LCM Formula Works
For two positive whole numbers, LCM = (first number ÷ GCF) × second number. The greatest common factor is the largest whole number that divides both evenly.
LCM of 12 and 18
Write the numbers as 2 × 6 and 3 × 6. Both contain a 6, so you only need one copy of that shared factor. The formula gives (12 ÷ 6) × 18 = 36.
Check the calculationWorked Examples for Two and Three Numbers
What is the LCM of 6 and 8?
- Count by sixes: 6, 12, 18, 24.
- Count by eights: 8, 16, 24.
The first match is 24. Check it in both tables: 6 × 4 = 24 and 8 × 3 = 24.
What changes if you add 10?
Keep 24 from the first example. Its multiples already work for 6 and 8: 24, 48, 72, 96, 120. The first one ending in zero also works for 10. So LCM(24, 10) = 120, and LCM(6, 8, 10) = 120.
Try all three numbers.Mathematical background: OpenStax, Prealgebra 2e: prime factorization and LCM.