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
Math
Fraction Calculator
Add, subtract, multiply, or divide two fractions and simplify the result.
Math
Percentage Calculator
What is X% of Y, X is what % of Y, and percentage change — all in one place.
Math
Percent Change Calculator
Percentage increase or decrease between two numbers.
Math
Ratio Calculator
Simplify a ratio or solve A:B = C:? for a missing term.
