LCM & GCD Calculator

LCM is the smallest number divisible by both inputs. GCD is the largest number that divides both.

What this calculator does

LCM(12, 18) = 36. GCD(12, 18) = 6.

How it works

LCM is used in adding fractions; GCD simplifies fractions.

Frequently asked questions

What is LCM?

Least Common Multiple — the smallest positive integer divisible by both numbers.