LCM Calculator

Identify the smallest shared multiple for any set of integers.

Input Values
Separate numbers with commas, spaces, or new lines.

LCM Calculator

The Least Common Multiple (LCM) is the smallest number that is a multiple of two or more given numbers. It's essential for adding fractions with different denominators and solving scheduling problems.

How to Use This Calculator

  1. Enter two or more integers (separated by commas or spaces).
  2. Click Calculate to find the LCM and see the step-by-step solution using prime factorization.

Methods to Find LCM

Method 1 – Listing Multiples: List multiples of each number until a common one appears.
Multiples of 4: 4, 8, 12, 16... | Multiples of 6: 6, 12, 18... → LCM = 12

Method 2 – Prime Factorization: Factor each number, take the highest power of each prime, multiply.
4 = 2² | 6 = 2 × 3 → LCM = 2² × 3 = 12

Method 3 – GCF Formula: LCM(a, b) = (a × b) ÷ GCF(a, b)

Example Calculations

  • LCM(4, 6) = 12
  • LCM(8, 12, 18): Factorizations: 2³, 2²×3, 2×3² → LCM = 2³ × 3² = 8 × 9 = 72
  • LCM(7, 11) = 77 (both prime → LCM = product)

Real-World Uses of LCM

  • Adding fractions: 1/4 + 1/6 requires LCD = 12 → 3/12 + 2/12 = 5/12
  • Scheduling: Two events occurring every 4 and 6 days will coincide every 12 days
  • Gear ratios: Finding when two gears return to starting position simultaneously
  • Music: Finding when two rhythmic patterns align

Common Mistakes to Avoid

  • Confusing LCM with GCF — LCM is the smallest common multiple (always ≥ both numbers). GCF is the largest common factor (always ≤ both numbers).
  • Listing only a few multiples — If you don't find a common multiple quickly, use prime factorization instead to avoid error.
  • Forgetting LCM of coprime numbers is their product — If GCF(a, b) = 1 (coprime), then LCM(a, b) = a × b.

Frequently Asked Questions

What is the difference between LCM and LCD?

LCD (Least Common Denominator) is simply the LCM applied to fraction denominators. They're the same calculation — LCD is just the term used specifically in the context of adding or subtracting fractions.

Can LCM be smaller than either input?

No. LCM(a, b) is always ≥ max(a, b). LCM equals one of the inputs only when one is a multiple of the other: LCM(6, 12) = 12.

How do I find LCM of more than two numbers?

Find LCM of first two, then find LCM of that result with the third number, and so on. Or use prime factorization: take all primes at their highest power across all numbers.

Conclusion

LCM is a fundamental math concept used everywhere from elementary fractions to advanced number theory. Use this calculator to find LCM of any set of numbers instantly, with the prime factorization steps shown.

Related: GCF Calculator | Fraction Calculator | Factor Calculator

To find the LCM of two prime numbers, simply multiply them together! (e.g., LCM of 7 and 11 is 77).