Calcverse

Math

GCD & LCM Calculator

Greatest common divisor and least common multiple of two integers.

Inputs

GCD & LCM Calculator

Result

GCD

12

LCM
72

GCD and LCM in one place

GCD (greatest common divisor) is the largest integer dividing both numbers; LCM (least common multiple) is the smallest integer both divide into. They're related: GCD(a,b) × LCM(a,b) = a × b.

Where they help

Reducing fractions to lowest terms uses GCD — see the Fraction Calculator; adding fractions with unlike denominators uses LCM.

Related calculators