LCM Calculator
Find the Least Common Multiple (LCM) and GCD of two or more integers.
Runs on your device. Nothing you add is uploaded.
Enter two or more positive integers (e.g. 12, 18, 24)
Least Common Multiple (LCM)
36
Greatest Common Divisor (GCD)
6
Formula: LCM(a, b) = |a × b| ÷ GCD(a, b). Applied across 12, 18.
Multiples required per input
| Input | Multiplier to reach LCM |
|---|---|
| 12 | 3 |
| 18 | 2 |
How to use LCM Calculator
- Enter two or more integers separated by commas or spaces.
- View the Least Common Multiple (smallest positive multiple shared by all inputs).
- Check the multiplier table to see how many times each input divides into the LCM.
Questions
How is LCM useful with fractions?
The LCM of two denominators is the Least Common Denominator (LCD) needed to add or subtract fractions.
What is the LCM if one number is 0?
By definition, the LCM involving 0 is 0.
How this works
Computes BigInt LCM via |a × b| / GCD(a, b) locally.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in CalculatorsGCD / GCF Calculator
Find the Greatest Common Divisor (GCF) of two or more integers with Euclidean algorithm steps.
Fraction Calculator
Add, subtract, multiply, and divide fractions or mixed numbers with simplified and decimal results.
Prime Number Checker
Check whether any whole number is prime, see its prime factorization, and find neighboring primes.
Age Calculator
Find your exact age in years, months, and days, plus total days lived and your next birthday countdown.