Least Common Multiple Calculator
Find the least common multiple (LCM) of two whole numbers.
- Free to use
- Accurate results
- No registration required
- Works on all devices
Enter two whole numbers to find their least common multiple.
Your result
12
Least common multiple
Greatest common factor2
AI explanation
Formula
LCM = (a × b) ÷ GCF(a, b), found via the Euclidean algorithmWorked example
LCM of 4 and 6
| Field | Value |
|---|---|
| First number | 4 |
| Second number | 6 |
| Least common multiple | 12 |
| Greatest common factor | 2 |
Assumptions
- Inputs are capped at 1,000,000 so the result stays well within safe integer precision.
Frequently asked questions
What is the least common multiple?
The smallest positive number that both input numbers divide into evenly.
Is this the same as the LCM Calculator?
Yes — same calculation, offered here under the full "least common multiple" search term.
How is LCM related to GCF?
LCM × GCF = the product of the two numbers — so once you know the GCF, LCM = (a × b) ÷ GCF.