Free · No sign-up · Private
LCM Calculator
Find the least common multiple of two or more integers.
Quick answer
The least common multiple is the smallest positive number that every given number divides into exactly. The LCM of 4, 6 and 15 is 60. For two numbers, LCM = a × b ÷ GCD(a, b); for more, apply it repeatedly: LCM(4, 6) = 12, then LCM(12, 15) = 60.
Step by step
How to use the LCM Calculator
01
Enter two or more integers.
02
See their least common multiple.
Formula
LCM(a,b) = |a×b| / GCD(a,b)Worked examples
LCM examples
| Numbers | LCM |
|---|---|
| 4, 6 | 12 |
| 8, 12 | 24 |
| 9, 15 | 45 |
| 7, 11 | 77 |
| 24, 36 | 72 |
Good to know
Using the LCM to add fractions
The lowest common denominator of two fractions is the LCM of their denominators. To add 1/4 and 1/6, use 12: 3/12 + 2/12 = 5/12. The fraction calculator does this automatically.
Repeating schedules
If one bus leaves every 12 minutes and another every 18, they leave together every LCM(12, 18) = 36 minutes.
Finding the LCM by prime factors
Write each number as a product of primes, then take every prime at its highest power. 12 = 2² × 3 and 18 = 2 × 3², so LCM(12, 18) = 2² × 3² = 36. The method is easy to do by hand for small numbers and gives the same answer as the formula the calculator uses.
FAQ
Frequently asked questions
What is the LCM of 0?
It is defined as 0, because 0 is a multiple of every number. The calculator returns 0 if any input is 0.
Is the LCM always larger than the numbers?
It is at least as large as the biggest number, and equal to it when that number is a multiple of the others.
More math tools
Related tools
Basic Calculator
A simple calculator for addition, subtraction, multiplication and division.
Open toolScientific Calculator
Evaluate expressions with powers, roots, trigonometry, logarithms and constants.
Open toolFraction Calculator
Add, subtract, multiply and divide fractions and simplify the result.
Open toolRatio Calculator
Simplify ratios and solve for the missing value in a proportion.
Open tool