The greatest common divisor (GCD) of two integers a and b is the largest integer d such that d divides both a and b. The problem of finding the GCD of two integers efficiently is one of the oldest problems studied in number theory. The corresponding problem can be considered for two elements alpha and beta in any factorial ring R. Then lambda is an element of R is a GCD of alpha and beta if it divides both elements, and whenever lambda is an element of R divides both alpha and beta it also holds that lambda' divides lambda. A precise understanding of the complexity of different GCD algorithms gives a better understanding of the arithmetic in the domain under consideration.