Greatest common divisor

Enter the two numbers.

Result
No result yet.

The GCD of 12 and 18 is 6.

Example

Find the greatest common divisor of two integers.

The GCD of 12 and 18 is 6.

Processed locally in your browser.

Methodology

The GCD is the largest integer that divides both numbers.