math
LCM Calculator
Find the least common multiple (LCM) of two or more whole numbers.
Least common multiple (LCM)
24
Enter two or more whole numbers.
How it works
- 1Enter two or more whole numbers separated by commas or spaces.
- 2The LCM is built up pairwise using each pair’s greatest common divisor.
- 3Read the least common multiple of the whole list.
Use cases
- Find a common denominator for adding fractions.
- Schedule repeating events that line up.
- Solve LCM homework with several numbers.
Frequently asked questions
What is the least common multiple?
The smallest positive number that every number in your list divides into evenly. The LCM of 4, 6, and 8 is 24.
How is the LCM calculated?
For two numbers, LCM(a, b) = a × b ÷ GCD(a, b). For a list, the LCM is taken pairwise across all numbers.
Can I enter more than two numbers?
Yes — enter as many whole numbers as you like, separated by commas or spaces.
Related tools
See all →Rectangle Calculator
Calculate the area and perimeter of a rectangle from its width and height, with a labeled diagram.
Circle Calculator
Calculate the area and circumference of a circle from its radius, with a labeled diagram.
Triangle Calculator
Calculate the area (Heron’s formula) and perimeter of a triangle from its three sides.
Trapezoid Calculator
Calculate the area and perimeter of a trapezoid from its two parallel sides, height, and legs.