Least Common Multiple Calculator

Find the least common multiple (LCM) of two whole numbers.

  • Free to use
  • Accurate results
  • No registration required
  • Works on all devices
Enter two whole numbers to find their least common multiple.

Your result

12

Least common multiple

Greatest common factor2

AI explanation

Formula

LCM = (a × b) ÷ GCF(a, b), found via the Euclidean algorithm

Worked example

LCM of 4 and 6

Worked example: LCM of 4 and 6
FieldValue
First number4
Second number6
Least common multiple12
Greatest common factor2

Assumptions

  • Inputs are capped at 1,000,000 so the result stays well within safe integer precision.

Frequently asked questions

What is the least common multiple?

The smallest positive number that both input numbers divide into evenly.

Is this the same as the LCM Calculator?

Yes — same calculation, offered here under the full "least common multiple" search term.

How is LCM related to GCF?

LCM × GCF = the product of the two numbers — so once you know the GCF, LCM = (a × b) ÷ GCF.

Related calculators

Report a calculation issue