How To Factor Using GCF | Split Expressions The Clean Way

Factoring by GCF means pulling out the largest shared number and variable parts from every term, then writing what remains inside parentheses.

Factoring with the greatest common factor is one of the first algebra skills that makes later topics feel easier instead of messy. Once you can spot the shared part of an expression, you can rewrite long terms into a shorter form that is easier to read, solve, and check.

This method works by reversing distribution. If you know that 3x(2x + 5) expands to 6x² + 15x, then factoring by GCF is the move in the other direction: take 6x² + 15x and pull out 3x.

Students often miss points here for one reason: they grab a common factor, but not the greatest one. That still changes the expression into a product, yet it is not fully factored. The good news is that this is easy to fix once you use a steady routine each time.

What GCF Means In Algebra Terms

GCF stands for greatest common factor. In algebra, that shared factor can include:

  • A number part, like 2, 3, 5, or 12
  • A variable part, like x, y, or
  • Both together, like 4x or 6ab

To be a common factor, the factor must divide every term in the expression. If one term does not contain it, that part cannot be in the GCF.

Take 12x³ + 18x². The coefficients 12 and 18 share 6. The variable parts and share . Put those shared parts together and the GCF is 6x².

Then factor it out:

12x³ + 18x² = 6x²(2x + 3)

That single move trims the expression and sets up later work such as solving, graphing, or factoring a quadratic all the way.

How To Factor Using GCF Step By Step

Use this order every time. It keeps sign errors and missing factors out of your work.

Step 1: List The Terms Clearly

Read the expression term by term. Terms are separated by plus or minus signs. Write them cleanly if the line looks crowded.

In 8x²y – 12xy + 20x, the terms are:

  • 8x²y
  • -12xy
  • 20x

Step 2: Find The Greatest Common Number Factor

Look only at the coefficients first. Ask: what is the largest number that divides all of them?

For 8, 12, and 20, the common number factors include 1, 2, and 4. The greatest one is 4.

Step 3: Find The Common Variable Factor

Now check the variables. A variable is common only if it appears in every term. Use the smallest exponent that appears in all terms.

In 8x²y – 12xy + 20x:

  • x appears in all three terms, with exponents 2, 1, and 1, so use x
  • y is missing from 20x, so y is not part of the GCF

So the variable part of the GCF is x.

Step 4: Write The GCF Outside Parentheses

Combine the number and variable parts. Here, the GCF is 4x. Write:

8x²y – 12xy + 20x = 4x(   )

Step 5: Divide Each Term By The GCF

Fill the parentheses by dividing each original term by 4x.

  • 8x²y ÷ 4x = 2xy
  • -12xy ÷ 4x = -3y
  • 20x ÷ 4x = 5

Final factored form:

8x²y – 12xy + 20x = 4x(2xy – 3y + 5)

Step 6: Check By Distributing Back

This check takes a few seconds and catches most mistakes. Distribute 4x across the parentheses:

  • 4x · 2xy = 8x²y
  • 4x · (-3y) = -12xy
  • 4x · 5 = 20x

You got the original expression back, so the factoring is correct.

Common Patterns You Should Spot Early

Factoring by GCF gets faster when you train your eye to spot a few patterns. This is where most speed gains come from.

Shared Variables With Different Exponents

Use the lowest exponent from the terms that all share the variable. If you have x⁵, , and , the common part is .

That rule works the same way with multiple variables. In 15a²b³ – 20ab² + 10ab, the common variable part is ab.

Negative First Term

If the first term is negative, many teachers pull out a negative GCF so the first term inside parentheses turns positive. It makes the result easier to read.

Start with -9x + 15. You could factor out 3 and get 3(-3x + 5). You can also factor out -3 and get -3(3x – 5). Both are correct.

In classwork and tests, the second form is often preferred because the leading term inside the parentheses is positive.

No Common Variable In Every Term

Students often try to force a variable into the GCF. Don’t. If a variable is missing from one term, it does not belong in the GCF.

In 6x² + 9x + 12, the number GCF is 3. There is no variable GCF, since 12 has no x.

So the factored form is 3(2x² + 3x + 4).

GCF Factoring Checklist For Numbers And Variables

Use this table while you practice. It helps you decide what can stay outside the parentheses and what must stay inside.

What To Check Rule To Use Mini Example
Coefficients Pick the largest number that divides every coefficient 12, 18, 30 → 6
Single variable Use it only if it appears in every term x, x², x³ → x
Variable exponent Use the smallest shared exponent x⁴, x², x → x
Two variables Check each variable on its own 6xy, 9x, 12x → x only
Constant term present No variable can come from a pure number term 8x² + 4x + 12 → variable part is none
Negative signs You may factor out a negative to make the inside lead term positive -6x + 9 → -3(2x – 3)
Fractions or decimals Rewrite with a common denominator or clear decimals first if needed 0.5x + 1.5 → 0.5(x + 3)
Final check Distribute back to confirm every term matches 4x(2x + 1) → 8x² + 4x

If you want extra practice problems and worked examples, Khan Academy has a solid set on factoring polynomials by taking a common factor.

Taking A GCF Out Of An Expression Without Mistakes

This is the part where small slips happen. Most wrong answers come from one of four habits: using a factor that is not the greatest, dropping a sign, missing a variable, or dividing one term wrong inside the parentheses.

Watch The Sign On The Middle Term

Minus signs stick to the term after them. When you divide, keep that sign with the quotient. In 14x² – 21x + 7, if you factor out 7, the middle term inside must be -3x, not +3x.

Correct form: 7(2x² – 3x + 1)

Factor Completely, Not Partly

Take 16x³y + 24x²y². A student may pull out 2x and stop. That is a common factor, but not the greatest one. The GCF is 8x²y.

Full factored form:

16x³y + 24x²y² = 8x²y(2x + 3y)

Do Not Mix Terms While Dividing

Each term is divided by the GCF on its own. Do not try to divide the whole expression at once in your head. Write each quotient line by line. It takes a little more ink and saves a lot of points.

Use Prime Factors When Numbers Get Large

If the coefficients look awkward, break them into prime factors first. That makes the number GCF easy to see.

For 42x² + 63x:

  • 42 = 2 × 3 × 7
  • 63 = 3 × 3 × 7

The shared number part is 3 × 7 = 21, so the GCF is 21x. The factored result is 21x(2x + 3).

Math Is Fun also has a clean refresher on greatest common factor if you want a quick check on the number side of GCF before mixing in variables.

Worked Practice Set With Full GCF Answers

Use these as a self-check set. Try each one on your own first, then compare.

Expression GCF Factored Form
9x + 27 9 9(x + 3)
12x² + 18x 6x 6x(2x + 3)
15ab – 25a 5a 5a(3b – 5)
14m²n – 21mn² 7mn 7mn(2m – 3n)
-8x³ + 20x² -4x² -4x²(2x – 5)
6p²q + 9pq + 3p 3p 3p(2pq + 3q + 1)
24y³ – 36y² + 12y 12y 12y(2y² – 3y + 1)

When GCF Is The First Step, Not The Last Step

Factoring by GCF often opens the door to more factoring. This shows up a lot with quadratics.

Take 6x² + 15x. Pull out the GCF first:

6x² + 15x = 3x(2x + 5)

That one is done, since 2x + 5 does not factor more over the integers.

Now look at 6x² + 18x + 12. Start the same way:

6x² + 18x + 12 = 6(x² + 3x + 2)

The trinomial inside still factors:

x² + 3x + 2 = (x + 1)(x + 2)

So the full factored form is:

6(x + 1)(x + 2)

That is why many teachers say, “GCF first.” It keeps you from missing a factor and helps you reach the fully factored answer.

Practice Habits That Build Speed And Accuracy

If you want this skill to feel automatic, focus on repetition with short sets instead of one long session. Ten clean problems beat fifty rushed ones.

Use A Two-Pass Method

On the first pass, find the GCF only. On the second pass, divide each term and check by distribution. This split keeps your work neat and cuts errors.

Circle The Shared Pieces

When learning, mark the coefficient GCF and common variables in each term before you write the factored form. That little mark-up trains your eye.

Say The Exponent Rule Out Loud

“Smallest exponent that all terms share.” If you say that line each time, the variable part of GCF gets much easier.

Check One Hard Problem Per Set

Mix in one expression with a negative leading term or two variables. Those are the ones that trip people up on quizzes.

Final Wrap-Up On Factoring By GCF

Factoring with GCF is the clean-up move of algebra. You scan the terms, pull out the largest shared factor, and leave the rest inside parentheses. Once that habit sticks, expressions get shorter, your steps get cleaner, and later factoring work gets easier to manage.

Use the same routine each time: terms, number GCF, variable GCF, divide each term, then distribute back to check. That steady pattern is what turns this from a guessing game into a skill you can trust on classwork and tests.

References & Sources