Least Common Multiple Calculator
Calculate the least common multiple (LCM) of multiple numbers with this free online calculator. Enter comma-separated numbers to find their LCM.
About Least Common Multiple (LCM)
The least common multiple (LCM) of two or more numbers is the smallest positive number that is divisible by all of them without a remainder. It's a fundamental concept in mathematics with applications in fractions, ratios, and various real-world scenarios.
How to Calculate LCM
There are several methods to calculate the LCM:
Method 1: Using Prime Factorization
- Find the prime factorization of each number.
- Take each prime factor to the highest power it appears in any of the factorizations.
- Multiply these prime factors together.
12 = 2² × 3
18 = 2 × 3²
LCM = 2² × 3² = 4 × 9 = 36
Method 2: Using GCD (Greatest Common Divisor)
The LCM can be calculated using the formula:
For example, LCM(12, 18) = (12 × 18) ÷ GCD(12, 18) = 216 ÷ 6 = 36
Properties of LCM
- LCM(a, b) ≥ max(a, b)
- LCM(a, b) = a × b ÷ GCD(a, b)
- If a divides b, then LCM(a, b) = b
- LCM(a, b, c) = LCM(LCM(a, b), c)
Applications of LCM
Field | Application |
---|---|
Mathematics | Adding and subtracting fractions with different denominators |
Computer Science | Scheduling algorithms, memory allocation |
Engineering | Gear ratios, timing circuits |
Everyday Life | Finding when events with different periods will coincide |
Example Problems
Example 1: Find the LCM of 8, 12, and 20.
12 = 2² × 3
20 = 2² × 5
LCM = 2³ × 3 × 5 = 8 × 3 × 5 = 120
Example 2: Two buses run on the same route. One completes a round trip every 30 minutes, and the other every 45 minutes. If they both start at the same time, after how many minutes will they meet again at the starting point?
They will meet again after 90 minutes.