# What is the Greatest Common Factor (GCF) of 40 and 60?

Are you on the hunt for the GCF of 40 and 60? Since you're on this page I'd guess so! In this quick guide, we'll walk you through how to calculate the greatest common factor for any numbers you need to check. Let's jump in!

Want to quickly learn or show students how to find the GCF of two or more numbers? Play this very quick and fun video now!

First off, if you're in a rush, here's the answer to the question **"what is the GCF of 40 and 60?"**:

GCF of 40 and 60 = 20

## What is the Greatest Common Factor?

Put simply, the GCF of a set of whole numbers is the largest positive integer (i.e whole number and not a decimal) that divides evenly into all of the numbers in the set. It's also commonly known as:

- Greatest Common Denominator (GCD)
- Highest Common Factor (HCF)
- Greatest Common Divisor (GCD)

There are a number of different ways to calculate the GCF of a set of numbers depending how many numbers you have and how large they are.

For smaller numbers you can simply look at the factors or multiples for each number and find the greatest common multiple of them.

For 40 and 60 those factors look like this:

- Factors for 40: 1, 2, 4, 5, 8, 10,
**20**, and 40 - Factors for 60: 1, 2, 3, 4, 5, 6, 10, 12, 15,
**20**, 30, and 60

As you can see when you list out the factors of each number, 20 is the greatest number that 40 and 60 divides into.

## Prime Factors

As the numbers get larger, or you want to compare multiple numbers at the same time to find the GCF, you can see how listing out all of the factors would become too much. To fix this, you can use prime factors.

List out all of the prime factors for each number:

- Prime Factors for 40: 2, 2, 2, and 5
- Prime Factors for 60: 2, 2, 3, and 5

Now that we have the list of prime factors, we need to find any which are common for each number.

Looking at the occurences of common prime factors in 40 and 60 we can see that the commonly occuring prime factors are 2, 2, and 5.

To calculate the prime factor, we multiply these numbers together:

GCF = 2 x 2 x 5 = 20

## Find the GCF Using Euclid's Algorithm

The final method for calculating the GCF of 40 and 60 is to use Euclid's algorithm. This is a more complicated way of calculating the greatest common factor and is really only used by GCD calculators.

If you want to learn more about the algorithm and perhaps try it yourself, take a look at the Wikipedia page.

Hopefully you've learned a little math today and understand how to calculate the GCD of numbers. Grab a pencil and paper and give it a try for yourself. (or just use our GCD calculator - we won't tell anyone!)