Calculate the least common multiple (LCM) of two or more positive integers. Enter numbers separated by commas (,) to see the result, prime factorization, and every calculation step.
LCM =
Result and step-by-step working:
1. Prime factorization:
2. Select the factors with the highest exponent:
3. Result:
List the multiples of each number until you find the first common multiple. This is ideal for small numbers.
Example: LCM of 4 and 6
Multiples of 4: 4, 8, 12, 16, 20...
Multiples of 6: 6, 12, 18, 24...
LCM(4, 6) = 12
Break each number down into prime factors, select the highest power of each factor, and multiply the selected factors. This is ideal for large numbers or more than two numbers.
Example: LCM of 12 and 18
12 = 2² × 3
18 = 2 × 3²
Take: 2² and 3²
LCM = 2² × 3² = 36
| Numbers | Least Common Multiple (LCM) |
|---|---|
| 2, 4 | 4 |
| 3, 6 | 6 |
| 4, 6 | 12 |
| 6, 8 | 24 |
| 6, 9 | 18 |
| 8, 12 | 24 |
| 12, 18 | 36 |
| 18, 24 | 72 |
| 24, 36 | 72 |
The LCM appears in everyday situations where two or more cycles must coincide. Here are some concrete examples:
Transport: when do two buses meet?
One bus arrives every 12 minutes and another every 18 minutes. If both arrive at 8:00 AM, when will they meet again?
LCM(12, 18) = 36 minutes
Both buses will meet again at 8:36 AM.
More everyday examples: