CalculatorsConvertersDeveloperTextAll toolsDirectory
Submit your tool Sign in
Theme
Home/Answers/Math
How-to

How do I find the least common multiple of two numbers?

Short answer

The least common multiple (LCM) is the smallest number that both values divide into evenly. It equals the product of the two numbers divided by their GCD. The browser-based GCD and LCM calculator returns the LCM of two or more integers instantly, all in your browser.

What the LCM is

The least common multiple of two integers is the smallest positive number that is a multiple of both. The LCM of 4 and 6 is 12, because 12 is the first number that appears in both times tables. The LCM is what you use to find a common denominator when adding fractions with different denominators.

The relationship with the GCD

There is a neat shortcut: the LCM of two numbers equals their product divided by their greatest common divisor. So for 4 and 6, the product is 24 and the GCD is 2, giving an LCM of 12. The calculator uses this relationship, works for more than two integers, and does everything in your browser so your data stays private.

Step by step

  1. Open the calculator. Open the GCD and LCM calculator in your browser.
  2. Enter your integers. Type two or more whole numbers.
  3. Read the LCM. The least common multiple appears instantly.

Frequently asked questions

How is the LCM related to the GCD?

The LCM equals the product of the two numbers divided by their GCD.

Why is the LCM useful?

It gives the common denominator you need to add or compare fractions with different denominators.

Is my data private?

Yes. The calculation runs in your browser with nothing sent to a server.

Related answers