GCD Calculator

Enter two positive whole numbers to find their greatest common divisor.

How It Works

Uses the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller, until the remainder is zero.

Example

The GCD of 48 and 18 is 6.

Frequently Asked Questions

What is GCD used for?
It's commonly used to simplify fractions to their lowest terms.