Least Common Multiple

Least common multiple of two whole numbers.

Signs are ignored. 0 and another number give a multiple of 0. Both zeros have no result.

Enter two whole numbers.

How the least common multiple is calculated

Enter two whole numbers. The result is their least common multiple: the smallest whole number, greater than 0, that both divide, after the signs are ignored.

When neither number is 0, the multiple is the product of the absolute values divided by the greatest common factor. When one number is 0, the multiple is 0. The row below is the greatest common factor. Both zeros have no result.

How to use this calculator

  1. Enter the first whole number.
  2. Enter the second whole number.
  3. Read the multiple. The row below is the greatest common factor.

Least common multiple

m is the least common multiple. a and b are the numbers. d is their greatest common factor after the signs are ignored.

Product divided by the greatest common factor
m=|a|·|b|d

This formula is for two numbers that are not 0. If one number is 0, m is 0 and d is the other number.

Source

The least common multiple of two integers is defined on the Wikipedia page on the least common multiple.

Worked examples

Example: 4 and 6

The greatest common factor is 2. The multiple is 4 × 6 / 2 = 12.

Example: 7 and 13

The greatest common factor is 1. The multiple is 7 × 13 / 1 = 91.

What to keep in mind

Each number can be a whole number from −1,000,000 to 1,000,000. −4 and 6 have the same multiple as 4 and 6, which is 12. 0 and 12 have multiple 0 and greatest common factor 12. Completed results, including both numbers, can be stored in this browser’s local history and never leave your device. Clear them with the history Clear action or by clearing site data.

Common questions about the least common multiple

What is the least common multiple of 4 and 6?

12. The greatest common factor is 2, and 4 × 6 / 2 = 12.

What is the least common multiple of 7 and 13?

91. The greatest common factor is 1, so the multiple is the product 7 × 13.

What about 0?

0 and 12 have multiple 0 and greatest common factor 12. 0 and 0 have no result.

Do signs matter?

No. −4 and 6 have multiple 12, the same as 4 and 6.

What counts as a whole number?

An integer from −1,000,000 to 1,000,000. A decimal such as 1.5 has no result.

Does this calculator store my numbers?

Completed results can be saved in this browser’s local history, including both numbers. They stay on your device and are not sent to our servers or to analytics. Clear them with the history Clear action or by clearing site data.