Complete guide
LCM calculator for multiple integers with prime-factor audit
Paste 2 to 20 whole numbers. Calculator24 returns the exact least common multiple, successive calculation steps and the highest prime powers required by every input.
What least common multiple means
The LCM is the smallest nonnegative integer divisible by every entered integer. It synchronizes repeating cycles and finds common denominators.
Prime-factor method
Factor each number and retain every prime at the largest exponent appearing in any input.
LCM(12,18)=2²×3²=36GCD relationship
For two nonzero integers, multiplying and dividing by their GCD avoids listing multiples.
LCM(a,b)=|a÷GCD(a,b)×b|Worked three-number example
12=2²×3, 18=2×3² and 30=2×3×5. Keeping 2², 3² and 5 gives 180.
Zero and negative inputs
Signs do not change divisibility. By the convention used here, any set containing zero has LCM zero.
Practical uses and limits
LCM can align schedules, periodic signals and fraction denominators. Extremely large cycles may be mathematically correct but impractical in a real system.
LCM by prime exponents
| Input | Prime factorization | Contribution |
|---|---|---|
| 12 | 2²×3 | 2² and 3 |
| 18 | 2×3² | 3² |
| 30 | 2×3×5 | 5 |
| LCM | 2²×3²×5 | 180 |
Frequently asked questions
What is the LCM of 12 and 18?
It is 36.
Can I enter more than two numbers?
Yes, up to 20.
Does order change the LCM?
No.
What happens if one number is zero?
This calculator returns zero.
Are negative numbers allowed?
Yes. Their absolute values are used.
How is LCM different from GCF?
LCM is a shared multiple; GCF is a shared divisor.
What to keep in mind
Signs are ignored. If any entered number is zero, the LCM is zero. Each absolute value must be at most one trillion and at most 20 values are accepted.
Results display up to 8 decimal places; exported numbers preserve calculation precision. This is a calculation summary, not an official certificate.