Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library

Unlock Unlimited Help

Try unlimited chats, explanations, practice, flashcards, and more free for 7 days.

7 days free · cancel anytime

MathGPT Unlimited

  • Chats and explanations
  • Personalized practice exams
  • Custom study guides
  • Flashcard sets
  • Interactive graphs
  • Cancel anytime
Choose a billing period
Ask a parent to pay

No charge for 7 days. After the trial, your selected plan renews automatically until cancelled. Cancel anytime from your plan page; payments are processed securely by Stripe.

Factor polynomials step by step

Use the free factoring polynomials calculator to model the algebraic relationship, calculate the requested quantity, and verify it in the original expression. Choose a focused operation below to calculate, inspect the method, and connect the result to a visual model.

The visual updates with your calculation.

Result—Choose a mode, enter the known values, and calculate.
Show your work Step-by-step method
  1. The calculation method and verification will appear here.
Ask MathGPT for a full symbolic explanation →
Algebra

Factoring Polynomials Calculator explained

The short version

  • Factoring turns a sum of terms into a product of brackets, which is what lets you solve by setting each bracket to zero.
  • Count the terms first: two terms points at a difference of squares or cubes, three at a trinomial, four at grouping.
  • Pull out the greatest common factor before anything else, and check afterwards that no bracket can still be split.

The formula this page uses

a² − b² = (a − b)(a + b) a³ + b³ = (a + b)(a² − ab + b²) ax² + bx + c = a(x − r₁)(x − r₂)

What each part means

SymbolWhat it means
GCF — Greatest common factorThe biggest thing that divides every term, numbers and letters together. Take it out first.
a, b — The two pieces being squared or cubedIn 9x² − 25 they are 3x and 5, because (3x)² = 9x² and 5² = 25.
r₁, r₂ — The rootsThe x values that make the polynomial 0. Each one gives a bracket.
prime — Cannot be factoredA polynomial with no further split over the whole numbers, like x² + 16.

Show your work: a full example

  1. Factor completely6x³ − 9x² − 60x
  2. Greatest common factor of 6, 9 and 60 is 3, and every term has an x3x(2x² − 3x − 20)
  3. For the trinomial, multiply 2 by −202 × (−20) = −40
  4. Find two numbers that multiply to −40 and add to −3−8 and 5
  5. Split the middle term2x² − 8x + 5x − 20
  6. Group in pairs and pull out the common piece2x(x − 4) + 5(x − 4) = (2x + 5)(x − 4)
  7. Put the GCF back on the front6x³ − 9x² − 60x = 3x(2x + 5)(x − 4)

A second, different case

  1. A different case: four terms, so try grouping3x³ + 2x² − 12x − 8
  2. Split into two pairs(3x³ + 2x²) + (−12x − 8)
  3. Take out the common factor of each pairx²(3x + 2) − 4(3x + 2)
  4. The bracket (3x + 2) is now shared(3x + 2)(x² − 4)
  5. x² − 4 is a difference of squares, so keep going(3x + 2)(x − 2)(x + 2)
  6. Now a case that stops earlyx² + 16 is a sum of squares, and (x + 4)² is x² + 8x + 16, so that is not it
  7. Say so plainlyx² + 16 is prime over the real numbers and cannot be factored further
Copy-ready example

6x³ − 9x² − 60x

Factor completely

Count the terms, then pick the method

TermsPattern to tryExampleFactored
2difference of squares9x² − 25(3x − 5)(3x + 5)
2sum of cubes8x³ + 27(2x + 3)(4x² − 6x + 9)
2sum of squaresx² + 16prime, no real factoring exists
3trinomial with leading 1x² − 11x + 30(x − 5)(x − 6)
3trinomial with a leading number2x² − 3x − 20(2x + 5)(x − 4)
3perfect square trinomial9x² − 30x + 25(3x − 5)²
4grouping3x³ + 2x² − 12x − 8(3x + 2)(x − 2)(x + 2)

Three mistakes to check for

What students writeWhy it's wrongDo this instead
6x³ − 9x² − 60x = 3x(2x² − 3x − 20), doneOnly the common factor was taken. The trinomial inside still splits, so the answer is not complete.Carry on: 3x(2x + 5)(x − 4).
x² + 16 = (x + 4)²(x + 4)² multiplies out to x² + 8x + 16, which has an extra 8x that was never there.A sum of two squares does not factor over the reals, so leave x² + 16 alone.
2x² − 3x − 20 = (2x − 5)(x + 4)That expands to 2x² + 3x − 20, so the middle sign is backwards.Swap the signs: (2x + 5)(x − 4) gives 2x² − 8x + 5x − 20 = 2x² − 3x − 20.

Questions about the Factoring Polynomials Calculator

What exactly does 'factor completely' mean?

It means no bracket in your answer can be broken down any further over the whole numbers. 3x(2x² − 3x − 20) looks factored, but the trinomial still splits, so it does not count as complete.

How can I tell a polynomial will not factor before wasting time?

For a quadratic, work out b² − 4ac. If it is not a perfect square, no whole-number brackets exist. 2x² − 3x − 20 gives 9 + 160 = 169 = 13², which is the promise that it will split neatly.

Why take the GCF out first?

Because it shrinks every number you have to think about. Trying to split 6x³ − 9x² − 60x directly means hunting through factors of 6 and 60, while 2x² − 3x − 20 only needs factors of 40.

Does x² − 3 really not factor?

It does not factor over the whole numbers or the fractions, which is what school questions usually mean. Over the real numbers it is (x − √3)(x + √3), so the honest answer depends on which number system the question is working in.

Where to go next

Calculate, interpret, verify.

This workspace keeps the formula and the meaning together. Decimal results are rounded for display; retain full precision when you continue a calculation.

01

Enter known values

Match each input to the quantities in the problem and keep units consistent.

02

Use the relationship

The result panel identifies the formula or algorithm and shows the main substitutions.

03

Read the visual

Use the diagram, plot, or data display to check scale, direction, and plausibility.

04

Practice unaided

Move to targeted questions once you can explain why the method applies.

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Recommended next tools

Calculators that work well with this one

See all calculators →

Algebra calculator

Evaluate algebraic relationships and inspect the working.

Open free tool

Quadratic formula calculator

Find roots and connect the discriminant to the graph.

Open free tool

Graphing calculator

Compare equations, roots, intercepts, and inequalities visually.

Open free tool
Learn the mathematics

Understand algebra behind this calculator

A calculator confirms an answer. Working the method yourself is what makes the next problem faster.