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

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.

More calculators