LCM Calculator

Math Calculator

LCM Calculator

Find the least common multiple of two or more whole numbers.

Least Common Multiple
—
Enter whole numbers separated by commas or spaces.
Calculator guide

How this calculator works

How to use this calculator

1. Enter at least two positive whole numbers separated by commas or spaces.
2. Click Calculate LCM.
3. The calculator returns the smallest positive number divisible by every entered value.

Formula used

For two positive whole numbers:

LCM(a, b) = |a × b| ÷ GCD(a, b)

For more than two numbers, the calculator applies the same relationship repeatedly across the list.

Example calculation

Example: 6, 8, 12

LCM(6, 8) = 24
LCM(24, 12) = 24

Result = 24

What the result means

The LCM is the smallest positive whole number that all entered numbers divide into evenly. It is useful for matching cycles, denominators, and repeating intervals.

Frequently asked questions

Can I enter more than two numbers?

Yes. Separate positive whole numbers with commas or spaces.

Why does the calculator require positive numbers?

LCM is normally reported as a positive value, and this calculator is designed for positive whole-number inputs.

How is LCM different from GCD?

GCD finds the largest shared divisor, while LCM finds the smallest shared multiple.