Math & Everyday Calculators

LCM Calculator

Use LCM Calculator free in your browser. No account required; your input is processed locally in your browser.

Runs locallyYour inputs stay in your browser.
Workspace
Result
—
HOW IT IS CALCULATED

Find the least common multiple

Find the smallest positive number that is a multiple of both input integers.

Instant resultClear formulaRuns locally
01Values
02|a × b| ÷ GCD(a,b)
03Result

LCM(12,18) = 36

GOOD TO KNOW

GCD and LCM are closely connected

For non-zero integers, their product relates directly to the product of their GCD and LCM.

02

In short

What logic does the calculator use?

|a × b| ÷ GCD(a,b)

Example?

LCM(12,18) = 36