Find the LCM (Least Common Multiple) of two or more numbers instantly. Calculate the smallest number divisible by all inputs using prime factorization or listing multiples. Free online LCM calculator with step-by-step methods and real-world examples.
Please provide numbers separated by a comma "," and click the "Calculate" button to find the LCM.
In mathematics, the least common multiple, also known as the lowest common multiple of two (or more) integers a and b, is the smallest positive integer that is divisible by both. It is commonly denoted as LCM(a, b).
What's the LCM of 4 and 6?
The smallest number that appears in both lists is 12. So the LCM of 4 and 6 is 12. Simple, right?
Here's where most math lessons fail - they never tell you why you need this stuff. So let me give you some real situations where LCM saves the day.
Remember trying to add 1/4 + 1/6? You can't just add the top numbers because the bottoms are different. That's where LCM comes in. The LCM of 4 and 6 is 12, so you convert both fractions to twelfths. 1/4 becomes 3/12, 1/6 becomes 2/12, and now you can add them to get 5/12.
Without LCM, adding fractions would be a nightmare. With it, it's a piece of cake.
Let's say you have two friends. One visits every 4 days, the other every 6 days. When's the next time they'll both visit on the same day? That's right - the LCM of 4 and 6, which is 12 days from now.
This works for bus schedules, work shifts, or any repeating event.
You're making cookies that need 1/3 cup of sugar and 1/4 cup of butter. You want to double the recipe but keep the proportions right. The LCM of 3 and 4 is 12, so you know you need to work with twelfths to scale everything evenly.
There's more than one way to find the LCM. Here are the most common methods, from easiest to most advanced.
This is what we did above. Just list out the multiples of each number until you find a match. It works great for small numbers but gets tedious with big ones.
Example: Find LCM of 8 and 12
LCM = 24
This method works for any size numbers. Break each number down into its prime factors, then take the highest power of each prime.
Example: Find LCM of 12 and 18
LCM = 36
Here's a trick I learned - write the prime factors in a table. It makes it way easier to see which ones you need.
Did you know there's a formula connecting LCM and GCF? It's true!
LCM(a, b) = (a × b) ÷ GCF(a, b)
So if you know the Greatest Common Factor, you can find the LCM in one step. For 12 and 18, the GCF is 6. So LCM = (12 × 18) ÷ 6 = 216 ÷ 6 = 36.
This is super handy when you're dealing with larger numbers.
This is where things get interesting. The same methods work, but you need to be more careful.
Example: Find LCM of 4, 6, and 8
Using prime factorization:
LCM = 24
Check: 24 ÷ 4 = 6, 24 ÷ 6 = 4, 24 ÷ 8 = 3. It works!
I've seen students make the same mistakes over and over. Here's what to watch out for.
This is the most common one. Remember: LCM is the smallest number that both numbers divide into. GCF is the largest number that divides both numbers. They're opposites in a way.
Quick tip: LCM is always bigger than or equal to the largest number. GCF is always smaller than or equal to the smallest number.
When finding LCM of three numbers, people sometimes forget to check if the answer works for all of them. Always test your answer with each number.
Listing multiples works for small numbers, but for something like LCM of 144 and 240, you'll be there all day. Use prime factorization or the GCF formula instead.
Here's some stuff most people don't know about LCM.
For really big numbers, use the GCF formula. First find the GCF using the Euclidean algorithm (keep subtracting the smaller from the larger until you get 0), then use the formula.
Example: Find LCM of 144 and 240
You can find LCM of multiple numbers step by step. Find LCM of the first two, then find LCM of that result with the next number, and so on.
Example: Find LCM of 4, 6, and 8
Same answer, different approach.
Technically, the LCM of any number and 0 is 0. But in practice, we usually only find LCM of positive numbers. If your calculator shows 0, check if you accidentally included 0 in your input.
Here's how LCM compares to other math ideas you might be learning.
LCD stands for Least Common Denominator. It's the same thing as LCM, but we call it LCD when we're talking about fractions. The LCD of 1/4 and 1/6 is 12 - same as the LCM of 4 and 6.
Did you know that ancient mathematicians used LCM for calendar calculations? The Chinese Remainder Theorem, which uses LCM, was developed over 2000 years ago to figure out when certain astronomical events would happen.
Also, LCM shows up in music theory. When you're figuring out chord progressions and time signatures, you're basically finding LCMs without realizing it.
Using our calculator is super simple:
You can find LCM of 2, 3, or even more numbers at once. The calculator handles it all.
If you're studying for a test, here's what I'd focus on:
And remember - everyone struggles with LCM at first. It's totally normal. The key is practice and understanding why it works, not just memorizing steps.
LCM (Least Common Multiple) is the smallest number that both numbers divide into evenly. GCF (Greatest Common Factor) is the largest number that divides both numbers evenly. For 12 and 18, the LCM is 36 and the GCF is 6. A quick way to remember: LCM is for finding common multiples (like for adding fractions), while GCF is for simplifying fractions.
You can find the LCM of three numbers by first finding the LCM of any two, then finding the LCM of that result with the third number. For example, to find LCM of 4, 6, and 8: first find LCM(4,6)=12, then find LCM(12,8)=24. You can also use prime factorization and take the highest power of each prime from all three numbers.
When adding or subtracting fractions with different denominators, you need a common denominator. The LCM of the denominators gives you the smallest possible common denominator, which makes your calculations easier and your answers simpler. For example, to add 1/4 + 1/6, the LCM of 4 and 6 is 12, so you convert to twelfths.
No, the LCM is always greater than or equal to the largest number you started with. For example, the LCM of 4 and 6 is 12, which is bigger than both 4 and 6. The only exception is if one number is a multiple of the other - then the LCM is the larger number itself.
For large numbers, use the formula LCM(a,b) = (a × b) ÷ GCF(a,b). First find the GCF using the Euclidean algorithm (repeatedly subtract the smaller from the larger until you get 0), then plug it into the formula. This is much faster than listing multiples or prime factorization for big numbers.
For a test, use prime factorization if the numbers are small to medium. Write each number as a product of primes, then take the highest power of each prime. For example, for 12 and 18: 12=2²×3, 18=2×3², so LCM=2²×3²=36. Practice this method until you can do it in your head for simple numbers.
Yes, LCM and LCD (Least Common Denominator) are the same thing mathematically. The only difference is what we call it based on context. When we're talking about fractions, we call it the Least Common Denominator. When we're talking about numbers in general, we call it the Least Common Multiple.