GCD of Three Numbers

Find the Greatest Common Divisor of three numbers at once.

How It Works

Enter three positive integers. The tool computes GCD(a,b) first using the Euclidean algorithm, then computes GCD of that result with c.

Formula

GCD(a, b, c) = GCD(GCD(a, b), c)

Frequently Asked Questions

What is GCD(12, 18, 24)?

GCD(12,18)=6, then GCD(6,24)=6. So GCD(12,18,24) = 6.

Can GCD of three numbers be 1?

Yes. For example GCD(6, 10, 15) = 1, even though each pair shares a common factor.