General

🧩 Factoring Calculator

Factor a quadratic expression ax²+bx+c over the rationals when possible.

What is a Factoring Calculator?

This calculator factors quadratic expressions and shows the steps.

How it's calculated

x² + (a+b)x + ab = (x+a)(x+b)
The key is finding two numbers that add to give b and multiply to give c.

Step-by-step example

Factoring x² + 7x + 12

Interpretation: This expression equals zero when x=−3 or x=−4.

Why factor at all?

Turning an expression into a product lets you immediately find where it equals zero. For two numbers multiplied together to equal zero, one of them must be zero — so (x−2)(x+3) = 0 instantly tells you x = 2 or x = −3. Left in expanded form (x² + x − 6 = 0), the answer isn't obvious at all. Converting to a product is what reveals the answer.

Good to know

Frequently asked questions

Q. What if an expression doesn't factor nicely?

Some expressions don't factor over rational numbers — use the quadratic formula instead.

Q. How do I find the right two numbers quickly?

List factor pairs of the constant term, then check which pair sums to the coefficient of the middle term.

Q. What if the leading coefficient isn't 1?

For ax²+bx+c, multiply a×c, find two numbers with that product summing to b, then use grouping (the 'ac method').