Greatest Common Divisor The Greatest Common Divisor (gcd) of two numbers is the greatest positive integer that divides evenly into both numbers.