Skip to content · 跳到主要内容

LCM Calculator

Find the least common multiple of two or more positive integers exactly

Least common multiple
--
--
Input integers
--
Pairwise GCF steps

Least common multiple of a list of integers

Enter two or more positive integers separated by commas. The calculator combines them pairwise using the relationship between least common multiples and greatest common factors.

lcm(a, b) = |a × b| ÷ gcd(a, b)
lcm(a, b, c) = lcm(lcm(a, b), c)

Frequently Asked Questions

Can I enter more than two values?

Yes. Enter up to 20 positive integers separated by commas, spaces or semicolons.

Can zero be included?

No. This calculator is defined for positive, nonzero integers.

Can the result exceed the safe integer range?

Yes. The result uses exact BigInt arithmetic and is displayed as a full integer.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision