Least Common Multiple Calculator (LCM)
Works out the least common multiple of up to 100 numbers in exact whole-number arithmetic, however large the answer gets, shown in full, never rounded or written in scientific notation. Handles decimals and negatives, shows the greatest common divisor alongside, and proves each answer by dividing it by every number you gave.
Least common multiple
Type two or more numbers, separated by commas or spaces. Decimals and negatives are fine.
—
Divides exactly by every one
A common multiple has to divide exactly by each number you gave. Here is that division, done every time.
| Your number | Divides the answer | Remainder |
|---|
—
By prime factors
Break each number into primes, then take the highest power of each prime that appears anywhere. Highest powers are shaded.
—
By the ladder
Divide the whole row by a prime that goes into at least one of them, carrying the rest down. The answer is every divisor multiplied by what is left.
—
By listing multiples
The slow way, and the one that shows what the answer means: count up in each number until they land on the same value.
—
The greatest common divisor, and the shortcut
—
—
—
Every answer here is worked out in exact whole-number arithmetic, at any size, and is shown in full rather than rounded or written in scientific notation.
Decimals are handled by scaling every number by the same power of ten, taking the whole-number answer, then scaling back. Negatives use the size of the number, since a multiple of −4 is a multiple of 4.