ClickAndCalc

LCM Calculator

Find the least common multiple of two positive whole numbers.

Least common multiple36(12 × 18) / GCD(12, 18)

How it works

The least common multiple is the smallest positive number divisible by both inputs. The calculator uses the greatest common divisor relationship to compute it efficiently.

Standard formulaLCM(a, b) = |a × b| ÷ GCD(a, b)

Worked example

The LCM of 12 and 18 is 36 because 36 is the first positive multiple shared by both numbers.

Frequently Asked Questions

What is a multiple?

A multiple is a number produced by multiplying an integer by another whole number.

Is LCM the same as GCD?

No. LCM finds a shared multiple; GCD finds the largest shared divisor.

Can I use negative integers?

This page accepts positive whole numbers so the result is unambiguous and useful for common multiples.

What happens with equal inputs?

The LCM is that number itself.