Least Common Multiple Calculator

Find the LCM of two or more integers instantly

Enter Numbers
Please enter at least two valid non-zero integers.
Least Common Multiple
How It Works

The Least Common Multiple is computed using the relationship between LCM and GCD (Greatest Common Divisor). For two numbers, the formula is LCM(a, b) = |a × b| ÷ GCD(a, b). The GCD is found efficiently using the Euclidean algorithm. For three or more numbers, the calculator applies this formula iteratively: it computes LCM(a, b) first, then uses that result with the next number, repeating until all inputs are processed. The final value is the smallest positive integer divisible by every number you entered.

Frequently Asked Questions
What is the Least Common Multiple (LCM)?
The Least Common Multiple (LCM) is the smallest positive integer that is evenly divisible by two or more given integers. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 divide into without a remainder.
How do you calculate the LCM of multiple numbers?
To calculate the LCM of multiple numbers, use the formula LCM(a, b) = |a × b| / GCD(a, b), where GCD is the Greatest Common Divisor found via the Euclidean algorithm. For three or more numbers, compute iteratively: LCM(a, b, c) = LCM(LCM(a, b), c). Extend this for any number of integers.
What is the LCM used for in real life?
The LCM is commonly used when working with fractions (finding common denominators), scheduling repeating events (determining when events will coincide), and in engineering and music for synchronizing periodic processes. It helps solve problems where you need to find when multiple repeating cycles align.
Free tools by TUNA — energy supply from vetted manufacturers