LCM Calculator Online
Find the least common multiple of two numbers. Free and easy.
What is the Least Common Multiple?
The LCM (Least Common Multiple) of two numbers is the smallest positive integer that is divisible by both numbers. For example, the LCM of 12 and 18 is 36, because 36 is the smallest number that both 12 and 18 divide into evenly.
Formula: LCM(a, b) = (a × b) / GCD(a, b), where GCD is the Greatest Common Divisor.
Example: LCM(12, 18) = (12 × 18) / 6 = 36
When Do You Need LCM?
- Adding or subtracting fractions: Find the LCM of denominators to create a common denominator. E.g., 1/3 + 1/4 = 4/12 + 3/12 = 7/12
- Algebra problems: LCM is essential for solving equations with multiple terms
- Scheduling: Find when two repeating events coincide (e.g., buses arriving at different intervals)
- Factorization: Useful in simplifying expressions and solving polynomial equations
- Real-world scenarios: Planning production cycles, synchronizing shifts, or coordinating schedules
How to Calculate LCM Manually
Method 1: Using Prime Factorization
For LCM(12, 18):
- 12 = 2² × 3
- 18 = 2 × 3²
- LCM = 2² × 3² = 4 × 9 = 36
Method 2: Using GCD
LCM(12, 18) = (12 × 18) / GCD(12, 18) = 216 / 6 = 36
Frequently Asked Questions
What is LCM?
The least common multiple (LCM) of two or more integers is the smallest positive integer that is divisible by each of them. For example, the LCM of 12 and 18 is 36.
How do you find LCM?
LCM(a, b) = (a × b) / GCD(a, b). So we use the greatest common divisor to compute the least common multiple. Alternatively, find the prime factorization of both numbers and multiply the highest powers of all prime factors.
What is the difference between LCM and GCD?
GCD (Greatest Common Divisor) is the largest number that divides both numbers. LCM (Least Common Multiple) is the smallest number divisible by both. For example, GCD(12, 18) = 6, while LCM(12, 18) = 36.
Why do we need LCM?
LCM is used in adding and subtracting fractions, solving algebra problems, finding common denominators, and solving real-world problems involving cycles or schedules.
What is the LCM of 12 and 18?
The LCM of 12 and 18 is 36. Both 12 and 18 divide evenly into 36, and 36 is the smallest such number.
Related
Cite This Calculator
Reference this calculator on your website or in your work using the citation below:
HTML Citation Code:
<p>Calculator: <a href="https://onlinecalculator.co.uk/math/lcm-calculator" target="_blank">LCM Calculator Online</a> - OnlineCalculator.co.uk</p>APA Style Citation:
OnlineCalculator.co.uk. (2025). LCM Calculator Online. Retrieved from https://onlinecalculator.co.uk/math/lcm-calculatorNote: This calculator is free to use and reference. No permission required for educational or commercial citation.