Menu
calculator

Least Common Multiple Calculator

Find the smallest nonnegative common multiple of two integers.

Least Common Multiple Calculator

Your result36

LCM = a ÷ GCD(a,b) × b

Find the smallest nonnegative common multiple of two integers.

Formula

LCM = a ÷ GCD(a,b) × b

Worked example

First nonnegative integer: 12

Second nonnegative integer: 18

With these inputs, the result is **36 **.

How to use this calculator

  1. Identify the quantity you want to calculate.
  2. Enter your measurements in the units shown on each field.
  3. Read the result, which updates as you change the inputs.
  4. Check the assumptions below before applying the result.

Assumptions and limits

If either input is zero, the result is zero by the convention used here.

Precision and checking

Results are rounded for display. Use the most accurate measurements available, and avoid rounding your inputs unnecessarily. Extra decimal places in a result do not make an estimate more reliable.

To check a result, substitute the same input values into the formula shown above. Change one value at a time to understand how the quantity responds.

Frequently asked questions

What assumptions does this calculation use?

If either input is zero, the result is zero by the convention used here.

Are my inputs sent to a server?

No. The calculation runs locally in your browser. The result updates as you edit the inputs.

Keep exploring

Topic hub
More tools and guidance

Find the next calculation
you need.

Browse calculatorsFind your industry
Cobalt ribbon, chrome ring and orange sphere in architectural light

Search AskToBot

Start typing to find a calculator or conversion.