Factoring Calculator with Steps

Enter a polynomial and see it broken into factors, with the pattern used at each stage named so you can recognise it next time.

Try

Worked example

Factor 6x² + 11x − 10

  1. Multiply a and c. 6 × −10 = −60
  2. Find two numbers that multiply to −60 and add to 11. 15 and −4
  3. Split the middle term. 6x² + 15x − 4x − 10
  4. Factor by grouping. 3x(2x + 5) − 2(2x + 5)
  5. Take out the common bracket. (3x − 2)(2x + 5)

Answer: (3x − 2)(2x + 5)

Check: Expanding gives 6x² + 15x − 4x − 10 = 6x² + 11x − 10.

This example is written out in full. Enter your own problem above and the solver sets out the working the same way.

Where it's used

Factoring is how equations are solved by hand, how algebraic fractions are simplified, and how the roots and behaviour of a polynomial are read off. It is a prerequisite for partial fractions and limits in calculus.

How to do it by hand

  1. Take out the common factor

    Pull out the greatest common factor of all terms first. It makes everything after easier.

  2. Look for a pattern

    Check for a difference of squares, a perfect square trinomial, or a sum or difference of cubes.

  3. Factor the trinomial

    For ax² + bx + c, find two numbers that multiply to ac and add to b, split the middle term and factor by grouping.

  4. Check by expanding

    Multiply the factors back out. You should recover the original polynomial.

Common mistakes

Questions about factoring

What if a polynomial does not factor?

Some polynomials are irreducible over the integers. The solver will say so and can give the roots with the quadratic formula instead.

Does it factor higher-degree polynomials?

Yes. It uses the rational root theorem and polynomial division to peel off factors one at a time.

What are the sum and difference of cubes formulas?

a³ − b³ = (a − b)(a² + ab + b²) and a³ + b³ = (a + b)(a² − ab + b²). So x³ − 8 = (x − 2)(x² + 2x + 4).

How does factoring by grouping work with four terms?

Pair the terms, factor each pair, and look for a shared bracket. x³ + 2x² + 3x + 6 = x²(x + 2) + 3(x + 2) = (x² + 3)(x + 2).

How do I know I have finished?

When no factor can be factored further over the integers. Always check whether a quadratic factor still factors and whether a common factor was missed.

Instant calculators for factoring

No AI and no limits: answers as you type.

Related step-by-step solvers