Math · FREE ONLINE TOOL

Least Common Multiple Calculator

Find the least common multiple of whole numbers and use it to identify a shared repeating interval or denominator.

Your inputs

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Least common multiple
72
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

A useful distinction

Repeating schedules also need matching starts

Events every 6 and 8 days align every 24 days if they start together. If their starting dates differ, the LCM alone does not identify the next meeting date; the offsets must also be considered.

When to use the least common multiple

The least common multiple is useful when you need the smallest positive quantity that is a multiple of every entered whole number. It differs from a greatest common factor, which looks for a shared divisor. For fraction problems, an LCM can help identify a common denominator. Check that inputs represent whole-number quantities before applying the result to a repeating schedule or grouping problem.

Whole numbers: formula and assumptions

gcd(a,b) = gcd(b, a mod b); lcm(a,b) = |a × b| / gcd(a,b).

The Euclidean algorithm finds the greatest common divisor. Factor lists contain positive factors.

Worked example

Using the Whole numbers example:

Inputs
Whole numbers
12, 18, 24
Method

gcd(a,b) = gcd(b, a mod b); lcm(a,b) = |a × b| / gcd(a,b).

Result

Example result

Least common multiple: 72

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

How does the least common multiple differ from the greatest common factor?

The LCM is a shared multiple of the numbers. The GCF is a number that divides all of them.

What is the LCM of 6 and 8?

It is 24: the smallest positive integer divisible by both 6 and 8.

Prepared by Finflo. See our methodology and editorial policy.