Factoring Calculator
Factor ax² + bx + c into binomials. Enter whole-number coefficients, the calculator extracts any GCF first, then finds the integer factor pair with the cross-check shown.
How to use this calculator
Factoring reverses multiplication: it rewrites ax² + bx + c as (px + q)(rx + s). Enter whole-number coefficients and press Calculate. If a common factor exists it is pulled out first.
How it works
The cross-check: for (px + q)(rx + s), pr must equal a, qs must equal c, and, the key test, ps + qr must equal b (outer + inner). The calculator tries factor pairs until this check passes, or reports that no integer factorization exists.
Worked example
Example: x² + 5x + 6
Step 1, GCF: coefficients 1, 5, 6 share no common factor.
Step 2, Pairs: factors of 1: (1, 1); factors of 6: (2, 3).
Step 3, Cross-check: (x + 2)(x + 3): 1×3 + 2×1 = 5 ✓.
Step 4, Answer: (x + 2)(x + 3). Expand to verify.
Common mistakes
- Skipping the GCF: 2x² + 4x + 2 factors as 2(x+1)(x+1), missing the 2 is the most common incomplete answer.
- Checking only pr and qs: getting a and c right is not enough; the middle term test ps + qr = b is what selects the right pair.
- Forcing a factorization: some quadratics (like x² + 1) do not factor over integers at all. “Unfactorable” is a valid, complete answer.
When to use it
Solving quadratics by factoring (set each binomial to zero), simplifying rational expressions, finding x-intercepts quickly, and anywhere a quadratic needs to be rewritten as a product. New to the method? Read how to factor trinomials.
For a harder case worked end to end, see factoring x⁴−5x²+4, a biquadratic factored by substitution.
Frequently asked questions
To rewrite ax² + bx + c as a product of binomials (px + q)(rx + s), reversing the multiplication you learned with FOIL.
Then no integer pair satisfies the cross-check. The calculator says so plainly and reports the discriminant, the quadratic formula still solves it.
Always. It simplifies the remaining search and is part of a complete answer, the calculator does this step automatically.
Prime factorization breaks a number into primes; this breaks a polynomial into binomials. See the prime factorization calculator for numbers.
Factoring calculator with steps
This factoring calculator shows every step: GCF extraction, grouping, difference of squares, and trinomial factoring, all verified by our calculation engine. Perfect for factoring polynomials, factoring quadratics, and checking your homework.
More factoring questions
Start with the greatest common factor of all terms. Then try grouping, difference of squares (a^2 – b^2 = (a – b)(a + b)), or trinomial factoring. For quadratics that resist factoring, the quadratic formula always works.