LCM Calculator
Find the least common multiple of two or more whole numbers.
What is the LCM Calculator?
The LCM is the smallest positive number that is a multiple of every number in the set. It is used to add fractions and to schedule repeating events.
How does it work?
LCM is built pair by pair using lcm(a, b) = a × b ÷ gcd(a, b), with exact big-integer arithmetic.
Formula
lcm(a, b) = |a × b| ÷ gcd(a, b)
Example
LCM of 4, 6 and 15 is 60.
Frequently asked questions
What if one number is zero?
The LCM is defined as 0 because 0 is the only common multiple.
Related tools
Enable JavaScript to use this calculator.