LCM Calculator
Find the least common multiple of two or more whole numbers: the smallest number they all divide into. The working shows the prime factorization, the GCF shortcut and the lists of multiples.
Least common multiple
LCM =–
How to find it
LCM chart for 1 to 12
The least common multiple of the row and column numbers. Example: LCM(4, 6) = 12.
| LCM | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 2 | 2 | 2 | 6 | 4 | 10 | 6 | 14 | 8 | 18 | 10 | 22 | 12 |
| 3 | 3 | 6 | 3 | 12 | 15 | 6 | 21 | 24 | 9 | 30 | 33 | 12 |
| 4 | 4 | 4 | 12 | 4 | 20 | 12 | 28 | 8 | 36 | 20 | 44 | 12 |
| 5 | 5 | 10 | 15 | 20 | 5 | 30 | 35 | 40 | 45 | 10 | 55 | 60 |
| 6 | 6 | 6 | 6 | 12 | 30 | 6 | 42 | 24 | 18 | 30 | 66 | 12 |
| 7 | 7 | 14 | 21 | 28 | 35 | 42 | 7 | 56 | 63 | 70 | 77 | 84 |
| 8 | 8 | 8 | 24 | 8 | 40 | 24 | 56 | 8 | 72 | 40 | 88 | 24 |
| 9 | 9 | 18 | 9 | 36 | 45 | 18 | 63 | 72 | 9 | 90 | 99 | 36 |
| 10 | 10 | 10 | 30 | 20 | 10 | 30 | 70 | 40 | 90 | 10 | 110 | 60 |
| 11 | 11 | 22 | 33 | 44 | 55 | 66 | 77 | 88 | 99 | 110 | 11 | 132 |
| 12 | 12 | 12 | 12 | 12 | 60 | 12 | 84 | 24 | 36 | 60 | 132 | 12 |
Need the other one? Try the GCF calculator.
Next steps
Key facts
- Price
- Free, with no sign-up and no usage limits
- Privacy
- Runs in your browser: your files and text are never uploaded
- Works on
- Any current browser on Windows, macOS, Linux, ChromeOS, Android and iPhone
- Made by
- Toolgu
- Last updated
How to find the least common multiple
- Type two or more whole numbers, separated by commas or spaces, such as
6, 8, 12. - The LCM appears straight away, with the GCF of the same numbers beside it.
- Follow the working: the prime factorization, the GCF shortcut for two numbers and, when they are short enough, the lists of multiples.
Three ways to find the LCM
Listing multiples works for small numbers. Multiples of 6: 6, 12, 18, 24. Multiples of 8: 8, 16, 24. The first one in both lists is 24.
Prime factorization works for any size: 6 = 2 × 3, 8 = 2³ and 12 = 2² × 3. Take every prime at its highest power: 2³ × 3 = 24.
The GCF shortcut for two numbers: LCM = a × b ÷ GCF. For 6 and 8, the GCF is 2, so the LCM is 48 ÷ 2 = 24.
Where the LCM is used
Adding fractions: the least common denominator of 1/6 + 1/8 is the LCM of 6 and 8, so 4/24 + 3/24 = 7/24. Schedules that repeat: if one bus comes every 12 minutes and another every 18, they meet every 36 minutes. Buying packs: hot dogs come in 10s and buns in 8s, so you need 40 of each to have none left over.
For the largest shared factor, use the GCF calculator. To add fractions with steps, try the fraction calculator.
Frequently asked questions
What is the least common multiple?
The smallest positive number that is a multiple of every number in the list. Multiples of 4 are 4, 8, 12, 16…, and of 6 are 6, 12, 18…, so the LCM of 4 and 6 is 12.
How do I find the LCM using prime factorization?
Write each number as a product of primes and multiply every prime that appears, each to its highest power. 12 = 2² × 3 and 18 = 2 × 3², so the LCM is 2² × 3² = 36.
How are the LCM and GCF related?
For two numbers, LCM × GCF = the product of the numbers, so LCM(a, b) = a × b ÷ GCF(a, b). For 12 and 18: 12 × 18 ÷ 6 = 36.
What is the least common denominator?
The LCM of the denominators. To add 1/4 + 1/6, use the LCM of 4 and 6, which is 12: 3/12 + 2/12 = 5/12.
How do I find the LCM of three or more numbers?
Use the prime factorization method on all of them at once, or find the LCM of the first two and then the LCM of that result with the next number. The LCM of 6, 8 and 12 is 24.
Related tools
- GCF CalculatorGreatest common factor of two or more numbers, with steps
- Prime Number CheckerIs it prime? Prime factorization, divisors and prime lists
- Slope CalculatorSlope, equation and angle of a line from two points
- Ratio CalculatorSolve, simplify, share and scale ratios, including aspect ratios
- Proportion CalculatorSolve a/b = c/d for x with cross multiplication steps
- Roman Numeral ConverterNumbers to Roman numerals and back, with a chart
- Area CalculatorArea of triangles, circles, trapezoids and 10 more shapes
- Volume CalculatorVolume of boxes, cylinders, spheres, cones and more, in liters and gallons