How to Use the LCM Calculator: Steps and a Worked Example

By 1 min read

Find the least common multiple of two or more whole numbers. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The LCM Calculator tool is free, needs no account and runs in your browser.

What you need

  • Whole numbers separated by commas, for example 12, 18, 30

Step by step

  1. Open the LCM Calculator tool.
  2. Fill in Whole numbers separated by commas.
  3. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Whole numbers separated by commas: 12, 18, 30

the tool returns:

LCM(12, 18, 30) = 180

How it works

The calculation is: LCM(a, b) = a × b ÷ GCD(a, b). Enter two or more whole numbers separated by commas or spaces. The result is the smallest number that all of them divide into evenly.

Things to keep in mind

Computed in your browser with standard double-precision arithmetic unless the page says otherwise. Very large or very small values may be rounded.

If this is not quite what you need, try GCF Calculator, Prime Number Checker or Prime Factorization Calculator.

More from the blog