Factoring Calculator (integer and decimal coefficients)
Enter an expression in x and it will be factored for you.
🔒 Your input is never sent to a server.
Solution
How to use
Type the expression like x^2 - 5x + 6. Use ^ for powers; the multiplication sign can be omitted (2x^2). The result appears as you type, and Show solution shows the steps. You can also press an example button above to try it.
Supported range and limits
- Only the letter x and integer coefficients are supported. (Expand any parentheses before entering.)
- Factoring is done over the integers. For example, x² − 2 cannot be factored further over the integers (it needs the irrational number √2).
- Linear factors are found at every degree, and a quartic is also tried as a product of two quadratics. For degree 5 and above, any part that does not split into linear factors is left as it is.
- Expressions with several letters (such as a² − b²) and fractions are not supported.
How is it factored?
① First take out the greatest common divisor of all coefficients (the common factor). ② With the rational root theorem, substitute the candidate roots (divisors of the constant term ÷ divisors of the leading coefficient) to find a root p/q, then split off (qx − p) by the factor theorem. ③ If the remainder is a quartic, check whether it is a product of two quadratics. ④ Expand the result again to check that it equals the original expression.
FAQ
It says it cannot be factored.
The expression cannot be split further over the integers. For example, x² + 1 and x² − 2 only factor if you extend to real or complex numbers. You can find the roots with the Quadratic Equation Calculator or the Cubic and Quartic Equation Calculator.
Where can I find the product formulas?
Formulas such as a² − b² = (a + b)(a − b) are collected in the Math Formula Reference.
Results are for reference only and accuracy is not guaranteed. Terms & disclaimer