LCM Calculator

Least Common Multiple Calculator

Find the least common multiple of a set of integers.

Last updated: June 2026 | By Patchworkr Team

Main Calculator

LCM
72
LCM(12, 18, 24) = 72
Inputs are valid.

What is This?

The least common multiple is the smallest nonnegative integer that each input divides evenly into.

How to Use This Calculator

  1. Enter integers separated by commas, spaces, or new lines.
  2. Read the LCM in the result panel.
  3. Use Reset to restore the default example.

Worked Example

12, 18, and 24
LCM = 72

Frequently Asked Questions

Can zero be included?

Yes. The LCM of any list containing zero is 0, so the calculator preserves that case.

Are negative integers allowed?

Yes. The LCM is reported as a nonnegative value, so the calculator uses absolute values internally.

Why reject decimals?

The LCM is defined here for integers, so decimal tokens are treated as invalid input.

Why allow commas and spaces?

It makes the tool easier to use with pasted lists and quick hand entry.

Related Tools