Home · Everyday · Arithmetic · Least Common Multiple Calculator
Least Common Multiple Calculator
Find the smallest positive number that three integers all divide into evenly, together with their greatest common divisor.
What this calculator does
Find the smallest positive number that three integers all divide into evenly, together with their greatest common divisor. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The least common multiple of a set of integers is the smallest positive number that every one of them divides without a remainder. For 4, 6, and 8 the multiples first meet at 24: it is 4 × 6, 6 × 4, and 8 × 3. Multi-number LCMs are built pairwise, taking lcm(4, 6) = 12 first and then lcm(12, 8) = 24, or equivalently from the highest power of each prime involved.
All inputs should be positive whole numbers; the LCM of a set containing zero is conventionally zero and is excluded here. A common use is scheduling: events repeating every 4, 6, and 8 days coincide every 24 days. Note the handy two-number shortcut lcm(a, b) = |a × b| ÷ gcd(a, b) does not extend directly to three numbers, which is why the pairwise route is used.
Worked example
With the example inputs this page opens with (first integer (a) 4, second integer (b) 6, third integer (c) 8), the result is 24 — least common multiple. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| First integer (a) | Least common multiple | Greatest common divisor |
|---|---|---|
| 2 | 24 | 2 |
| 3 | 24 | 1 |
| 4 | 24 | 2 |
| 5 | 120 | 1 |
| 6 | 24 | 2 |
| 9 | 72 | 1 |
| 12 | 24 | 2 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Where does the LCM show up in daily life?
Anywhere cycles must line up: buses leaving every 4, 6, and 8 minutes depart together every 24 minutes, and hot dogs and buns sold in different pack sizes meet at their LCM.
How does the Least Common Multiple Calculator work?
Find the smallest positive number that three integers all divide into evenly, together with their greatest common divisor. Integer a · Integer b · Integer c → Least common multiple. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Least Common Multiple Calculator need?
Integer a · Integer b · Integer c → Least common multiple. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Least Common Multiple Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.