Factoring Calculator

Factor quadratics with roots and discriminant — free, private, no signup.

Roots shown Discriminant Free forever

✓ Meets the ToolVaultly Standard · Last tested: Oct 10, 2026

Try

🔒Private by design. Everything runs in your browser — nothing is uploaded or stored.
Quick answer: enter a, b and c for ax² + bx + c above — e.g. x² + 5x + 6 factors to (x + 2)(x + 3), with roots shown.

Factoring calculator

Short answer: a factoring calculator rewrites ax² + bx + c as a product of linear factors. Enter coefficients above — roots and discriminant included.

How to factor a quadratic

Short answer: find two numbers that multiply to a·c and add to b, then split the middle term. The calculator does this instantly and shows the roots. One step comes first, though: if all three coefficients share a common factor, pull it out before you start — the GCF calculator finds the largest one.

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

Frequently asked questions

How do you factor x² + 5x + 6?
(x + 2)(x + 3) — because 2 × 3 = 6 and 2 + 3 = 5. Tap the preset above to see it factored with roots.
What if the quadratic can't be factored?
If the discriminant (b² − 4ac) is negative, there are no real factors — the calculator tells you so instead of failing silently.
What is the discriminant?
b² − 4ac. Positive: two real roots. Zero: one double root. Negative: no real roots. The calculator shows it for every input.
Can it factor quadratics where a ≠ 1?
Yes — enter any a, b, c, e.g. 2x² + 7x + 3 factors to (2x + 1)(x + 3). Try the preset above.
What is factoring used for?
Solving quadratic equations, simplifying rational expressions, and finding x-intercepts of parabolas.
Is this factoring calculator free?
Yes — unlimited calculations, free forever. No account, no limits. Everything runs in your browser.

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.