LCM Calculator

The least common multiple, and how it was found.

Math Calculators Free, no sign-up Runs in your browser

LCM Calculator tool

Separate them with spaces or commas. Up to twenty.

—
Least common multiple
—
As prime factors
—
Greatest common factor
—
All of them multiplied
—
How many numbers
NumberAs primesFits in the LCM
Step by step, two numbers at a time
PairRunning LCM

About the LCM Calculator

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

How to use the LCM Calculator

  1. Enter numbersDecimals are fine, and thousands separators are accepted and ignored.
  2. Read the least common multiple, as prime factors and greatest common factorThe figures update as you type. The Calculate button is there if you would rather press something, but nothing waits for it.
  3. Copy or check the resultCopy the summary with the copy button, or open the table to check it row by row.

What the LCM Calculator does

  • Shows least common multiple, as prime factors, greatest common factor, all of them multiplied and how many numbers together, so you are not running it twice
  • Full step by step, two numbers at a time you can open and check
  • Updates as you type, with no button to press and no page reload
  • Copy the result in one click
  • Free, no sign-up, and it runs entirely in your browser

Who uses the LCM Calculator

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:

  • Finding a common denominator for adding fractions
  • Working out when two repeating schedules coincide
  • Choosing a cycle length that both of two processes fit
  • Showing the prime factorisation method for homework

Common questions about the LCM Calculator

What is the LCM of 4, 6 and 15?

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.

What is the quickest way to find the LCM of two numbers?

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.

Why use the least common multiple for fractions?

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.

Is the LCM always the two numbers multiplied together?

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.

Can the LCM be smaller than the largest number?

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.

GCF Calculator

Greatest common factor of any set of numbers, with the working.

Math Calculators Use tool

Fraction Calculator

Calculate with fractions and mixed numbers, simplified and explained.

Math Calculators Use tool

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.