GCF Calculator
Greatest common factor of any set of numbers, with the working.
The least common multiple, and how it was found.
Separate them with spaces or commas. Up to twenty.
| Number | As primes | Fits in the LCM |
|---|
| Pair | Running LCM |
|---|
LCM Calculator finds the least common multiple -- the smallest number that every number you enter divides into exactly -- and shows the working two ways.
The prime method is in the main table: write each number as a product of primes and take every prime that appears anywhere, each to its highest power. For 4, 6 and 15 that is 2^2 from the 4, 3 from the 6 and 5 from the 15, giving 60. The step table shows the other method, which goes two at a time using the fact that the LCM of a pair is their product divided by their GCF -- faster, and the way it is actually computed.
Adding fractions is where this is needed most. To add 1/4 and 1/6 you need a common denominator, and the least common multiple of 4 and 6 is 12, so the sum becomes 3/12 + 2/12. Using any common multiple works -- 24 would do -- but using the least one means the answer comes out already simplified or nearly so.
The other everyday use is repeating events. Two buses leaving every 4 and every 6 minutes coincide every 12. A task running every 15 minutes and one every 50 coincide every 150. The LCM is how often two cycles line up, which is also why it decides gear wear and shift rotas.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
More tools: FreeToolsZone.org
The LCM Calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
60. As primes: 4 is 2^2, 6 is 2 x 3, 15 is 3 x 5. Take each prime to its highest power -- 2^2, 3, 5 -- and multiply: 4 x 3 x 5 = 60.
Multiply them and divide by their GCF. For 12 and 18: 12 x 18 is 216, their GCF is 6, and 216 divided by 6 is 36.
Any common multiple gives a valid common denominator, but the least one keeps the numbers small and usually leaves the answer already in lowest terms.
Only when they are coprime. 4 and 15 share nothing, so their LCM is 60, which is their product. 4 and 6 share a factor of 2, so their LCM is 12 rather than 24.
No. Every number has to divide into it, including the largest, so the LCM is at least as big as the largest number you entered.
If the LCM Calculator is not quite what you need, these other free tools solve closely related problems, and there are 35 more in math calculators.
Greatest common factor of any set of numbers, with the working.
GCF and LCM of several numbers, with factorisations.
List the multiples of any number, with the sum.
Calculate with fractions and mixed numbers, simplified and explained.
Prime factors with exponents, the tree and every divisor.
Checked and rebuilt on 2026-10-18. The method this calculator uses is described in the section above, and corrections go through the contact page.