Euclidean Algorithm Calculator

Discover the Greatest Common Divisor (GCD) of two numbers with this interactive tool.

About the Euclidean Algorithm

The Euclidean Algorithm is an efficient method for computing the Greatest Common Divisor (GCD) of two integers. The GCD is the largest positive integer that divides each of the integers. The algorithm is based on the principle that the greatest common divisor of two numbers does not change if the larger number is replaced by its difference with the smaller number. This process is repeated until one of the numbers becomes zero, at which point the GCD is the other number.

For example, to find the GCD of 48 and 18:

Source: Wikipedia