GCD & LCM Calculator

Calculate GCD (Greatest Common Divisor) and LCM (Least Common Multiple) of two or more numbers. Shows prime factorization and step-by-step solutions.

Examples

GCD (Greatest Common Divisor)

GCD(12, 18) = 6
GCD(48, 36) = 12

LCM (Least Common Multiple)

LCM(4, 6) = 12
LCM(3, 5) = 15

🔒 Fast, free math calculators that run in your browser. No uploads, 100% private.