LCM Calculator
Find the least common multiple (LCM) of two or more whole numbers. Type the numbers and press Calculate. The answer shows the steps by listing multiples, by prime factors and with the GCF formula, so you can copy the method your class uses.
LCM Calculator: Least Common Multiple
What is the least common multiple?
The least common multiple (LCM) of two or more whole numbers is the smallest number that each of them divides into evenly. The LCM of 4 and 6 is 12: it's in the 4 times table (4, 8, 12) and the 6 times table (6, 12), and no smaller number is in both.
How to find the LCM
By listing multiples
Write out multiples of each number until one appears in every list. Best for small numbers.
12: 12, 24, 36, 48 18: 18, 36 LCM = 36By prime factorization
Break each number into prime powers. Take every prime that appears, at its highest power, and multiply.
12 = 2² × 3 18 = 2 × 3² Highest powers: 2² × 3² = 4 × 9 = 36Using the GCF
For two numbers, divide their product by their greatest common factor:
LCM(a, b) = a × b ÷ GCF(a, b) LCM(12, 18) = 216 ÷ 6 = 36LCM of three or more numbers
Either use prime factors for all the numbers at once, or work in pairs: find the LCM of the first two, then the LCM of that answer and the next number.
LCM(4, 6) = 12 LCM(12, 10) = 60 → LCM(4, 6, 10) = 60Using the LCM to add fractions
To add or subtract fractions with different denominators, rewrite them over the least common denominator, which is the LCM of the denominators.
1/4 + 1/6: LCM(4, 6) = 12 1/4 = 3/12, 1/6 = 2/12 3/12 + 2/12 = 5/12LCM table for 2 to 12
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 2 | 6 | 4 | 10 | 6 | 14 | 8 | 18 | 10 | 22 | 12 |
| 3 | 6 | 3 | 12 | 15 | 6 | 21 | 24 | 9 | 30 | 33 | 12 |
| 4 | 4 | 12 | 4 | 20 | 12 | 28 | 8 | 36 | 20 | 44 | 12 |
| 5 | 10 | 15 | 20 | 5 | 30 | 35 | 40 | 45 | 10 | 55 | 60 |
| 6 | 6 | 6 | 12 | 30 | 6 | 42 | 24 | 18 | 30 | 66 | 12 |
| 7 | 14 | 21 | 28 | 35 | 42 | 7 | 56 | 63 | 70 | 77 | 84 |
| 8 | 8 | 24 | 8 | 40 | 24 | 56 | 8 | 72 | 40 | 88 | 24 |
| 9 | 18 | 9 | 36 | 45 | 18 | 63 | 72 | 9 | 90 | 99 | 36 |
| 10 | 10 | 30 | 20 | 10 | 30 | 70 | 40 | 90 | 10 | 110 | 60 |
| 11 | 22 | 33 | 44 | 55 | 66 | 77 | 88 | 99 | 110 | 11 | 132 |
| 12 | 12 | 12 | 12 | 60 | 12 | 84 | 24 | 36 | 60 | 132 | 12 |
Frequently asked questions
What is the difference between LCM and GCF?
The least common multiple is the smallest number that all the numbers divide into. The greatest common factor is the largest number that divides into all of them. For 12 and 18 the LCM is 36 and the GCF is 6.
Can the LCM be smaller than the numbers?
No. The LCM is always at least as large as the biggest number in the list, because it has to be a multiple of it.
What is the LCM of two prime numbers?
Their product. Two different primes share no factors, so LCM(7, 13) = 7 × 13 = 91.
What is the LCM of 0?
The least common multiple is defined for positive whole numbers. Every number divides 0, but 0 isn't counted as a common multiple, so this calculator asks for numbers greater than 0.
See also
- GCF Calculator: Greatest common factor with factor trees and Euclid's method.
- Ratio Calculator: Simplify ratios, convert to 1:n, and split a total in a ratio.
- Proportion Calculator: Solve A/B = C/D for the missing number, with steps.
- Percentage Calculator: Percent of a number, percent change, and increase or decrease by a percent.
Last updated: November 16, 2026