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:
- Prime Factorization: Break each number into its prime factors, then take the highest power of every prime that appears. Multiply those together to get the LCM. This is the most widely taught method and works well for any set of numbers. If you need to work with prime factors in other contexts, our Factorial Calculator can also help you explore how numbers break down.
- Listing Multiples: Write out the multiples of each number (12, 24, 36… and 15, 30, 45…) and find the smallest value that shows up in every list. This is simple and visual, but it can get slow with large numbers.
- Cake (Ladder) Method: Write the numbers side by side and keep dividing by common prime factors, pulling each divisor out to the side. When you are done, multiply all the divisors and remaining values together.
- Division Method: Similar to the cake method, but you divide by the smallest prime that goes into at least one of the numbers, carrying forward any number that is not divisible.
- GCF Method: Uses the formula LCM(a, b) = (a × b) ÷ GCF(a, b), where GCF is the Greatest Common Factor. For more than two numbers, the calculator applies the formula in pairs, step by step. You can find the GCF of any set of numbers using our GCF Calculator.
- Venn Diagram: Place the prime factors of two numbers into a Venn diagram. Shared factors go in the overlap, and unique factors go on each side. Multiply all the factors together to get the LCM. This method works best with exactly two numbers.
Key Facts About the LCM
- The LCM of any number and 1 is always that number itself, because every whole number is a multiple of 1.
- If two numbers share no common factors other than 1 (they are coprime), then their LCM is simply their product. For example, LCM(7, 9) = 63.
- The LCM is always greater than or equal to the largest number in the set.
- There is a direct relationship between the LCM and the GCF: LCM(a, b) × GCF(a, b) = a × b. This identity is one of the most important rules in number theory involving these two concepts. You can verify both sides of this equation by using our GCF Calculator alongside this LCM Calculator.
- The LCM of more than two numbers can be found by working through them in pairs: find the LCM of the first two numbers, then find the LCM of that result with the third number, and so on.
- Understanding the LCM connects to broader concepts in number theory such as percentages, permutations, and combinations, all of which rely on a solid grasp of how numbers relate to one another.