Greatest common divisor calculator



GCD(22, 40) = 2


22 = 2×11
40 = 23×5
GCD = 2

22 / 2 = 11

40 / 2 = 20

What is GCD?

The greatest common divisor (gcd/GCD), or the greatest common factor (gcf), or highest common factor (hcf), of two or more integers (at least one of which is not zero), is the largest positive integer that divides the numbers without a remainder.

See divisors of numbers 2, 22, 40.

Questions and word problems to GCD



more math problems »