# What is the GCF of 4 and 12?

GCF of two whole numbers is the largest whole number which is a factor of both. It is also known as HCF or GCD.

## Answer: GCF of 4 and 12 is 4

Two methods to find the GCF of 4 and 12 are explained below.

## Methods to find the GCF of 4 and 12

- Prime factorization Method
- Long division Method

### Method1: GCF of 4 and 12 by Prime Factorization

Let us represent 4 and 12 as a product of its prime numbers

Prime factorization of 4 and 12 is done as shown above

Common factors = 2, 2

GCF is the product of the factors that are common to each of the given numbers.

GCF of 4 and 12 is 4

### Method2: GCF of 4 and 12 by Long Division Method

- Divide the two numbers i.e, 12 by 4 and check the remainder.
- Make the remainder of the above step as the divisor and the divisor of the above step as the dividend and perform the long division again.
- Continue till you get remainder as 0
- The divisor of the final step is the GCF of the given numbers.

Thus, GCF is the divisor of the final step

GCF of 4 and 12 is 4