LCM Calculator
Calculate the Least Common Multiple using multiple methods with step-by-step solutions
Separate numbers with commas or spaces
Least Common Multiple
LCM / SCM
Greatest Common Divisor
GCD / HCF
LCM × GCD Relationship
LCM(, ) × GCD(, ) = ×
× =
Prime Factorization
Listing Multiples Method
✓ The smallest common multiple is
Step-by-Step Calculation
Common LCM Examples
| Numbers | LCM | Action |
|---|---|---|
| and |
LCM Properties
Basic Properties
- • LCM(a, 1) = a
- • LCM(a, a) = a
- • LCM(a, b) = LCM(b, a) (commutative)
- • LCM(a, b, c) = LCM(LCM(a, b), c)
Important Relationships
- • LCM(a, b) × GCD(a, b) = a × b
- • LCM(a, b) = (a × b) / GCD(a, b)
- • If GCD(a, b) = 1, then LCM(a, b) = a × b
- • LCM is always ≥ max(a, b)
Common Uses of LCM
Adding Fractions
Find the least common denominator when adding or subtracting fractions with different denominators
Scheduling
Determine when events with different cycles will occur simultaneously
Music & Patterns
Find when rhythmic patterns with different beat lengths align
If you like this calculator
Please help us simply by sharing it. It will help us a lot!
Related Calculators
Other calculators you might find useful.
Exponential Growth Calculator
Calculate growth amounts, doubling time, and growth rates for population, investment, and other exponential growth processes
Taylor Series Calculator
Expand functions into Taylor and Maclaurin series with step-by-step solutions
Limit Calculator
Calculate limits of functions as x approaches any value
Prime Number Calculator
Check if a number is prime, find prime factors, and generate prime sequences
Cylinder Calculator
Calculate volume, surface area, lateral area, and other cylinder properties
Scientific Calculator
Perform advanced mathematical calculations with trigonometry, logarithms, and more
About LCM Calculator
What is an LCM Calculator?
An LCM (Least Common Multiple) Calculator helps you find the smallest positive integer that is divisible by two or more numbers without leaving a remainder. The LCM is also known as the Lowest Common Multiple or Smallest Common Multiple (SCM).
How to Use This Calculator
- Two Numbers Mode: Enter two numbers to find their LCM
- Multiple Numbers Mode: Enter multiple numbers separated by commas to find the LCM of all
- Step-by-Step Mode: See the calculation method applied step by step
- Compare with GCD: View both LCM and GCD for the given numbers
Understanding LCM
What is the Least Common Multiple?
The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is perfectly divisible by each of the integers.
Example: LCM(4, 6) = 12 because:
- 12 ÷ 4 = 3 (no remainder)
- 12 ÷ 6 = 2 (no remainder)
- No smaller positive integer is divisible by both 4 and 6
LCM Calculation Methods
1. Using GCD Formula
The most efficient method uses the relationship between LCM and GCD:
LCM(a, b) = (a × b) / GCD(a, b)
2. Prime Factorization Method
- Find the prime factorization of each number
- Take the highest power of each prime factor
- Multiply all the highest powers together
Example: LCM(12, 18)
- 12 = 2² × 3¹
- 18 = 2¹ × 3²
- LCM = 2² × 3² = 4 × 9 = 36
3. Listing Multiples Method
- List multiples of each number
- Find the smallest common multiple
Example: LCM(4, 6)
- Multiples of 4: 4, 8, 12, 16, 20, 24...
- Multiples of 6: 6, 12, 18, 24...
- LCM = 12
4. Division Method (Ladder Method)
- Write numbers in a row
- Divide by the smallest prime that divides at least one number
- Continue until all results are 1
- Multiply all divisors
LCM Properties
- LCM(a, 1) = a
- LCM(a, a) = a
- LCM(a, b) = LCM(b, a) (commutative)
- LCM(a, b) × GCD(a, b) = a × b
- LCM(a, b, c) = LCM(LCM(a, b), c)
Frequently Asked Questions
What is the difference between LCM and GCD?
LCM finds the smallest number that all given numbers divide into, while GCD (Greatest Common Divisor) finds the largest number that divides all given numbers.
When do I need to find LCM?
LCM is commonly used when:
- Adding or subtracting fractions with different denominators
- Finding common schedules (e.g., when will two events occur at the same time again?)
- Solving problems involving cycles or repeating patterns
How do I find the LCM of more than two numbers?
To find LCM(a, b, c), first find LCM(a, b), then find LCM(result, c). Continue this process for additional numbers.
Tip: The relationship LCM(a, b) × GCD(a, b) = a × b is very useful for quickly calculating LCM if you already know the GCD.