How do I use the LCM Calculator?
Enter your values in the fields and the result updates instantly as you type.
Find the least common multiple (LCM) of two integers. Enter your values, review the formula, and use the worked result as a quick check for everyday planning.
Find the least common multiple (LCM) of two integers.
Results
LCM
36
Formula: LCM(a, b) = |a * b| / GCD(a, b)
Find the least common multiple of two integers — the smallest positive number that is a multiple of both. Used for finding common denominators, scheduling problems, and synchronizing repeating events.
LCM(a, b) = |a × b| ÷ GCD(a, b). The calculator first finds the GCD using the Euclidean algorithm, then divides the product of the two numbers by their GCD.
LCM of 12 and 18: GCD = 6. LCM = (12 × 18) ÷ 6 = 216 ÷ 6 = 36. Check: 36 is divisible by both 12 (3×) and 18 (2×), and no smaller positive number is.
To add 1/12 + 1/18, find a common denominator: LCM(12, 18) = 36. Rewrite as 3/36 + 2/36 = 5/36. The LCM gives the least common denominator, which keeps numbers small.
If event A happens every 12 days and event B every 18 days, they coincide every LCM(12, 18) = 36 days. Use this for planning meetings, maintenance schedules, or any situation with periodic events.
Enter your values in the fields and the result updates instantly as you type.
LCM(a, b) = |a * b| / GCD(a, b)
Yes. Decimal inputs are supported for most calculators. Integer-based tools use rounded integer values where appropriate.
Yes. CalcuNimble calculators are free and optimized for fast everyday use.