How do you find the LCM of two or more numbers?
You find the LCM by taking every prime that shows up in any of the numbers and using its highest power. Multiply those prime powers together and you have the answer.
This is the method the calculator uses, because it works the same way for two numbers or eight. Here is how to find LCM for 12, 18 and 30 by hand.
- Factor each number: 12 = 2² × 3, 18 = 2 × 3², 30 = 2 × 3 × 5.
- List every prime that appears anywhere: 2, 3 and 5.
- Pick the highest power of each: 2², 3² and 5.
- Multiply: 4 × 9 × 5 = 180.
Check it by dividing: 180 ÷ 12 = 15, 180 ÷ 18 = 10 and 180 ÷ 30 = 6. All three come out whole, so 180 is a common multiple, and the prime method guarantees it's the smallest one.
Can you find the lowest common multiple by listing multiples?
Yes. List the multiples of each number until the same value appears in every list. The first shared value is the lowest common multiple.
For 4 and 6, the multiples of 4 are 4, 8, 12, 16 and the multiples of 6 are 6, 12, 18. The first match is 12, so the LCM is 12. This is fast for small numbers and gets slow quickly for bigger ones like 12, 18 and 30, where you'd have to list fifteen multiples of 12 before reaching 180.
| Method | Best for | Drawback |
|---|---|---|
| Listing multiples | Two small numbers | Long lists for larger numbers |
| Prime factorization | Any size, three or more numbers | You need to factor each number first |
| LCM = product ÷ GCF | Exactly two numbers | Doesn't work directly for three or more |
How are the LCM and GCF related?
For two numbers, the LCM times the GCF equals the product of the two numbers. So you can get the LCM by dividing the product by the GCF.
Take 12 and 18. Their GCF is 6, and 12 × 18 = 216. Dividing gives 216 ÷ 6 = 36, which is the LCM.
The rule breaks for three numbers. For 12, 18 and 30 the GCF is 6 and the LCM is 180, but 180 × 6 = 1,080 while 12 × 18 × 30 = 6,480. That's why the calculator shows the GCF next to the LCM but computes the LCM from prime factors.
How do you use the LCM to find the least common denominator?
The least common denominator of two fractions is the LCM of their denominators. That means you can use this page as an LCD calculator: enter only the denominators.
To add 5/12 + 7/18, find the LCM of 12 and 18, which is 36. Rewrite 5/12 as 15/36 and 7/18 as 14/36. Then add the numerators to get 29/36.
You could also use 12 × 18 = 216 as the denominator, but then you'd have to reduce the answer at the end. The LCD keeps the numbers small. The fraction calculator does this whole process for you if you want to check the arithmetic.
When do you use the LCM in word problems?
Use the LCM when a question asks when two repeating things will happen together again. Buses, schedules, blinking lights and packages that come in different sizes are the usual setups.
Suppose one bus leaves a stop every 12 minutes and another every 18 minutes. They both leave at 8:00. The LCM of 12 and 18 is 36, so they leave together again at 8:36.
Packaging problems work the same way. Hot dogs come 10 to a pack and buns come 8 to a pack. The LCM of 8 and 10 is 40, so the smallest equal amount is 40 of each: 4 packs of hot dogs and 5 packs of buns.
What mistakes do people make when finding the LCM?
The most common mistake is mixing up the LCM and the GCF. The LCM is at least as big as the largest number in your list, and the GCF is at most as big as the smallest. If your LCM of 12 and 18 comes out as 6, you found the GCF.
Another slip is using the lowest power of each prime instead of the highest. For 12 = 2² × 3 and 18 = 2 × 3², taking 2 × 3 gives 6 again. You need 2² × 3² = 36.
People also multiply all the numbers and stop. The product is always a common multiple, but it's often far from the least one. For 12 and 18 the product is 216, six times the real LCM.
What is the LCM of numbers with no common factors?
If two numbers share no factor other than 1, their LCM is just their product. For example, the LCM of 7 and 9 is 63.
This follows from the two-number rule: when the GCF is 1, LCM = a × b ÷ 1. It's a quick check you can do in your head before reaching for the calculator.