About this calculator
Enter two or more whole numbers.
How to use it
- Enter the numbers, separated by commas.
- Read the LCM and GCD.
The formula
- GCD
- greatest common divisor
Worked example
4, 6 and 10
- LCM(4, 6) = 12; LCM(12, 10) = 60.
- So the LCM is 60.
What the result means
Bells that ring every 4, 6 and 10 minutes ring together every 60 minutes.
LCM by the division method
Write the numbers in a row and divide by a prime that goes into at least two of them, bringing down any number it does not divide. Stop when no two numbers share a factor, then multiply all the divisors and the numbers left. For 12, 18 and 30:
- ÷ 2: 12, 18, 30 becomes 6, 9, 15.
- ÷ 3: 6, 9, 15 becomes 2, 3, 5.
- 2, 3 and 5 share no factor, so LCM = 2 × 3 × 2 × 3 × 5 = 180.
LCM of common pairs
| Numbers | LCM | HCF |
|---|---|---|
| 2, 3 | 6 | 1 |
| 3, 4 | 12 | 1 |
| 4, 6 | 12 | 2 |
| 6, 8 | 24 | 2 |
| 8, 12 | 24 | 4 |
| 9, 12 | 36 | 3 |
| 10, 15 | 30 | 5 |
| 12, 16 | 48 | 4 |
| 12, 18 | 36 | 6 |
| 15, 20 | 60 | 5 |
| 18, 24 | 72 | 6 |
| 5, 7 | 35 | 1 |
Shortcuts and checks
- Co-prime numbers: the LCM is their product, so LCM(9, 10) = 90.
- If one number divides the other, the LCM is the larger one: LCM(6, 12) = 12.
- For two numbers, LCM = product ÷ HCF: 12 × 18 ÷ 6 = 36. The HCF always divides the LCM.
- For fractions, the LCM of the denominators is the smallest common denominator: 1/6 + 1/4 = 2/12 + 3/12 = 5/12.
Assumptions
- Whole numbers.
Limitations
- Results above 2⁵³ cannot be shown exactly.
Frequently asked questions
What is the LCM of 4 and 6?
12.
How do I find the LCM?
Divide the product by the GCD, or use prime factors.
Is LCM always larger than the numbers?
It is at least as large as the largest one.
What is the LCM of 12 and 15?
60. Their HCF is 3, and 12 × 15 ÷ 3 = 60.
What is the LCM of 8 and 12?
24, the smallest number both divide into exactly.
What is the LCM of 2, 3, 4, 5 and 6?
60. It is the smallest number that every one of them divides exactly.
Last reviewed on 12 October 2026. How we calculate and check. Found a mistake? Tell us.

