Free online gcd/lcm calculator. Greatest common divisor and least common multiple. Accurate and easy to use.
GCD
6
LCM
36
GCD(12, 18) × LCM(12, 18) = 6 × 36 = 216
12 × 18 = 216
✓ Verified: GCD × LCM = a × b
18 = 1 × 12 + 6
12 = 2 × 6 + 0
GCD = 6