🎉 Launch offer — save 30% on every plan, locked in for early families. See plans →

Greatest Common Factor (GCF, HCF or GCD)

MathPublished

What Is the Greatest Common Factor (GCF)?

The greatest common factor is the largest positive integer that divides two or more numbers evenly without leaving a remainder. Finding this value is an essential skill for simplifying fractions, scaling ratios, and dividing objects into equal groups.


To find the greatest common factor, you first need to understand factors. Factors are whole numbers that multiply together to make a specific product. When two or more numbers share the same factors, those shared values are called common factors. The greatest common factor is simply the largest number in that shared list.


The greatest common factor of two numbers is the largest divisor they share.

A Venn diagram shows the factors of 12 and 18. The shared factors 1, 2, 3, and 6 are in the intersection. The number 6 is highlighted as the greatest common factor.

What Is Greatest Common Factor (GCF, HCF or GCD)?

The greatest common factor describes the largest integer that divides perfectly into a set of numbers. Depending on where you study mathematics, this concept may be referred to by a few different names.


You might see it called the Highest Common Factor (HCF) or the Greatest Common Divisor (GCD). These terms all mean exactly the same thing. Whether you are asked to find the GCF, the HCF, or the GCD, your goal is to find the largest shared divisor.

When two numbers have a greatest common factor of 11, they are called relatively prime or coprime. This means they share no other factors.

When to Use It

Finding the greatest common factor is a practical skill used frequently in mathematics and everyday problem-solving.


You use the greatest common factor when simplifying fractions. Dividing both the numerator and the denominator by their GCF reduces the fraction to its simplest form in one step.

It is also used when scaling ratios down to their smallest proportional values. In algebra, factoring expressions often requires pulling out the greatest common factor of the coefficients and variables before moving to the next step.

Step-by-Step Method

There are three main methods for finding the greatest common factor. The best method depends on the size of the numbers you are working with.


Method 1: Listing Factors

  1. List every factor for each number from smallest to largest.
  2. Circle or highlight the factors that appear in every list.
  3. Identify the largest number among the shared factors. This is the greatest common factor.

This method works well for small numbers under 3030, where listing every factor is quick.


Method 2: Prime Factorization

  1. Break each number down into its prime factors using a factor tree or division ladder.
  2. Identify the prime factors that both numbers share.
  3. Multiply the shared prime factors together to find the greatest common factor.

This method is highly effective for medium and large numbers because it removes the need to list every single divisor.

Two prime factor trees for 36 and 48. The prime factors of 36 are 2, 2, 3, 3. The prime factors of 48 are 2, 2, 2, 2, 3. The shared prime factors 2, 2, and 3 are circled.

Method 3: The Division Method

  1. Divide the larger number by the smaller number to find a quotient and a remainder.
  2. Divide the previous divisor by the new remainder.
  3. Continue this process until the remainder is exactly zero. The last divisor you used is the greatest common factor.

This is based on the Euclidean Algorithm and is the fastest method for very large numbers that are difficult to factor.

BUILT AROUND YOUR CHILD

A learning plan shaped by your child, not the class

State-aligned Math plus our own Logic and English curriculum. An adaptive baseline test finds the gaps and fills them.

Visual Worked Examples

Let us apply the three methods to progressively larger numbers.

Example 1: Using the listing method


Question: What is the greatest common factor of 1616 and 2424?


Method:

  1. List the factors of 1616: 1,2,4,8,161, 2, 4, 8, 16.
  2. List the factors of 2424: 1,2,3,4,6,8,12,241, 2, 3, 4, 6, 8, 12, 24.
  3. Identify the common factors: 1,2,4,81, 2, 4, 8.
  4. Choose the largest common factor.

Answer: The greatest common factor is 88.


Check: 16÷8=216 \div 8 = 2 and 24÷8=324 \div 8 = 3. The quotients 22 and 33 share no other factors.


Example 2: Using prime factorization


Question: What is the greatest common factor of 4545 and 6060?


Method:

  1. Find the prime factorization of 4545: 45=3×3×545 = 3 \times 3 \times 5.
  2. Find the prime factorization of 6060: 60=2×2×3×560 = 2 \times 2 \times 3 \times 5.
  3. Identify the prime factors they share: they both have one 33 and one 55.
  4. Multiply the shared prime factors together: 3×5=153 \times 5 = 15.

Answer: The greatest common factor is 1515.


Check: 45÷15=345 \div 15 = 3 and 60÷15=460 \div 15 = 4. The remaining quotients are coprime.


Example 3: Using the division method


Question: What is the greatest common factor of 105105 and 135135?


Method:

  1. Divide 135135 by 105105. The result is 11 with a remainder of 3030.
  2. Divide the previous divisor (105105) by the remainder (3030). The result is 33 with a remainder of 1515.
  3. Divide the previous divisor (3030) by the new remainder (1515). The result is 22 with a remainder of 00.
  4. Because the remainder is zero, the last divisor used (1515) is the GCF.
Three lines showing the division method equations. Line 1: 135 = 105 times 1 + 30. Line 2: 105 = 30 times 3 + 15. Line 3: 30 = 15 times 2 + 0. The divisor 15 is highlighted as the greatest common factor.

Answer: The greatest common factor is 1515.


Check: 105÷15=7105 \div 15 = 7 and 135÷15=9135 \div 15 = 9. The numbers 77 and 99 share no factors other than 11.

How to Check the Answer

Whenever you calculate a greatest common factor, you can quickly verify your answer by performing division. Divide each of the original numbers by your proposed greatest common factor.

First, confirm that every division results in a whole number. If there is a remainder, your number is not a factor at all.


Second, examine the resulting quotients. They must share no common factors other than 11. If they still share a factor, it means you did not find the greatest common factor; you only found a smaller factor.

Common Mistakes

A frequent mistake is confusing factors with common multiples. Remember that factors divide a number evenly and are never larger than the number itself. Multiples are created by multiplying a number by integers and grow infinitely larger.


Because of this vocabulary overlap, many students accidentally mix up the GCF with the least common multiple. If you are asked for the GCF, your answer will be smaller than or equal to the starting numbers. If you are asked for the LCM, your answer will be larger than or equal to the starting numbers.


To fully master the differences, you can practice solving problems that compare the GCF and LCM side by side.

A parent reviewing their child's subject progress on a laptop
FOR PARENTS

See exactly where your child is strong — and where not

Chapter-by-chapter progress, mastery scores and lesson reports. Request custom worksheets from an academic counsellor.

Practice questions

Question

A Venn diagram titled Prime Factors. The left circle for 18 contains 3. The right circle for 30 contains 5. The intersection contains 2 and 3.

Based on the Venn diagram of prime factors above, what is the greatest common factor of 1818 and 3030?

  • 22

  • 33

  • 66

  • 9090

Answer:

66

Question

What is the greatest common factor of 2828 and 4242?

  • 22

  • 77

  • 1414

  • 8484

Answer:

1414

Question

Number AA has the prime factorization 2×3×3×52 \times 3 \times 3 \times 5.

Number BB has the prime factorization 2×2×3×72 \times 2 \times 3 \times 7.

What is their greatest common factor?

  • 66

  • 1212

  • 3030

  • 1,2601{,}260

Answer:

66

Question

A student claims that the greatest common factor of 1212 and 2020 is 6060. What is the actual greatest common factor?

  • 22

  • 44

  • 240240

  • 6060

Answer:

44

Question

A teacher has 2424 blue markers and 3636 red markers. She wants to divide them into identical packs with no markers left over. What is the greatest number of identical packs she can make?

  • 44

  • 66

  • 1212

  • 7272

Answer:

1212

Early access

Join the COPRIMES waitlist

Tell us a little about your child. We'll email you when your spot opens, and early families lock in launch pricing.

Early-access emails only. Unsubscribe anytime.