LCM Calculator

Least common multiple of two integers — handy for adding fractions and syncing repeating events.

Enter your details and press Calculate to see results.

Formula

LCM(a, b) = |a × b| ÷ GCF(a, b)

Example

LCM(4, 6) = 24 ÷ 2 = 12.

Using LCM with fractions

The least common denominator when adding fractions is the LCM of the denominators. 1/4 + 1/6 becomes 3/12 + 2/12 = 5/12.

Frequently asked questions

What is the LCM of coprime numbers?

Their product: LCM(3, 5) = 15.

Can LCM be used with more than two numbers?

Yes, iteratively: LCM(a, b, c) = LCM(LCM(a, b), c).