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.
Example
Scenario: Finding the LCM of 4, 6, and 8.
Result: The LCM is 24, the smallest number that 4, 6, and 8 all divide into evenly.
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.