Least Common Multiple Calculator

Find the LCM of two or more numbers using prime factorization

0
Least Common Multiple (LCM)

About the LCM Calculator

This LCM (Least Common Multiple) calculator finds the smallest positive integer divisible by two or more numbers. It calculates the LCM using prime factorization and also shows the GCD for reference. The LCM is essential for adding and subtracting fractions with different denominators.

The Formula

LCM(a, b) = |a × b| / GCD(a, b)

For more than two numbers, the LCM is computed iteratively: LCM(a, b, c) = LCM(LCM(a, b), c).

Frequently Asked Questions

What is the difference between LCM and GCD?

The LCM (Least Common Multiple) is the smallest number that is a multiple of all given numbers. The GCD (Greatest Common Divisor) is the largest number that divides all given numbers. They are related by the formula LCM(a,b) × GCD(a,b) = a × b.

When is LCM used in real life?

LCM is used when adding or subtracting fractions with different denominators, scheduling events that repeat at different intervals, solving problems involving cycles or periods, and in gear ratio calculations for engineering.