Factor any polynomial up to degree six exactly — over the rationals, over the reals and over the complex numbers, kept apart, because they are three different answers to what sounds like one question. "Factor this" is incomplete until you say over what. x² + 1 will not factor over the rationals and...
Exact, and it says over what. Factoring is writing a polynomial as a product of pieces that cannot be broken down further — but “further” depends on which numbers you allow. This works over the rationals in whole-number arithmetic from start to finish, so a factor is proved rather than approximated, and “irreducible” means the search finished and found nothing rather than that nothing turned up.
2 FACTORS
(3x − 2)(x² + 1)
Multiplied back out, these give 3x³ − 2x² + 3x − 2 — the original, exactly. Checked on every keystroke.
“Factor this” has two different answers here, depending on which numbers you allow. Over the rationals it breaks into 2 pieces; over the reals, 2; over the complex numbers it goes all the way to 3 linear factors, as the fundamental theorem of algebra says it must. School questions almost always mean the first of those, and almost never say so.
| Factor | Degree | Times | Its roots |
|---|---|---|---|
| 3x − 2 | 1 | 1 | 2/3 |
| x² + 1 | 2 | 1 | ±i (not real) |
Why the search can end. A rational root written in lowest terms must have its numerator dividing the constant term and its denominator dividing the leading coefficient, which turns an infinite question into 8 candidates — the grid beside this. Quadratic and cubic factors are pinned down the same way: any integer factor g must have g(1) dividing this polynomial at 1 and g(−1) dividing it at −1, and those two values plus the leading coefficient fix the rest of g outright. So every possibility can be listed and tried, and when none divides in, that is the end of the matter.
THE FACTORISATION
This grid is the whole reason factoring can be exact. Root-finding approximates because the answers are usually irrational. Factoring over the rationals asks a smaller question with a finite answer, so it can be settled rather than estimated.
Live calculation · updates as you type
Pick the degree, then type the coefficients from the highest power down. A blank box is a zero — a missing term rather than a missing entry — and you can enter whole numbers, decimals or fractions written as 3/4. Denominators are cleared exactly and the scale reappears in front of the answer.
Read the factorisation, then read the line underneath it. That line multiplies the factors back out and compares them with what you typed, so the answer checks itself in front of you rather than asking to be trusted.
Check the ladder before you call anything irreducible. It shows how far the same polynomial breaks over the rationals, the reals and the complex numbers, and "does not factor" almost always means only the first of those three.
Use the exponent on a factor as an exact multiplicity. It comes from dividing that factor in repeatedly until it stops going, with no tolerance in the decision, which is why it is trustworthy where a numerical root-finder’s clustered roots are not.
| Identity | Formula | When it earns its keep |
|---|---|---|
| Difference of squares | a² − b² = (a − b)(a + b) | The one worth spotting first. There is no sum-of-squares equivalent over the reals. |
| Difference of cubes | a³ − b³ = (a − b)(a² + ab + b²) | The quadratic factor is irreducible whenever a and b are rational and distinct. |
| Sum of cubes | a³ + b³ = (a + b)(a² − ab + b²) | Same shape, both signs flipped. Sums of cubes do factor; sums of squares do not. |
| Perfect square trinomial | a² ± 2ab + b² = (a ± b)² | A repeated factor, which is why the middle term is exactly twice the product. |
| Sophie Germain identity | a⁴ + 4b⁴ = (a² − 2ab + 2b²)(a² + 2ab + 2b²) | Why x⁴ + 4 factors despite having no real roots at all. Almost nobody spots this one. |
| Factor theorem | (x − r) divides p(x) exactly when p(r) = 0 | The bridge between roots and factors, and the reason a root search finds linear factors. |
| Rational root theorem | a root p/q in lowest terms has p | a₀ and q | aₙ | Turns an infinite search into a finite list. This is what makes the answer exact. |
| Factor value test | if g divides f then g(1) | f(1) and g(−1) | f(−1) | Extends the same idea to quadratic and cubic factors, which have no root to find. |
24 Times Table
Calculate instantly →
Quadratic Equation Solver
Calculate instantly →
Logarithm Calculator
Calculate instantly →
Fraction Calculator
Calculate instantly →
Fraction Simplifier
Calculate instantly →
Linear Equation Solver
Calculate instantly →
25 Times Table
Calculate instantly →
26 Times Table
Calculate instantly →
27 Times Table
Calculate instantly →
Simultaneous Equations Solver (2×2)
Calculate instantly →
28 Times Table
Calculate instantly →
Exponent Calculator
Calculate instantly →
29 Times Table
Calculate instantly →
30 Times Table
Calculate instantly →
Times Tables Mega Calculator
Calculate instantly →
Square Root of 10
Calculate instantly →
Square Root of 1
Calculate instantly →
Square Root Mega
Calculate instantly →
Square Root of 2
Calculate instantly →
23 Times Table
Calculate instantly →
Last updated: August 3, 2026 · Exact integer arithmetic over the rationals · real-root counts by Sturm’s theorem · rational roots proved, not approximated