Free tools for the numbers that matter · No signup needed

Least Common Multiple Calculator

Enter two positive whole numbers to find their least common multiple (LCM): the first positive number evenly divisible by both.

How it works

Divide the first positive integer by the greatest common factor, then multiply by the second integer. This gives the smallest positive number divisible by both.

Worked example

For 12 and 18, the greatest common factor is 6. So 12 ÷ 6 × 18 = 36, their least common multiple.

Keep in mind

This tool accepts positive whole numbers. Zero, negative values, decimals, and results beyond the safe integer range are not supported.

Browse all math calculators