Ontoom

GCD

Greatest common divisor of two or more numbers.

e.g. 12, 18, 24

GCD

6

Important: Separate numbers with commas or spaces.

How to calculate the GCD

Separate two or more positive integers with commas or spaces. The GCD (greatest common divisor) updates at once — Euclid’s algorithm, the same used for fractions and LCM.

Frequently asked questions

Can GCD take more than two numbers?
Yes. Enter 2, 3 or more integers separated by commas or spaces.
Are GCD and MDC the same?
Yes. MDC is the Portuguese name for greatest common divisor.
What if one number is 1?
The GCD will be 1, because 1 only divides and is divided by 1.
Is the calculation on a server?
No. It runs in the browser.

See also