A familiar situation
Find when two repeating schedules next line up by calculating their least common multiple.
How to use this calculator
- Enter first integer, second integer.
- Select Calculate to see the answer and its breakdown.
- Keep a scenario, change an input and compare the results.
Use consistent units and check the assumptions below before applying the result.
How least common multiple is calculated
For positive integers a and b, lcm(a,b)=a×b/gcd(a,b). Euclid’s algorithm finds the greatest common divisor efficiently. The least common multiple of 12 and 18 is 36, the first positive multiple shared by both.
lcm(a,b)=|a×b|/gcd(a,b).The least common multiple of 12 and 18 is 36, the first positive multiple shared by both.
Assumptions & useful context
The result depends on the values you enter and the method described above. Displayed numbers may be rounded; calculations use the unrounded values. Check that this model matches your situation before relying on it.
Frequently asked questions
Can negative integers be entered?
The calculator accepts nonzero integers and uses their absolute values.
What is the LCM of identical integers?
Their absolute value.