Factoring Calculator

Index / MATH CALCULATORS

A factoring calculator breaks a quadratic expression like x² + 5x + 6 into two simpler factors, here (x + 2)(x + 3). Factoring shows you the roots of the equation at a glance and is the fastest way to solve many quadratics by hand or in class.

How to use it

  1. Enter the three coefficients a, b and c from your quadratic ax² + bx + c.
  2. Press calculate to see the factored form.
  3. Check the roots it reports: setting each factor to zero gives one root.
  4. Look at the discriminant line to see whether the quadratic factors over the real numbers at all.
  5. Expand the factors back out to confirm they match your original expression.

How the math works

For a quadratic ax² + bx + c, factoring means finding two numbers that multiply to a × c and add up to b. Split the middle term using those two numbers, group the terms in pairs, and pull out the common factor from each pair. What remains is two binomials multiplied together.

A quick test comes first: the discriminant b² − 4ac. If it is a perfect square, the quadratic factors neatly with whole numbers. If it is negative, there are no real roots and the expression cannot be factored over the real numbers.

Worked example

Take x² + 5x + 6. Here a × c is 1 × 6 = 6 and b is 5, so we need two numbers that multiply to 6 and add to 5: 2 and 3. The factored form is (x + 2)(x + 3), and setting each factor to zero gives the roots x = −2 and x = −3. The discriminant is 25 − 24 = 1, a perfect square, which is why it factors so cleanly. With a leading coefficient, 2x² + 7x + 3 factors as (2x + 1)(x + 3).

Frequently asked questions

How do you factor a quadratic step by step?

Find two numbers that multiply to a × c and add to b. Rewrite the middle term using those numbers, group the four terms into two pairs, factor each pair, then factor out the shared binomial. For x² + 5x + 6 the pair is 2 and 3, giving (x + 2)(x + 3).

What changes when a is not 1?

The same method works, you just work with a × c instead of c alone. For 2x² + 7x + 3, a × c is 6 and b is 7, so the numbers are 1 and 6. Splitting the middle term and grouping gives (2x + 1)(x + 3).

What does it mean when a quadratic cannot be factored?

It means no pair of real numbers fits, so the equation has no real roots. Check the discriminant b² − 4ac: x² + x + 1 gives 1 − 4 = −3, a negative value. That quadratic can only be solved with the quadratic formula using complex numbers.

Is factoring better than the quadratic formula?

Factoring is faster when it works, because you read the roots straight off the factors. The quadratic formula always works, even when nothing factors, but it takes longer and is easier to mistype. Most students factor first and fall back on the formula only when factoring fails.

What is a perfect square trinomial?

It is a quadratic that factors into the same binomial twice. x² + 2x + 1 becomes (x + 1)² because the first and last terms are squares and the middle term is twice their product. Its discriminant is zero, so both roots are the same number.

Related calculators