GCD & LCM Calculator

Find the greatest common divisor and least common multiple of two numbers.

Ad slot (AdSense unit placeholder)

Formula

GCD found via the Euclidean algorithm. LCM = (a × b) / GCD(a,b).