Factoring calculator
How to factor a quadratic
Three methods, in the order to try them
1. Take out the GCF first. If every coefficient shares a factor, remove it before anything else — everything after gets easier. In 6x² + 9x, both terms share 3x: 6x² + 9x = 3x(2x + 3), and that is already fully factored.
2. Split the middle term (grouping). For 2x² + 7x + 3, multiply a × c = 2 × 3 = 6, and find the pair of 6 that adds to b = 7: that is 1 and 6. Split the middle term with them: 2x² + x + 6x + 3. Group in twos: x(2x + 1) + 3(2x + 1). The shared bracket is the giveaway — the answer is (2x + 1)(x + 3). Expanding it back gives 2x² + 7x + 3, so it checks.
3. Difference of squares. When a quadratic is one square minus another, it factors on sight: a² − b² = (a − b)(a + b). So x² − 16 = (x − 4)(x + 4), and with coefficients, 4x² − 9 = (2x − 3)(2x + 3), because 4x² is (2x)² and 9 is 3².
Common mistakes to avoid
- Skipping the GCF. Factoring 4x² + 10x as (4x + …)(x + …) is misery; pull out 2x first and it becomes 2x(2x + 5), done in one line.
- Sign errors with a negative constant. In x² − x − 6 the pair must multiply to −6 and add to −1, so the signs differ: (x − 3)(x + 2). Picking (x + 3)(x − 2) instead gives a middle term of +x, not −x.
- Trying to factor a sum of squares. x² + 9 does not factor over the real numbers — difference of squares works, sum of squares does not.
- Assuming everything factors. x² + x + 1 has discriminant 1 − 4 = −3, so it has no real factors at all. Checking the discriminant first tells you whether to keep hunting.
Frequently asked questions
How do you factor x² + 5x + 6?
What if the quadratic can't be factored?
What is the discriminant?
Can it factor quadratics where a ≠ 1?
What is factoring used for?
Is this factoring calculator free?
Worked example: factor x² + 5x + 6
Look for two numbers that multiply to 6 and add to 5: that's 2 and 3. So x² + 5x + 6 = (x + 2)(x + 3). Check by expanding: x² + 3x + 2x + 6 = x² + 5x + 6. ✓
The same idea cracks every simple quadratic: list the factor pairs of the constant term, pick the pair that adds to the middle coefficient, and mind the signs — if the constant is negative, the two numbers have opposite signs. Factoring is also the fastest way to solve x² + 5x + 6 = 0: the answers are x = −2 and x = −3.