lcmlab. A little clarity for your math.

LCM Calculator

Enter 2–20 whole numbers to find their least common multiple.

Enter 2–20 whole numbers, separated by commas or spaces.
Up to 1 billion each. Write one thousand as 1000. A comma starts a new entry.

Try one:
Your answerReady to calculate
LEAST COMMON MULTIPLE
180

LCM(12, 18, 30) = 180

The smallest positive number all three numbers divide into evenly.
GREATEST COMMON FACTOR6
THE QUICK CHECK180 ÷ 12 = 15 ✓
THE ANSWER IS JUST THE START

Here's how we got there.

Different methods. Same aha moment.

How to Use the LCM Calculator

  1. Type your numbers in the box. Separate them with a comma or a space, like 6, 8. Add a third number in the same box.
  2. Select Calculate LCM. Look under Least Common Multiple for your answer.
  3. Choose List multiples to see the times tables, or switch to the ladder, prime factors, or GCF formula to follow a different method.

What Is the Least Common Multiple?

A multiple is a number you get by multiplying a whole number by 1, 2, 3, and so on. For example, counting by fours gives 4, 8, 12, 16, 20, and 24.

Both 12 and 24 appear in the times tables of 4 and 6. The first positive number they share is 12. That makes 12 their least common multiple, or LCM.

How the LCM Formula Works

For two positive whole numbers, LCM = (first number ÷ GCF) × second number. The greatest common factor is the largest whole number that divides both evenly.

LCM of 12 and 18

Write the numbers as 2 × 6 and 3 × 6. Both contain a 6, so you only need one copy of that shared factor. The formula gives (12 ÷ 6) × 18 = 36.

Check the calculation

Worked Examples for Two and Three Numbers

What is the LCM of 6 and 8?

The first match is 24. Check it in both tables: 6 × 4 = 24 and 8 × 3 = 24.

What changes if you add 10?

Keep 24 from the first example. Its multiples already work for 6 and 8: 24, 48, 72, 96, 120. The first one ending in zero also works for 10. So LCM(24, 10) = 120, and LCM(6, 8, 10) = 120.

Try all three numbers.

Mathematical background: OpenStax, Prealgebra 2e: prime factorization and LCM.

MAKE IT CLICK

A little practice goes a long way.

Build your confidence with a fresh set of LCM questions.

GOOD QUESTIONS

Common Questions About the Calculator

Can the LCM be one of the numbers I entered?

Yes. Try 5 and 20. Since 20 is already divisible by 5, their LCM is 20. With a longer list, check whether the largest number divides evenly by every other entry.

What's the difference between LCM and GCF?

LCM is the smallest positive shared multiple. GCF is the largest positive factor shared by your numbers. GCF is also called GCD or HCF. For two positive integers, LCM × GCF equals their product.

Can I solve a question from a photo?

Choose Upload photo and select one clear printed question. If it says “Question 3: Find the LCM of 8 and 12,” confirm only 8 and 12 before calculating. Recognition runs on your device and works best with printed numbers.

Can I use this for fractions?

To find a least common denominator, enter the positive denominators of your fractions. For 1/4 and 1/6, enter 4 and 6: the LCD is 12. This tool does not calculate the LCM of fractional values.

What happens if I enter zero?

This calculator uses the convention LCM(a, 0) = 0. In this case, there is no positive common multiple. Negative numbers and decimal inputs are not supported.

Your numbers stay yours.

Calculations and image recognition run in your browser. This app does not store images, numbers, or a calculation history on a server. Recognition software and language data are downloaded from jsDelivr. Fonts load through Google Fonts. These providers receive standard connection information such as your IP address. Shared links include the numbers in the URL. Hosting may process standard access logs. No advertising or analytics scripts are installed.