# Greatest common divisor calculator

### GCD(12, 5) = 1

##### 12 = 2^{2}×3

##### 5 = 5

##### GCD = 1

#### 12 / 1 = 12

#### 5 / 1 = 5

### What is GCD?

The greatest common divisor (gcd/GCD), or the greatest common factor (gcf), or highest common factor (hcf), of two or more integers (at least one of which is not zero), is the largest positive integer that divides the numbers without a remainder.