# Greatest common divisor calculator

### GCD(18, 8) = 2

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

##### 8 = 2^{3}

##### GCD = 2

#### 18 / 2 = 9

#### 8 / 2 = 4

### 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.