LCM Calculator
Find the Least Common Multiple of 2 to 5 numbers using prime factorization with a full step-by-step breakdown.
Enter 2 to 5 positive integers.
LCM Formula
Worked Example
LCM(12, 18, 30)
Frequently Asked Questions
The LCM of two or more integers is the smallest positive integer divisible by all of them. It is used to add fractions, find common denominators, and solve problems involving repeating cycles.
The GCF (Greatest Common Factor) is the largest number that divides all given numbers. The LCM is the smallest number that all given numbers divide into. For 12 and 18: GCF = 6, LCM = 36.
Factor each number into primes. For each unique prime, take the highest exponent that appears across all numbers. Multiply those prime powers together to get the LCM.
For two numbers a and b: LCM(a,b) × GCF(a,b) = a × b. This identity lets you find one if you know the other.
LCM is used when adding fractions (finding common denominators), scheduling repeating events that align simultaneously (e.g., two buses with different intervals), and in music theory for rhythm patterns.
Related Calculators
GCF Calculator
Calculate the Greatest Common Factor (GCF/GCD) of two or more numbers.
Factor Calculator
Find all factors and prime factors of any positive integer.
Prime Number Calculator
Check if a number is prime and find prime numbers up to any limit.