FullCalculator

LCM & GCD Calculator

LCM & GCD of Two Numbers

LCM & GCD of Three Numbers

Formula

GCD: Euclidean algorithm | LCM(a,b) = a×b / GCD(a,b)

Frequently Asked Questions

What is LCM?
The Least Common Multiple is the smallest number divisible by both numbers. LCM(4,6)=12 because 12 is the smallest number divisible by both 4 and 6.
What is GCD?
The Greatest Common Divisor (also called HCF) is the largest number that divides both numbers evenly. GCD(12,18)=6.

You may also need