Least Common Multiple Calculator

Find the LCM of any set of numbers with step-by-step prime factorization.

Enter Numbers

Enter numbers separated by commas, spaces, or newlines.

Result

LCM(330, 75, 450, 225) = 4950

Steps:

Prime factorization of the numbers:

330 = 2 × 3 × 5 × 11

75 = 3 × 5 × 5

450 = 2 × 3 × 3 × 5 × 5

225 = 3 × 3 × 5 × 5

LCM calculation:

LCM(330, 75, 450, 225)

= 2 × 3 × 3 × 5 × 5 × 11

= 4950

GCD(330, 75, 450, 225) = 15

Prime Factor Exponents

Complete LCM Calculator Guide & Information

1. What is the Least Common Multiple?

The least common multiple (LCM) of a set of integers is the smallest positive integer that is divisible by each of the numbers. It is also called the lowest common multiple or smallest common multiple. The LCM of a and b is written as LCM(a, b) or lcm(a, b).

LCM is useful when adding, subtracting or comparing fractions with different denominators — finding the LCM (called the least common denominator in this context) allows fractions to be expressed with a common denominator.

2. Methods for Finding LCM

Method 1: Prime Factorization

This is the most systematic method, especially for multiple numbers. Factor each number into its prime factors, then multiply together the highest power of each prime that appears in any factorization.

LCM = product of (primemax exponent) for all primes

Method 2: Listing Multiples

List multiples of each number until a common multiple is found. Simple for small numbers but impractical for large values.

Example: LCM(4, 6)

Method 3: GCD Formula

For two numbers, LCM can be computed directly from the greatest common divisor:

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

For more than two numbers, apply the formula iteratively: LCM(a,b,c) = LCM(LCM(a,b), c)

Method 4: Division Method (Ladder Method)

Divide all numbers by common prime factors repeatedly until no common divisor remains. Multiply all divisors and remaining numbers together.

3. Greatest Common Divisor (GCD)

The GCD of a set of integers is the largest positive integer that divides each of them without remainder. It is found by taking the lowest power of each common prime factor across all numbers.

GCD = product of (primemin exponent) for common primes

GCD and LCM are related: for two numbers, their product equals the product of LCM and GCD.

4. Properties of LCM

5. Input & Control Definitions

6. Worked Examples

Example 1 — Two numbers: Find LCM(12, 18)

Example 2 — Three numbers: Find LCM(8, 12, 15)

Example 3 — Four numbers (default): LCM(330, 75, 450, 225)

7. Real-World Applications

8. Common LCM Reference Table

Numbers LCM GCD
2, 361
4, 6122
6, 9183
8, 12244
10, 15305
12, 18366
16, 24488
2, 3, 5301
3, 6, 9183
4, 6, 8242

9. Important Notes

10. Related Mathematical Concepts

11. References

1. Euclid. "Elements," Book VII, Propositions 1–2. Circa 300 BCE.
2. Gauss, Carl Friedrich. "Disquisitiones Arithmeticae." 1801.
3. Hardy, G. H. and Wright, E. M. "An Introduction to the Theory of Numbers." Oxford University Press. 2008.
4. Knuth, Donald E. "The Art of Computer Programming, Volume 2: Seminumerical Algorithms." Addison-Wesley. 1997.
5. Rosen, Kenneth H. "Elementary Number Theory and Its Applications." Pearson. 2010.
6. Burton, David M. "Elementary Number Theory." McGraw-Hill. 2010.