Part of the Maths & Statistics suite · 235 calculators

LCM Calculator (Least Common Multiple)

The least common multiple of two or more whole numbers — the smallest number they all divide into.

The least common multiple is the first number that appears in every input's times table.

Two or more, comma-separated
Results update as you type
Results
Least common multiple
180
Numbers entered
Coprime?
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows the national curriculum (maths, brackets, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About lcm calculator (least common multiple)

How the lcm calculator (least common multiple) works

The least common multiple is the first number that appears in every input's times table. For two numbers it is their product divided by their greatest common factor, which is why numbers sharing no factors have an LCM equal to simply multiplying them. It is what gives you the common denominator when adding fractions, and it answers "when do these two cycles line up again?".

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

Worked examples

InputsLeast common multipleNote
LCM of 4 and 61212
LCM of 12, 18 and 30180180
LCM of 7 and 96363 — coprime, so just the product

Frequently asked questions

What is the least common multiple?

The smallest number that all your numbers divide into exactly. For 4 and 6 it is 12.

How do I find it from the GCF?

For two numbers, LCM = a × b ÷ GCF. For 4 and 6: 24 ÷ 2 = 12.

Why do I need it for fractions?

It gives the lowest common denominator, so 1/4 + 1/6 becomes 3/12 + 2/12 = 5/12.

What if the numbers are coprime?

The LCM is just their product, because they share no factors to cancel.

Where else does it come up?

Anywhere repeating cycles must align — gear teeth meeting again, timetables coinciding, or two flashing lights synchronising.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.