LCM Calculator (Least Common Multiple)
LCM Calculator (Least Common Multiple)
Enter two or more numbers separated by commas. This finds the least common multiple (LCM) — the smallest positive number that all of them divide into evenly.
For two numbers, LCM and GCD are directly related: LCM(a, b) equals the product of a and b divided by their greatest common divisor, which is why the two calculators are natural companions. LCM is exactly what's needed when adding or subtracting fractions with different denominators (finding the smallest common denominator), and for a list of three or more numbers the calculator works through them pairwise — finding the LCM of the first two, then combining that result with each remaining number.
- Formula for two numbers: LCM(a, b) = |a × b| ÷ GCD(a, b) — the product of the numbers divided by their greatest common divisor.
- Works for any number of inputs: the LCM of a list of three or more numbers is found by taking the LCM of the first two, then finding the LCM of that result with the next number, and so on.
- Common uses: finding a common denominator when adding or comparing fractions, and scheduling problems like figuring out when repeating events will next coincide.
Why do I need the LCM when adding fractions?
To add fractions with different denominators, you first need to rewrite them with a shared denominator — the smallest and most convenient choice is the LCM of the original denominators.
What's the LCM of two numbers where one is a multiple of the other?
It's simply the larger number — for example, the LCM of 4 and 8 is 8, since 8 is already a multiple of 4.
LCM Calculator (Least Common Multiple)


Enter two or more numbers separated by commas. This finds the least common multiple (LCM) — the smallest positive number that all of them divide into evenly.
For two numbers, LCM and GCD are directly related: LCM(a, b) equals the product of a and b divided by their greatest common divisor, which is why the two calculators are natural companions. LCM is exactly what's needed when adding or subtracting fractions with different denominators (finding the smallest common denominator), and for a list of three or more numbers the calculator works through them pairwise — finding the LCM of the first two, then combining that result with each remaining number.

- Formula for two numbers: LCM(a, b) = |a × b| ÷ GCD(a, b) — the product of the numbers divided by their greatest common divisor.
- Works for any number of inputs: the LCM of a list of three or more numbers is found by taking the LCM of the first two, then finding the LCM of that result with the next number, and so on.
- Common uses: finding a common denominator when adding or comparing fractions, and scheduling problems like figuring out when repeating events will next coincide.
Why do I need the LCM when adding fractions?
To add fractions with different denominators, you first need to rewrite them with a shared denominator — the smallest and most convenient choice is the LCM of the original denominators.
What's the LCM of two numbers where one is a multiple of the other?
It's simply the larger number — for example, the LCM of 4 and 8 is 8, since 8 is already a multiple of 4.
