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
Take out the common factor
Pull out the greatest common factor of all terms first. It makes everything after easier.
Look for a pattern
Check for a difference of squares, a perfect square trinomial, or a sum or difference of cubes.
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.
Check by expanding
Multiply the factors back out. You should recover the original polynomial.
Common mistakes
- Skipping the common factor and missing a simpler factorisation.
- Treating a sum of squares such as x² + 9 as factorable over the reals.
- Stopping early when a factor can itself be factored again.
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.