LCM Calculator

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.

LCM Calculator

Find the least common multiple (LCM) of two integers.

Results

LCM

36

Formula: LCM(a, b) = |a * b| / GCD(a, b)

LCM Calculator: Least Common Multiple

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.

Formula

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.

Worked example

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.

Practical guidance

Finding common denominators

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.

Scheduling and event planning

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.

Frequently asked questions

How do I use the LCM Calculator?

Enter your values in the fields and the result updates instantly as you type.

What formula does this calculator use?

LCM(a, b) = |a * b| / GCD(a, b)

Can I use decimal values?

Yes. Decimal inputs are supported for most calculators. Integer-based tools use rounded integer values where appropriate.

Is this calculator free?

Yes. CalcuNimble calculators are free and optimized for fast everyday use.