Greatest Common Factor

Factors & Multiples practice

Find the greatest common factor of two whole numbers from 4 to 100.

Start Practice

About this practice

Find the greatest common factor of two whole numbers.

Every problem uses two different whole numbers from 4 to 100. You type their greatest common factor, then check your answer. Some pairs share a large factor, some share only 1, and sometimes the smaller number divides the larger.

Typical level: Grade 6 Often taught in Grade 6 (U.S. Common Core 6.NS.B.4); some classes meet it earlier when simplifying fractions. Curriculum timing varies.

What is the greatest common factor?

The greatest common factor (GCF) of two numbers is the largest whole number that divides both numbers evenly.

18 and 24 share the factors 1, 2, 3 and 6. The greatest of these is 6, so GCF(18, 24) = 6.

Compare the factor lists

Factors of 18: 1, 2, 3, 6, 9 and 18. Factors of 24: 1, 2, 3, 4, 6, 8, 12 and 24. Common factors: 1, 2, 3 and 6. The greatest common factor of 18 and 24 is 6.

What is the difference between a factor, a common factor and the GCF?

A factor divides one number evenly: 8 is a factor of 24. A common factor divides both numbers: 3 is a common factor of 18 and 24. The greatest common factor is the largest common factor: 6.

Is the GCF the same as the GCD or HCF?

Yes. The greatest common factor is also called the greatest common divisor (GCD) or the highest common factor (HCF). All three names mean the same number.

How do you find the GCF?

List the factors of each number, find the ones they share, and choose the greatest. Here it is for 18 and 24.

  1. 1. List the factors of each number 18: 1, 2, 3, 6, 9, 18 24: 1, 2, 3, 4, 6, 8, 12, 24 Find them in pairs so none are missed: 18 = 1 × 18 = 2 × 9 = 3 × 6.
  2. 2. Find the common factors 1, 2, 3, 6 These are the numbers in both lists.
  3. 3. Choose the greatest GCF(18, 24) = 6 1, 2 and 3 also divide both numbers, but 6 is the greatest.

How do you find the GCF using prime factorization?

For larger numbers, write each number as a product of primes with its prime factorization. Then multiply the primes the two numbers share, using each shared prime as many times as it appears in both.

  1. 18 = 2 × 3 × 3
  2. 24 = 2 × 2 × 2 × 3
  3. GCF = 2 × 3 = 6

What if one number divides the other?

If the smaller number divides the larger number evenly, the smaller number is the GCF.

Take 8 and 24. 24 ÷ 8 = 3 with no remainder, so 8 divides both numbers. No number greater than 8 can divide 8, so GCF(8, 24) = 8.

Can the GCF be 1?

Yes. If two numbers have no common factor greater than 1, their GCF is 1.

The factors of 8 are 1, 2, 4 and 8. The factors of 15 are 1, 3, 5 and 15. The only factor in both lists is 1, so GCF(8, 15) = 1.

Two numbers whose GCF is 1 are called relatively prime. Neither number has to be prime: 8 and 15 are both composite.

Common GCF mistakes

  • Choosing a common factor, but not the greatest

    Not this

    GCF(18, 24) = 3

    3 divides both numbers, but 6 does too, and 6 is greater.

    Do this

    GCF(18, 24) = 6

    List every common factor (1, 2, 3, 6), then choose the greatest.

  • Choosing a factor of only one number

    Not this

    GCF(18, 24) = 8

    8 divides 24, but 18 ÷ 8 leaves a remainder of 2.

    Do this

    GCF(18, 24) = 6

    Check both numbers: 18 ÷ 6 = 3 and 24 ÷ 6 = 4.