LCM Calculator Online

Find the least common multiple of two or more integers with the greatest common divisor and prime factors shown, right in your browser.

The LCM Calculator runs entirely in your browser. The numbers you enter are computed locally on your device and are never uploaded to ArrayKit.

Open the GCF Calculator

About LCM Calculator

LCM Calculator finds the least common multiple of two or more whole numbers — the smallest positive number that every one of them divides into evenly. Type a list separated by commas or spaces and it computes the greatest common divisor with the Euclidean algorithm, derives the LCM from it, and reduces the whole list pairwise so it works for three, four, or more numbers at once. Each input is also broken down into its prime factors so you can see exactly why the result comes out the way it does. It is useful for scheduling problems, adding fractions with unlike denominators, simplifying ratios, and checking homework on multiples and factors. Everything runs locally in your browser — your numbers are never uploaded.

Features

How to use the LCM Calculator

  1. Type two or more positive whole numbers, separated by commas or spaces
  2. Read the LCM and GCD in the Result panel
  3. Check the prime-factor breakdown for each number
  4. Copy the summary with the button next to Result

Example

Input

4, 6

Output

LCM: 12

Common errors & troubleshooting

Frequently asked questions

What does the LCM Calculator actually compute?
It finds the least common multiple — the smallest positive number that every number you enter divides into evenly — plus the greatest common divisor used along the way.
How does the LCM Calculator find the LCM of more than two numbers?
It reduces the list pairwise: it finds the LCM of the first two numbers, then finds the LCM of that result with the next number, and so on until the whole list is combined.
What is the difference between LCM and GCF in this calculator?
The LCM is the smallest number that all your inputs divide into; the GCF (also called GCD) is the largest number that divides into all of them. The LCM Calculator shows both from the same input list.
Can the LCM Calculator handle three or more numbers?
Yes. Enter as many positive whole numbers as you like, separated by commas or spaces, and it reduces the entire list to a single LCM and GCD.
Why does the LCM Calculator show prime factors?
The prime-factor breakdown for each number lets you see how the LCM is built — it is the product of the highest power of every prime that appears in any of the numbers.
Are the numbers I enter sent anywhere?
No. The LCM Calculator runs entirely in your browser. The numbers you type are computed locally and are never uploaded to ArrayKit.

Related tools

All ArrayKit tools