Calculate GCF (3,896; 4), the Greatest (Highest) Common Factor (Divisor), (HCF, GCD), of the Numbers. Online Calculator
Calculate the greatest common factor, GCF (3,896; 4), using their prime factorizations, numbers' divisibility or the Euclidean algorithm
The greatest common factor and how to calculate it
Getting started and examples
- 1. Factors of a number:
- Factors of a number are the numbers that are multiplied together to get that number.
- Examples: 2 × 3 × 4 = 24; 4 × 9 = 36.
- In these cases we say that 2, 3 and 4 are factors of 24. And 4 and 9 are factors of 36.
- 2. Common factors of multiple numbers:
- Factors that are common to multiple numbers are called common factors.
- In our examples 4 is both a factor of 24 and 36.
- 3. The Greatest Common Factor, GCF, of several numbers
- The Greatest Common Factor, GCF, is the largest of all the common factors of several numbers.
- The Greatest Common Factor, GCF, is also called the Highest Common Factor, HCF, or the Greatest Common Factor, GCD.
- 4. How is the Greatest Common Factor calculated? Step 1.
- In our examples we might be tempted to say that 4 is the Greatest Common Factor of 24 and 36. But, let's try instead to break those factors into other ones that are as small as possible.
- 24 could be written as: 24 = 2 × 2 × 2 × 3.
- 36 could also be written as: 36 = 2 × 2 × 3 × 3.
- In our example, 2 and 3 cannot be further broken down into any other smaller numbers.
- 5. The mighty prime numbers:
- 2 and 3 cannot be broken down into any other smaller numbers because they are prime numbers. This is the very definition of the prime numbers:
- A prime number has no factors other than 1 and itself since it cannot be further broken down into any other smaller numbers.
- Examples of prime numbers: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and so on, there is an infinite number of prime numbers.
- 6. How is the Greatest Common Factor calculated? Step 2.
- We have seen that it is a good idea to decompose numbers into factors that are as small as possible, writing them as a product of prime factors. This is the very definition of the prime factorization of a number.
- The prime factorization of 24 = 2 × 2 × 2 × 3 = 23 × 3.
- The prime factorization of 36 = 2 × 2 × 3 × 3 = 22 × 32.
- To calculate the GCF just take all the common prime factors of both numbers and multiply them together:
- GCF (24 and 36) = 2 × 2 × 3 = 22 × 3 = 12.
Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (3,896; 4) = ?
Method 1. The divisibility of numbers:
Divide the larger number by the smaller one.
Note that when the numbers are divided, the remainder is zero:
3,896 ÷ 4 = 974 + 0
⇒ 3,896 = 4 × 974
So, 3,896 is divisible by 4.
And 4 is a factor (divisor) of 3,896.
Also, the greatest factor (divisor) of 4 is the number itself, 4.
The greatest (highest) common factor (divisor),
gcf, hcf, gcd (3,896; 4) = 4 = 22
3,896 is divisible by 4
Scroll down for the 2nd method...
Method 2. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
3,896 = 23 × 487
3,896 is not a prime number but a composite one.
4 = 22
4 is not a prime number but a composite one.
- Prime number: a natural number that is only divisible by 1 and itself. A prime number has exactly two factors: 1 and itself.
- Composite number: a natural number that has at least one other factor than 1 and itself.
Calculate the greatest (highest) common factor (divisor):
Multiply all the common prime factors, taken by their smallest exponents (the smallest powers).
The greatest (highest) common factor (divisor),
gcf, hcf, gcd (3,896; 4) = 22 = 4
3,896 contains all the prime factors of the number 4
3,896 is divisible by 4.
Why do we need to calculate the greatest common factor?
Once you've calculated the greatest common factor of the numerator and the denominator of a fraction, it becomes much easier to fully reduce (simplify) the fraction to the lowest terms (the smallest possible numerator and denominator).
Other similar operations with the greatest (highest) common factor (divisor):