🔍

🔢 Least Common Multiple Calculator

Enter two positive whole numbers to find their least common multiple, the smallest number that both divide into evenly.

1
2

What this calculator does

The least common multiple (LCM) of two numbers is the smallest positive number that both of them divide into evenly with no remainder. It is used constantly when adding or comparing fractions with different denominators, scheduling repeating events, and simplifying ratios.

How the LCM is calculated

This calculator uses the fast and exact relationship between the LCM and the greatest common factor (GCF): LCM(a, b) = (a ÷ GCF(a, b)) × b. The GCF itself is found with the Euclidean algorithm, which repeatedly divides and takes remainders until nothing is left over.

Good to know

Enter whole numbers only; decimal inputs are rounded automatically. This tool is intended for general educational and homework-checking purposes.

Last reviewed August 2026