Skip to content
FiftyCalc Free calculators for all 50 states

Factoring Calculator (GCF of a Polynomial)

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter the whole-number coefficients of a4x⁴ + a3x³ + a2x² + a1x + a0 (use 0 for a missing term). The calculator pulls out the greatest common monomial factor and gives the coefficients left inside the parentheses.

Result

Sample figures

Greatest common factor (GCF)—

Inside the parentheses: coefficient of x⁴ —

  • Inside the parentheses: coefficient of x³—
  • Inside the parentheses: coefficient of x²—
  • Inside the parentheses: coefficient of x—
  • Inside the parentheses: constant term—
  • Degree of the polynomial inside the parentheses—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Factoring Calculator (GCF of a Polynomial)

a4 (coefficient of x⁴): enter a number. Prefilled example: 0.

a3 (coefficient of x³): enter a number. Prefilled example: 6.

a2 (coefficient of x²): enter a number. Prefilled example: 9.

a1 (coefficient of x): enter a number. Prefilled example: -15.

a0 (constant term): enter a number. Prefilled example: 0.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. a4 (coefficient of x⁴): enter a number.
  2. a3 (coefficient of x³): enter a number.
  3. a2 (coefficient of x²): enter a number.
  4. a1 (coefficient of x): enter a number.
  5. a0 (constant term): enter a number.
  6. Read the result: Greatest common factor (GCF); the panel also shows Inside the parentheses: coefficient of x⁴, Inside the parentheses: coefficient of x³, Inside the parentheses: coefficient of x², Inside the parentheses: coefficient of x, Inside the parentheses: constant term and Degree of the polynomial inside the parentheses.

How this calculator works

The numeric part of the GCF is the greatest common divisor of all the nonzero coefficients, found with Euclid's algorithm. The variable part is x raised to the lowest power that appears in every term, which is the power of the lowest-degree term with a nonzero coefficient.

When the leading coefficient is negative, the GCF is taken with a minus sign so that the polynomial inside the parentheses starts with a positive term, the usual convention in algebra textbooks.

Each coefficient inside the parentheses is the original coefficient divided by the numeric GCF, shifted down by the power of x that was factored out. Example: 6x³ + 9x² − 15x = 3x(2x² + 3x − 5).

Factoring out the GCF is the first step of every factoring method. If a quadratic is left inside the parentheses, the Reverse FOIL calculator can try to split it into two binomials.

Worked example

a4 (coefficient of x⁴)0
a3 (coefficient of x³)6
a2 (coefficient of x²)9
a1 (coefficient of x)-15
a0 (constant term)0
Greatest common factor (GCF)3x
Degree of the polynomial inside the parentheses2
Inside the parentheses: constant term-5
Inside the parentheses: coefficient of x3
Inside the parentheses: coefficient of x²2
Inside the parentheses: coefficient of x³0
Inside the parentheses: coefficient of x⁴0

Frequently asked questions

How do you find the GCF of a polynomial?

Find the greatest common divisor of the coefficients, then take the lowest power of each variable that appears in every term. For 12x⁴ − 8x² the GCF is 4x², so 12x⁴ − 8x² = 4x²(3x² − 2).

Why use whole-number coefficients only?

The greatest common divisor is defined for integers. If your polynomial has fractions, multiply every term by a common denominator first and divide the result by it at the end.

What if the GCF is 1?

Then no common factor other than 1 can be pulled out, and the polynomial may still factor in other ways, such as grouping, difference of squares or trinomial factoring.

Can I check the answer?

Yes. Multiply the GCF back into each term inside the parentheses; you must get the original polynomial.

Related calculators