Least Common Multiple (LCM) Calculator
Find the Least Common Multiple (LCM) of a set of numbers. Enter two or more integers separated by commas to get the result.
Your Result
Enter at least two numbers above to find their LCM.
Understanding the Least Common Multiple (LCM)
The Least Common Multiple (LCM), also known as the Lowest Common Multiple, of two or more integers is the smallest positive integer that is a multiple of all the numbers. It's a fundamental concept in number theory and arithmetic.
For example, the LCM of 4 and 6 is 12.
Multiples of 4 are: 4, 8, 12, 16, 20, 24, ...
Multiples of 6 are: 6, 12, 18, 24, 30, ...
The first number to appear in both lists (the smallest common multiple) is 12.
How to Find the LCM
While listing out multiples works for small numbers, it becomes inefficient for larger ones. Our calculator uses a more efficient method, but here are the two most common manual techniques:
1. Prime Factorization Method
This method involves breaking down each number into its prime factors.
- Find the prime factorization of each number.
- List all prime factors that appear in any of the factorizations.
- For each prime factor, take the highest power it appears in any of the factorizations.
- Multiply these highest-powered prime factors together to get the LCM.
Example: Find the LCM of 12, 18, and 20
- Prime factors of 12 = 22 × 31
- Prime factors of 18 = 21 × 32
- Prime factors of 20 = 22 × 51
- The highest power of 2 is 22. The highest power of 3 is 32. The highest power of 5 is 51.
- LCM = 22 × 32 × 51 = 4 × 9 × 5 = 180.
2. Using the Greatest Common Divisor (GCD)
For two numbers, a and b, the LCM can be found using their Greatest Common Divisor (GCD). The formula is:
LCM(a, b) = (|a × b|) / GCD(a, b)
To find the LCM of more than two numbers, this formula can be applied iteratively. For example:
LCM(a, b, c) = LCM( LCM(a, b), c )
This is the method our calculator uses as it is highly efficient. If you need to find the GCD of numbers, you can use our dedicated Greatest Common Divisor Calculator (Coming Soon).
Applications of LCM
- Adding and Subtracting Fractions: To add or subtract fractions with different denominators, you need to find a common denominator, which is the LCM of the original denominators.
- Scheduling Problems: To find out when two or more events with different cycles will occur simultaneously. For example, if one bus arrives every 15 minutes and another every 25 minutes, the LCM(15, 25) = 75 tells you they will both arrive together every 75 minutes.
- Planetary Alignment: Astronomers use LCM to calculate when planets will align in certain patterns based on their different orbital periods.
Related Math Tools
Explore more of our calculators to assist with your mathematical needs:
- Math Calculators - A comprehensive collection of math-related tools.
- Root Calculator - Find the square, cube, or nth root of any number.
- Ratio Calculator - Easily solve proportions and simplify ratios.