Least Common Multiple Calculator

Find the LCM of two numbers with the GCF identity and multiple sequences.

The formula behind it

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

The LCM is the smallest number both inputs divide. Dividing a×b by the shared factor removes the overlap counted twice — exactly the common denominator needed when adding fractions.

How to use this calculator

  1. 1

    Enter two positive whole numbers.

  2. 2

    Press Calculate.

  3. 3

    Watch the multiple sequences meet at the LCM.

Worked examples

Common denominator

1/4 + 1/6: LCM(4,6) = 12 → 3/12 + 2/12 = 5/12.

Rescheduling

Buses every 12 and 18 minutes coincide every LCM = 36 minutes.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...