š LCM Calculator
The least common multiple is the smallest number both integers divide into evenly ā essential for adding fractions with different denominators or syncing repeating schedules. The shortcut: LCM(a,b) = |aĆb| / GCD(a,b).
Enter two integers. The calculator finds their greatest common divisor with Euclid's algorithm, then the LCM, so you see both useful numbers at once.
How to use this calculator
Type two integers and press Calculate to get their least common multiple.
- Type the first integer into the First integer field.
- Type the second integer into the Second integer field.
- Press Calculate and read the LCM as the headline result.
- Check the GCD shown underneath; the calculator uses it to find the LCM.
Frequently asked questions
What is the least common multiple?
The smallest positive number that both integers divide into evenly. The LCM of 4 and 6 is 12, because 12 is the first number appearing in both multiplication tables.
How is the LCM calculated?
With the formula LCM(a,b) = |a x b| / GCD(a,b). The calculator finds the greatest common divisor with Euclid's algorithm first, then applies the formula.
Can you show a worked example?
For 12 and 18: their GCD is 6, so the LCM is (12 x 18) / 6 = 216 / 6 = 36.
Where is the LCM used?
Adding fractions with different denominators, syncing repeating schedules or cycles, and any problem asking when two periodic events coincide.