Least common multiple (LCM) calculator
Calculate the least common multiple of two or more integers.
Processed on your device. Nothing is sent to any server.
LCM
24
Calculate the least common multiple (LCM) of two or more integers, the smallest number that is a multiple of all of them at once.
Calculates the LCM iteratively from the greatest common divisor: LCM(a,b) = |a x b| / GCD(a,b).
Use cases
- Adding fractions with different denominators.
- Synchronizing events that repeat at different frequencies.
- Solving school arithmetic problems.
How it works
- 1
Type the numbers
Enter two or more integers separated by commas or spaces.
- 2
Read the result
The LCM is calculated automatically.
Frequently asked questions
- Does it work with more than two numbers?
- Yes, it calculates the LCM of the whole list by applying the pairwise formula cumulatively.
Related tools
- Average CalculatorCalculates the average of a list of numbers.
- GCD CalculatorCalculates the greatest common divisor.
- Median CalculatorCalculates the median of a list of numbers.
- Percentage CalculatorCalculates the percentage of an amount.
- Percentage Difference CalculatorCalculates the % difference between two values.
- Percentage Increase CalculatorCalculates the % change between two values.