LCM Calculator

Calculate the Least Common Multiple (LCM) of two or more numbers.

Enter the numbers separated by commas or spaces and the LCM appears automatically, updated with every keystroke.

About this tool

This calculator finds the Least Common Multiple (LCM) — the smallest positive number that is a multiple of every number entered — using the same Euclidean algorithm as the GCD, since lcm(a, b) = a ÷ gcd(a, b) × b. It accepts two or more positive integers at once.

How to use

Enter two or more positive integers into the field, separated by commas or spaces (for example "4, 6, 10"). The result is calculated automatically.

Examples

The LCM of 4 and 6 is 12. The LCM of 4, 6, and 10 is 60. The LCM of 7 and 13 (coprime numbers) is their product, 91.

Frequently asked questions

The LCM (Least Common Multiple) is the smallest positive number that is a multiple of two or more numbers at once. It is commonly used to add or compare fractions with different denominators.

At least two, with no upper limit — the calculator finds the LCM common to every number entered.

No — the calculation happens entirely in your browser; nothing is sent to the server.
LCM Calculator
LCM
0