Education
Factoring Calculator
Paste a quadratic or linear expression in one variable. The calculator pulls out the greatest common factor, recognizes the difference of two squares, and finds the integer-root factoring of ax² + bx + c when it exists.
Expression
Enter a quadratic or linear polynomial in one variable. Supported shapes: ax² + bx + c, ax² − b², and ax + b.
Use ^ for powers, * for explicit multiplication, and - for minus. · e.g. x^2 + 5x + 6
Single letter. · e.g. x
Supported methods
- Pull out the greatest common factor from each term.
- Recognize the difference of two squares: a²x² − b² = (ax − b)(ax + b).
- Factor a quadratic with integer roots using the quadratic formula and reverse Vieta.
Irrational or complex roots are reported instead of being forced into a fake factoring.
Factored form
(x + 2)(x + 3)
Trying to factor a quadratic with irrational roots? Use the quadratic formula calculator for the exact roots, or the scientific calculator for a numeric approximation.
Examples
x² + 5x + 6
(x − -2)(x − -3) = (x + 2)(x + 3)
2x² + 7x + 3
(2x − -1)(2x − -6) reduced to (2x + 1)(x + 3)
9x² − 16
(3x − 4)(3x + 4)
6x + 9
3(2x + 3)
How it works
The calculator parses the expression term by term and collects the coefficients of x², x, and the constant. From there it picks the right strategy.
GCF · ax + b = g · (a/g · x + b/g) where g = gcd(a, b)
Difference of squares · a²x² − b² = (ax − b)(ax + b)
Quadratic with integer roots · ax² + bx + c = a(x − r₁)(x − r₂)
Related algebra and arithmetic calculators
- Factor calculator for the integer factor counterpart (factors and prime factorization of a whole number).
- Quadratic formula calculator for the exact roots of ax² + bx + c = 0, even when they are irrational or complex.
- Fraction calculator for arithmetic on simplified fractions that often appear in factored forms.
- Scientific calculator for numeric checks of the factored form against the original expression.
- All education calculators.
Frequently asked questions
Factoring means writing the expression as a product of simpler expressions. For example, x² + 5x + 6 factors as (x + 2)(x + 3). Factoring is the reverse of expanding (FOIL).
Quadratic expressions ax² + bx + c with integer roots, the difference of two squares like 9x² − 16, linear expressions ax + b where a and b share a common factor, and any combination once the greatest common factor is pulled out.
If the discriminant b² − 4ac is negative, the quadratic has no real roots and cannot factor over the integers or the reals. If the discriminant is positive but not a perfect square, the roots are irrational and the factoring would not be clean. In both cases the calculator says so instead of pretending.
The quadratic formula calculator returns the roots of ax² + bx + c = 0, even when the roots are irrational or complex. The factoring calculator returns the factored form when it exists as a clean product of binomials with integer coefficients.
Not directly. It supports degree-2 quadratics (and linears and constants). For higher-degree work, you usually factor by grouping, by inspection, or with synthetic division after finding a rational root.
Any expression of the form a²x² − b² with a and b positive integers matches the identity a²x² − b² = (ax − b)(ax + b). The calculator checks whether the leading coefficient and the negated constant are both perfect squares.
Related calculators
Education
Final Grade Calculator
Calculate your final course grade from your current grade and your final exam score.
Education
Weighted Grade Calculator
Combine assignments, quizzes, and exams by weight to get a precise weighted course average.
Education
Final Exam Calculator
Find out exactly what you need to score on your final exam to hit your target course grade.