LCM Calculator (Least Common Multiple)
Find the least common multiple of two or more numbers. Includes step-by-step calculation and prime factorizations.
Least Common Multiple Examples
| Numbers | LCM Prime Factors | LCM |
|---|---|---|
| 4, 6 | 2² × 3 | 12 |
| 8, 12 | 2³ × 3 | 24 |
| 3, 4, 5 | 2² × 3 × 5 | 60 |
| 9, 12 | 2² × 3² | 36 |
| 7, 8, 9 | 2³ × 3² × 7 | 504 |
Frequently Asked Questions about the LCM Calculator (Least Common Multiple)
What is the least common multiple (LCM)?
The LCM is the smallest positive integer that is evenly divisible by every number in a set. For 4 and 6, the LCM is 12 - the first multiple that both 4 and 6 divide into with no remainder.
How do I find the LCM by hand?
Two reliable methods: list multiples of each number until you find the first one they share, or use prime factorization. With prime factorization, write each number as a product of prime powers, then multiply the highest power of each prime that appears across all inputs. For example, 4 = 2^2 and 6 = 2 x 3, so LCM = 2^2 x 3 = 12.
What is the LCM of 4 and 6?
12. Multiples of 4: 4, 8, 12 ... Multiples of 6: 6, 12 ... The first shared value is 12. You can verify: 12 / 4 = 3 and 12 / 6 = 2, both whole numbers.
How is LCM related to GCF?
For any two positive integers a and b: LCM(a, b) x GCF(a, b) = a x b. So if you know the GCF you can find the LCM with a single division, and vice versa. For 4 and 6: GCF = 2, so LCM = (4 x 6) / 2 = 12.
Why do I need LCM?
LCM is most commonly used to find a common denominator when adding or subtracting fractions with different denominators. It also appears in scheduling problems - if two events repeat every 4 days and every 6 days, they next coincide in 12 days - and in number theory and cryptography.
Can I find the LCM of more than two numbers?
Yes. The calculator reduces pairwise: LCM(a, b, c) = LCM(LCM(a, b), c). Enter as many integers as you need, separated by commas or spaces, and the result updates automatically.
What is the LCM of 0 and any number?
LCM(0, n) = 0 for any nonzero integer n, and LCM(0, 0) is commonly defined as 0. This calculator follows that convention: if any entered value is zero, the pairwise reduction returns 0. It requires at least two valid integer inputs.
Related Calculators
More calculators in "Math"
Square Root CalculatorFraction CalculatorQuadratic Formula CalculatorScientific CalculatorAverage Calculator (Mean, Median, Mode)Logarithm Calculator
See all 202 calculators in "Math"