MULTIPLES · FREE ONLINE TOOL

Least Common Multiple Calculator

Searching for a highest common multiple calculator? Positive integers have no highest common multiple—their shared multiples keep increasing. This tool finds the least common multiple (LCM): the smallest positive number divisible by every input.

LET’S WORK IT OUT

Enter your numbers

Enter 2 to 20 positive whole integers separated by commas or spaces. Each value can have up to 30 digits.

Try an example

Calculated here. Not sent to a calculator server.

EXAMPLE RESULT
120

The smallest positive multiple shared by all your numbers.

Here’s the working

  1. Calculate to see the steps for your numbers.

Exact integer arithmetic · up to 20 numbers

What the least common multiple means

A common multiple is a positive number divisible by every input. The least common multiple, or LCM, is the smallest such number. For 12 and 18, common multiples include 36, 72, and 108, so the LCM is 36.

The word least matters. Positive integers have infinitely many common multiples because any common multiple can be multiplied again. The LCM identifies the first positive meeting point.

LCM(12, 18) = 36

Methods for calculating an LCM

Prime factorization gives a clear manual method. Factor each input, then take every prime that appears at the greatest power needed by any input. For 12 and 30, use 2 squared, 3, and 5 to get 60.

For two positive integers, the GCD provides a compact method. Divide one number by the GCD before multiplying to avoid unnecessary growth. Apply the result repeatedly to extend the calculation to more inputs.

LCM(a, b) = a × b ÷ GCD(a, b)
  1. Factor 12 as 2 squared times 3 and 30 as 2 times 3 times 5.
  2. Keep 2 squared, 3, and 5 because those are the greatest required prime powers.
  3. Multiply 4 times 3 times 5 to get LCM(12, 30) = 60.

Practical uses for LCM

LCM finds when repeating events next occur together. If one signal repeats every 8 minutes, another every 12 minutes, and a third every 30 minutes, all align every 120 minutes.

It also helps add fractions with unlike denominators. The LCM of the denominators supplies a least common denominator, giving a shared denominator without choosing a larger one than necessary.

Input limits and boundaries

This calculator accepts 2 to 20 positive integers, each with up to 30 digits. Positive values make the result unambiguous and keep the page focused on the standard school-level LCM definition.

Zero and negative values are not accepted here. Although some mathematical conventions extend LCM to include zero or signs, those extensions differ by context and are not needed for the positive-integer calculation.

GOOD QUESTIONS, CLEAR ANSWERS

Frequently asked questions

What is the difference between LCM and HCF?

LCM is the smallest positive shared multiple. HCF or GCD is the largest shared divisor. For positive integers a and b, GCD(a, b) times LCM(a, b) equals a times b.

Does a highest common multiple calculator exist?

Not for positive integers. Once a common multiple exists, multiplying it by 2 makes a larger common multiple, so there is no highest one. The useful finite quantity is the least common multiple.

Can I calculate an LCM for more than two numbers?

Yes. This tool accepts up to 20 positive integers and finds the smallest positive number divisible by every value.

Why is LCM useful for fractions?

The LCM of fraction denominators is their least common denominator. It provides a shared denominator for adding, subtracting, or comparing fractions.

Why are zero and negative inputs unavailable?

The tool uses the standard positive-integer definition to give one clear result. It therefore requires every input to be a positive whole number.

Further reading: Least Common Multiple, MathWorld

Privacy, kept simple.

Calculator inputs are processed in your browser. This application does not submit your numbers to a calculator API, save a calculation history, or require an account.

Normal hosting request logs and platform services may still process technical data such as your IP address. This is not a claim that the hosting platform collects no information.

This site includes Google AdSense advertising code. Google and its partners may process browsing and device information and use cookies, depending on consent and advertising settings. Advertising approval and consent configuration are separate from installing this script.