How this instrument works
A common multiple of two whole numbers is any number both divide into evenly; the LEAST common multiple is the smallest one, and that is what this sheet returns. Every pair of positive integers has infinitely many common multiples — their plain product a × b is always one of them — but only a single smallest one, and that smallest figure is what matters whenever two repeating cycles need to land on the same beat, from bus routes to blinking lights to, less obviously, the shared denominator you'd pick when adding two fractions by hand, a use with its own dedicated sheet.
The identity LCM(a, b) × GCD(a, b) = a × b explains why the least common multiple is fast to compute even for large numbers: rather than listing multiples until two lists collide, the engine finds the greatest common divisor first, using a process traceable to Euclid around 300 BCE, then divides the plain product by it. Two numbers that share no factor larger than 1, like 5 and 7, are called coprime, and their LCM collapses to the simplest case possible: the straight product, since nothing smaller can be a multiple of both.
One edge case worth knowing: a number's LCM with itself, lcm(n, n), is always just n, since n trivially divides itself and no smaller positive multiple exists. A more common mix-up is treating this as the same question as finding the largest shared divisor — that's a different instrument entirely, since the greatest common factor can never exceed the smaller input while the least common multiple can never be smaller than the larger one.
- Enter your first whole number into Number 1 and the second into Number 2 — order doesn't change the result, since the least common multiple is symmetric.
- Read Least common multiple for the smallest positive integer that both entries divide into with nothing left over.
- Try 4 and 8, then 4 and 9, side by side to see how a shared factor between the inputs shrinks the result well below their plain product.
- Use whole numbers only; the product-over-GCD identity behind this sheet assumes integers, and fractional inputs won't return a meaningful common multiple.
Worked example — two shuttles, 4 and 6
Two shuttle buses leave a depot together at 8:00. One route loops back in exactly 4 minutes, the other in exactly 6. Entering a = 4 and b = 6 returns Least common multiple = 12: the two buses are next back at the depot together after exactly 12 minutes, the smallest gap for which that coincidence is possible.
The number 12 isn't specific to scheduling. List the multiples of 4 — 4, 8, 12, 16 — and of 6 — 6, 12, 18 — and 12 is the first entry shared by both lists. It also equals (4 × 6) ⁄ gcd(4, 6) = 24 ⁄ 2 = 12, since 4 and 6 divide evenly by their shared factor 2; that product-over-GCD identity is exactly how this sheet's engine evaluates lcm(a, b) for any pair entered.
Questions
What does 'least common multiple' actually mean?
It is the smallest positive integer that two numbers divide into with no remainder. Listing multiples of 4 (4, 8, 12, 16…) and 6 (6, 12, 18…), the first entry shared by both lists is 12 — the least common multiple this sheet returns for a = 4 and b = 6.
How is the least common multiple calculated without listing multiples?
By way of the greatest common divisor: LCM(a, b) = (a × b) ⁄ GCD(a, b). For a = 4 and b = 6, GCD(4, 6) = 2, so LCM = (4 × 6) ⁄ 2 = 12. Computing a GCD through Euclid's algorithm stays fast even for enormous numbers, which is why this shortcut beats listing multiples once the inputs grow past a couple of digits.
How does the least common multiple differ from the greatest common factor?
They answer opposite questions about the same pair of numbers. The greatest common factor is the largest number that divides evenly into both a and b, so it can never exceed the smaller input; the least common multiple is the smallest number both a and b divide evenly into, so it can never be smaller than the larger input. For 4 and 6, the factor is 2 and the multiple is 12.
Why does the least common multiple matter for adding fractions?
Adding 1⁄4 and 1⁄6 needs a shared denominator, and the smallest one that works is exactly the least common multiple of 4 and 6, namely 12. Any common multiple would technically serve as a denominator, but the least one keeps the numbers small: 1⁄4 + 1⁄6 becomes 3⁄12 + 2⁄12 = 5⁄12, rather than the clumsier 6⁄24 + 4⁄24 that the plain product 24 would force.
What is the least common multiple of two coprime numbers?
Simply their product. Coprime numbers share no common factor larger than 1, so nothing smaller than a × b can be a multiple of both — 5 and 7, for instance, have a least common multiple of 35, with no shortcut available since gcd(5, 7) = 1.
What mistake do people most often make with least common multiples?
Multiplying the two numbers and stopping there. That plain product is always a shared multiple, but it is only the least one when the inputs have no factor in common — for 4 and 6, the product 24 is a shared multiple, yet the true least common multiple is half that, 12, because 4 and 6 share the factor 2. Dividing the product by the greatest common divisor corrects for exactly that overlap.