gcf

Greatest Common Factor Calculator

The greatest common factor (GCD) of two or more whole numbers, by Euclid's algorithm.

Math & AlgebraRuns in your browser

Result…

 

…

How it's calculated

gcd(a, b) = gcd(b, a mod b),  gcd(a, 0) = a
gcd(a, b, c) = gcd(gcd(a, b), c)

Euclid's algorithm replaces the larger number by the remainder until it reaches zero. The GCF is used to simplify fractions and ratios.

Your numbers, step by step

    More in Math & Algebra