Lowest common multiple

Solve lowest common multiple with your values and follow each calculation step.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
lcm(a,b) = (a/gcd(a,b)) × b

Variables & units

First positive integer
Numeric value · minimum 1, maximum 1000000
Second positive integer
Numeric value · minimum 1, maximum 1000000

Worked example

The LCM of 12 and 18 is 36.

Assumptions

Use positive whole numbers. LCM is a multiple, while HCF is a divisor.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.