Find a common denominator
Use the LCM when rewriting fractions like 3/4 and 5/6 with the same denominator before combining them.
LCM(4, 6) = 12
You can rewrite the fractions as 9/12 and 10/12.
Use this calculator to find the least common multiple (LCM) of two or more numbers. Get step-by-step solutions and understand how LCM is calculated.
Enter two or more numbers separated by commas, then click Calculate to find their least common multiple (LCM).
The Least Common Multiple (LCM) of two or more numbers is the smallest positive number that is divisible by all of them without a remainder.
For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 can divide into evenly.
This method involves finding the prime factorization of each number, then multiplying the highest power of each prime factor that appears in any of the numbers.
Example: To find LCM(12, 18) 1. Prime factorization: 12 = 2² × 3, 18 = 2 × 3² 2. Take the highest power of each prime factor: 2² and 3² 3. Multiply them: 2² × 3² = 4 × 9 = 36 Therefore, LCM(12, 18) = 36
The LCM can also be calculated using the relationship between LCM and GCD (Greatest Common Divisor):
LCM(a, b) = (a × b) ÷ GCD(a, b)
Example: To find LCM(12, 18) 1. Find GCD(12, 18) = 6 2. Calculate: (12 × 18) ÷ 6 = 216 ÷ 6 = 36 Therefore, LCM(12, 18) = 36
Use whole numbers only. If you need to compare denominators before adding or subtracting fractions, the LCM shown here can also serve as the least common denominator.
Use the LCM when rewriting fractions like 3/4 and 5/6 with the same denominator before combining them.
LCM(4, 6) = 12
You can rewrite the fractions as 9/12 and 10/12.
The LCM helps identify when recurring events line up again, such as alarms every 8 minutes and 12 minutes.
LCM(8, 12) = 24
The two events happen together every 24 minutes.
You can enter more than two numbers to find the first shared multiple across several quantities.
LCM(12, 18, 30) = 180
180 is the smallest positive number divisible by all three.
The least common multiple is the smallest positive number shared by all inputs, while the greatest common divisor is the largest number that divides each input exactly.
Yes. Enter multiple positive integers separated by commas and the calculator will evaluate them together to find one common multiple.
When fractions have different denominators, the LCM gives you the smallest common denominator, which keeps the rewritten fractions simpler.
This calculator accepts positive integers because LCM is typically expressed as the smallest positive common multiple.