LCM Calculator (Least Common Multiple)
Find the least common multiple (LCM), also called the lowest common multiple, of two or more positive integers, with the working shown step by step.
Result
Fill in the fields above, then press Calculate.
An LCM calculator finds the least common multiple of two or more positive integers using prime factorization and the GCD relationship, which is essential for finding common denominators. The lowest common multiple is the same thing as the least common multiple.
How to find the LCM
Write each number as a product of primes. The LCM takes every prime that appears, to its highest power in any of the numbers.
Worked example: 12 = 2² × 3 and 18 = 2 × 3², so LCM(12, 18) = 2² × 3² = 36. Check: 12 × 18 ÷ GCF 6 = 36.
The greatest common factor (GCF, also called HCF) of the same numbers is found with the GCF calculator. For two numbers, LCM × GCF = the product of the numbers.
LCM and GCF table for common numbers
The LCM is the smallest number every one of them divides into. The GCF is the largest number that divides every one of them.
| Numbers | LCM | GCF (HCF) |
|---|---|---|
| 4, 6 | 12 | 2 |
| 6, 8 | 24 | 2 |
| 8, 12 | 24 | 4 |
| 12, 18 | 36 | 6 |
| 12, 15 | 60 | 3 |
| 15, 20 | 60 | 5 |
| 3, 4, 5 | 60 | 1 |
| 6, 10, 15 | 30 | 1 |
Examples
LCM of 12 and 18
Frequently Asked Questions
Why is LCM useful?
What is the difference between LCM and GCF?
Is lowest common multiple the same as LCM?
Result
Your result appears here and follows you as you scroll.
Quick Tips
- •Use the LCM to find a common denominator when adding or subtracting fractions.
- •Double-check your inputs — small errors in numbers lead to large errors in results.
- •For more than two numbers, the calculator chains the pairwise LCM automatically.