← Math Calculators

LCM Calculator

Use this free lcm calculator to find the least common multiple of two numbers. Enter both numbers to get the smallest number they both divide into evenly, worked out from the greatest common factor. The LCM is also the common denominator you need when adding fractions together.

How it works

The least common multiple (LCM) is the smallest number that both of two numbers divide into evenly. One way to find it is to list the multiples of each number until a match appears, but a faster way uses the greatest common factor: LCM = (first number × second number) / GCF. For 12 and 18, the GCF is 6, so the LCM is (12 × 18) / 6 = 36.

If the two numbers share no factor other than 1, the LCM is simply their product: the LCM of 7 and 5 is 35. And if one number divides the other evenly, the LCM is the larger number itself, as with 4 and 8, whose LCM is 8.

The LCM is the number you need when adding fractions with different denominators — the common denominator is the LCM of the two denominators. It also answers scheduling questions, like when two repeating events that happen every 12 and 18 days will next fall on the same day: after 36 days.

Example: The least common multiple of 7 and 5 is 35, since they share no factor other than 1 and 7 × 5 = 35.

Frequently asked questions

How do I find the LCM of two numbers?

Enter both numbers and the calculator finds the smallest number that both divide into evenly, using the formula LCM equals the product of the numbers divided by their GCF.

What is the LCM used for?

The LCM gives the common denominator when adding fractions with different denominators. It also tells you when two repeating events will next fall on the same day.

More Math Calculators

← Back to all calculators