LCM Calculator (Least Common Multiple)
Last updated:
How to Use This Calculator
Step 1: Enter two or more positive whole numbers separated by commas or spaces.
Step 2: Click Calculate to see the LCM.
Step 3: Review the step-by-step calculation showing the GCF method used for each pair.
What Is the Least Common Multiple?
The least common multiple (LCM) is the smallest positive integer that is a multiple of every number in the set. In other words, it is the smallest number that each of the given numbers divides into evenly.
For example, the LCM of 4 and 6 is 12 — the multiples of 4 are 4, 8, 12, 16, ... and the multiples of 6 are 6, 12, 18, ... The first number that appears in both lists is 12.
The LCM is essential for adding fractions with different denominators and for solving problems involving repeating cycles.
How the LCM Is Calculated
GCF method: LCM(a, b) = (a × b) ÷ GCF(a, b)
Example: LCM(4, 6)
GCF(4, 6) = 2
LCM = (4 × 6) ÷ 2 = 24 ÷ 2 = 12
For three or more numbers: LCM(a, b, c) = LCM(LCM(a, b), c)
Common LCM Values
| Numbers | LCM | Use Case |
|---|---|---|
| 4, 6 | 12 | Common denominator for 1/4 + 1/6 |
| 3, 5 | 15 | Events recurring every 3 and 5 days |
| 8, 12 | 24 | Common denominator for fractions |
| 6, 10, 15 | 30 | Multi-number LCM |
| 7, 13 | 91 | Coprime numbers → product |
Examples
Example 1: LCM(4, 6) = 12 — used to add 1/4 + 1/6 = 3/12 + 2/12 = 5/12.
Example 2: LCM(5, 7) = 35 — because 5 and 7 are coprime, LCM equals their product.
Example 3: LCM(3, 4, 6) = 12 — smallest number divisible by 3, 4, and 6.
Tips
Coprime numbers: LCM is simply their product.
Factor out shared primes using the highest power from each number.
LCM × GCF = Product of the two numbers — useful check.
Fractions: Use LCM of denominators as the common denominator.
Frequently Asked Questions
What is the relationship between LCM and GCF?
Why is the LCM useful when adding fractions?
Can the LCM be smaller than any of the numbers?
What does it mean when the LCM equals the product of the numbers?
How is the LCM used in real life beyond schoolwork?
What is the LCM of a number and zero?
Related Calculators
GCF Calculator (Greatest Common Factor)
Free GCF calculator. Find the greatest common factor of two or mo...
Fraction Calculator
Free fraction calculator. Add, subtract, multiply, or divide two ...
Prime Number Checker
Free prime number checker. Check if any number is prime with step...
Random Number Generator
Free random number generator. Generate one or multiple random int...