CalcToolsKitSimple tools. Clear answers.
MATH

Least Common Multiple Calculator

Free · No sign-up

Find an exact common multiple of a list of integers.

Your inputs

Example values are shown. Edit them for your calculation.

Inputs stay in this page. No account needed.

Your result

MATH

Enter your values and select calculate.

On this page How it works & practical examples

How to use the Least Common Multiple Calculator

A common multiple can be divided by every number in the list without a remainder. The least common multiple finds the smallest such positive value when all inputs are non-zero. It is useful for repeated-cycle alignment and common denominators. The implementation uses exact integer arithmetic, so large answers are not truncated to a floating-point integer.

The calculation

lcm(a,b) = |a × b| / gcd(a,b), extended across the list

Worked example

The least common multiple of 12, 18 and 24 is 72. Both 4 and 6 divide 12, so their least common multiple is 12.

Assumptions and limits

Input integers are limited to one billion in magnitude and 1,000 entries. A result exceeding 500 decimal digits is rejected to keep the output manageable. Signs are ignored. By this tool’s stated convention, a list containing zero returns zero; it does not claim that zero is a smallest positive common multiple.

Common questions

Why is the result displayed as a long exact integer?

JavaScript’s arbitrary-precision integer arithmetic preserves whole-number digits beyond the ordinary floating-point exact-integer range.

What happens with zero?

The result is zero under the convention used by this calculator, and the result note states that convention.

AboutContactPrivacy PolicyTermsDisclaimerAll calculatorsSitemap