LCM Calculator
Find the Least Common Multiple (LCM) of two or more numbers.
About the LCM Calculator
The Least Common Multiple is the smallest number that all the numbers in a set divide into evenly — essential for adding fractions with different denominators, scheduling repeating events, and various number theory problems. This calculator finds the LCM of any list of numbers.
How It Works
The calculator combines numbers pairwise using the relationship between LCM and greatest common divisor: the LCM of two numbers equals their product divided by their greatest common divisor. It applies this repeatedly across the full list to find the LCM of all of them together.
LCM(a,b) = |a × b| / GCD(a,b), applied iteratively across the full list of numbers.
Worked example
Scenario: Finding the least common multiple of 4, 6 and 8.
- Prime factors: 4 = 2², 6 = 2 × 3, 8 = 2³.
- Take the highest power of each prime: 2³ and 3.
- LCM = 8 × 3 = 24.
Result: LCM(4, 6, 8) = 24.
When is the LCM useful?
The least common multiple is the smallest positive number that is a multiple of every supplied integer. It is useful for finding common denominators and for recurring schedules. For example, if one event repeats every 6 days and another every 8 days, both repeat together every 24 days because LCM(6, 8) = 24.
Tips and common mistakes
- LCM × GCF = the product of the numbers, for two numbers: 4 × 6 = 24 = 12 × 2.
- The LCM of fractions' denominators is the lowest common denominator.
- Only positive whole numbers are accepted.
Assumptions & Limitations
- Requires at least two numbers to compute a meaningful least common multiple.
- Works with positive whole numbers, consistent with the standard mathematical definition of LCM.
- Very large numbers with few small factors can produce a very large LCM, which is mathematically correct but may look surprising.