Updated on April 18th, 2026

LCM Calculator

Created By Jehan Wadia

Separate numbers with commas, spaces, or line breaks. Max 200 characters.

Introduction

The LCM Calculator finds the least common multiple of two or more numbers instantly. The least common multiple (LCM) is the smallest number that all your given numbers divide into evenly. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 go into without a remainder.

Finding the LCM is useful in many everyday math tasks, such as adding fractions with different denominators, solving scheduling problems, and working with repeating patterns. Instead of doing the work by hand, this tool does it for you in seconds.

Simply type in your numbers, pick a solution method, and press Calculate. The calculator supports six different methods — Prime Factorization, Listing Multiples, Cake/Ladder, Division, GCF, and Venn Diagram — so you can see full step-by-step solutions in the style that makes the most sense to you. Whether you're checking homework, studying for a test, or just need a quick answer, this LCM calculator has you covered.

How to Use Our LCM Calculator

Enter two or more whole numbers into this calculator to find their Least Common Multiple (LCM). The tool will show you the answer along with a full step-by-step solution using your chosen method.

Enter Numbers: Type the numbers you want to find the LCM of into the text box. You can separate each number with a comma, a space, or by placing each one on its own line. You need at least two positive whole numbers, and each number must be 1,000,000 or less.

Preferred Solution Method: Pick how you want the calculator to solve the problem. You can choose from six methods: Prime Factorization, Listing Multiples, Cake/Ladder Method, Division Method, GCF Method, or Venn Diagram. Your chosen method will show up first in the results, but you can click through the tabs to see all six methods at once.

Calculate: Click the "Calculate" button to find the LCM. The result will appear in a large display box at the top, and the detailed step-by-step work will appear below in tabbed sections. You can click "Copy Result" to copy just the LCM number to your clipboard.

Clear: Click the "Clear" button to erase all inputs and results so you can start a new calculation from scratch.

What Is the Least Common Multiple (LCM)?

The Least Common Multiple (LCM) of two or more numbers is the smallest number that all of them divide into evenly. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 can divide into with no remainder. You might also hear it called the lowest common multiple or smallest common multiple — they all mean the same thing.

Why Is the LCM Useful?

The LCM shows up in everyday math more often than you might think. It is essential when you need to add or subtract fractions with different denominators — you find the LCM of the denominators to get the least common denominator. It also helps solve problems about repeating events. For instance, if one bus comes every 12 minutes and another comes every 15 minutes, the LCM (60) tells you how many minutes until both buses arrive at the same time again.

Methods for Finding the LCM

There are several ways to find the LCM. This calculator supports six of them:

Key Facts About the LCM


Frequently Asked Questions

What is the LCM of two numbers that share no common factors?

When two numbers share no common factors other than 1, they are called coprime. Their LCM is simply the two numbers multiplied together. For example, 5 and 8 share no common factors, so LCM(5, 8) = 5 × 8 = 40.

Can I find the LCM of more than two numbers at once?

Yes. This calculator lets you enter as many numbers as you want, as long as there are at least two. Just separate them with commas, spaces, or line breaks. The tool will find the LCM of all the numbers together and show you the full steps.

What is the largest number I can enter?

Each number you enter must be 1,000,000 or less. All numbers must also be positive whole numbers. If you type a number that is too large, a decimal, or a negative number, the calculator will show an error message.

What is the difference between LCM and GCF?

The LCM (Least Common Multiple) is the smallest number that all your numbers divide into evenly. The GCF (Greatest Common Factor) is the largest number that divides evenly into all your numbers. They are related by this formula: LCM(a, b) × GCF(a, b) = a × b.

Which solution method should I pick?

It depends on what works best for you. Prime Factorization is the most common method taught in schools. Listing Multiples is the easiest to understand for small numbers. The GCF Method is fast if you already know the GCF. The Venn Diagram is great for visual learners working with two numbers. Try each tab to see which one makes the most sense to you.

Can the LCM ever be one of the numbers I entered?

Yes. If one number is a multiple of the other, the LCM is the larger number. For example, LCM(4, 12) = 12, because 12 is already a multiple of 4.

How do I use the LCM to add fractions?

To add fractions with different denominators, find the LCM of the denominators. This gives you the least common denominator. Then rewrite each fraction with that denominator and add the numerators. For example, to add 1/4 + 1/6, the LCM of 4 and 6 is 12. So 1/4 = 3/12 and 1/6 = 2/12, and the sum is 5/12.

What happens if I enter the same number twice?

The LCM of a number with itself is just that number. For example, LCM(8, 8) = 8. The calculator will still show you the full steps.

Does the order of the numbers matter?

No. The LCM is the same no matter what order you type the numbers in. LCM(12, 15) is the same as LCM(15, 12). Both equal 60.

What is the LCM of a number and 0?

The LCM is not defined when one of the numbers is 0, because 0 has no positive multiples. This calculator requires all numbers to be positive whole numbers (1 or greater), so entering 0 will give you an error.

Why does the Listing Multiples method not show all multiples?

For large numbers, the list of multiples can be very long. The calculator shows up to the first 15 multiples of each number, then uses "..." to skip ahead to the LCM. This keeps the display clean and easy to read while still showing you the answer.

Can I copy the result to use somewhere else?

Yes. After you calculate the LCM, click the Copy Result button inside the purple result box. This copies just the number to your clipboard so you can paste it into a document, spreadsheet, or another tool.


Related Calculators

GCF Calculator

Visit GCF Calculator

Prime Factorization Calculator

Visit Prime Factorization Calculator