Factoring Calculator

FACTORING POLYNOMIAL ROOTS MATHEMATICS
Share:

Factor a quadratic, cubic, or higher polynomial into linear factors and find its roots — real and complex — with the factored form shown. Free, in your browser.

RT-MAT-013 · Mathematics

Factoring Calculator

Use ^ for powers, e.g. x^3 - 6x^2 + 11x - 6.

Advertisement
After tool · AD-W1Responsive · Post-tool

How to Use the Factoring Calculator

Enter a polynomial

Type it in ordinary notation, like x^2 - 5x + 6 or x^3 - 6x^2 + 11x - 6, using ^ for powers.

Read the roots

The calculator finds the roots — the values of x that make the polynomial zero — including any complex roots, shown clearly.

See the factored form

When the polynomial factors into real linear pieces, you get the factored form, like (x − 2)(x − 3), ready to copy into your working.

Understand the special cases

If a polynomial cannot be factored over the real numbers, the tool explains why — it has complex roots — and gives those roots in full.

Advertisement
After how-to · AD-W2Responsive

Factoring and Roots

Breaking a Polynomial Apart

Factoring a polynomial means writing it as a product of simpler pieces — turning x² − 5x + 6 into (x − 2)(x − 3). It is one of the most important skills in algebra because it is the key that unlocks a polynomial's roots: a product is zero exactly when one of its factors is zero, so the factored form immediately tells you that the polynomial is zero at x = 2 and x = 3. Roots, factors, and the graph crossing the x-axis are three views of the same thing, and factoring is how you move between them. This calculator finds them for you: it searches for rational roots, divides them out one at a time using synthetic division (the polynomial echo of peeling off a factor), and for the quadratic that remains it applies the quadratic formula. The result is the full set of roots and, whenever the polynomial factors cleanly over the real numbers, the factored form itself.

The deep idea making this possible is the factor theorem: (x − a) is a factor of a polynomial precisely when a is a root, that is, when substituting a gives zero. So finding roots and finding factors are the same problem approached from two directions. For quadratics there is always the quadratic formula as a fallback, which is why this tool can always report a quadratic's roots even when they are irrational (like ±√2) or complex (like −1 ± 2i). For cubics and higher, the practical route taught in schools — and used here — is the rational root theorem: any rational root must be a simple fraction built from the factors of the constant term over the factors of the leading coefficient, which gives a short list of candidates to test. Once a rational root is found and divided out, the problem shrinks by one degree, and you repeat. This calculator runs that whole loop automatically.

"Roots, factors, and x-axis crossings are three faces of one idea. Factoring is the move that lets you read a polynomial's zeros straight off the page."

When It Won't Factor

Not every polynomial factors into neat pieces with whole-number roots, and an honest factoring tool has to say so. A quadratic like x² + 2x + 5 has no real roots at all — its graph never touches the x-axis — because its roots are the complex numbers −1 ± 2i. Over the real numbers it is "irreducible": it cannot be broken into real linear factors, and the best real factorisation leaves that quadratic intact. This calculator computes those complex roots and explains the situation rather than forcing a wrong answer or simply failing. Likewise, a quadratic with irrational roots, such as x² − 2 (roots ±√2), does not factor over the whole numbers even though it has perfectly good real roots. Understanding these distinctions — rational versus irrational versus complex roots — is a real part of the algebra, and seeing the tool handle each case correctly builds the intuition. Whether you are checking homework, solving an equation by factoring, or exploring a curve's behaviour, this calculator gives the roots and the factored form instantly and privately in your browser.

10 Facts About Factoring

01

Factoring writes a polynomial as a product of simpler pieces.

02

The factor theorem: (x − a) is a factor exactly when a is a root.

03

A product is zero when any factor is zero — that gives the roots.

04

The rational root theorem lists candidate roots from the coefficients.

05

Synthetic division peels off one linear factor at a time.

06

The quadratic formula always finds a quadratic's roots, real or complex.

07

x² + 2x + 5 is irreducible over the reals — its roots are −1 ± 2i.

08

x² − 2 has real roots ±√2 but no whole-number factorisation.

09

Roots are where a polynomial's graph crosses the x-axis.

10

A degree-n polynomial has exactly n roots counting complex ones.

Frequently Asked Questions

  • Enter it, like x^2 - 5x + 6, and the calculator finds its roots and writes the factored form, here (x − 2)(x − 3). It does this by finding the values that make the quadratic zero — its roots — since (x − root) is a factor for each one.
  • Yes, up to degree six. It uses the rational root theorem to find rational roots, divides each out with synthetic division to reduce the degree, and applies the quadratic formula to any remaining quadratic. For example x³ − 6x² + 11x − 6 factors with roots 1, 2, and 3.
  • It says (x − a) is a factor of a polynomial exactly when a is a root — that is, when substituting a gives zero. This is why finding roots and finding factors are the same task, and it is the principle the calculator uses to build the factored form from the roots it finds.
  • Because it cannot be factored into real linear pieces. A quadratic like x² + 2x + 5 has no real roots — its roots are the complex numbers −1 ± 2i — so over the real numbers it is irreducible. The calculator gives those complex roots, which describe the polynomial completely, and explains why no real factorisation exists.
  • It says any rational root of a polynomial must be a fraction whose numerator divides the constant term and whose denominator divides the leading coefficient. This narrows the infinite possibilities down to a short list of candidates to test — the practical method for factoring cubics and higher, and exactly what the calculator does internally.
  • A root is a value of x that makes the polynomial zero; a factor is a piece like (x − 2) that multiplies to give the polynomial. They correspond one-to-one by the factor theorem: each root a gives a factor (x − a). The calculator shows both — the roots, and the factored form built from them.
  • Yes — for the quadratic that remains after removing rational roots, it uses the quadratic formula, which finds irrational roots like ±√2 (for x² − 2) and complex roots alike. Such roots are real and valid even though the polynomial has no whole-number factorisation.
  • A polynomial of degree n has exactly n roots when you count complex roots and repeated roots — this is the Fundamental Theorem of Algebra. So a cubic has three, a quartic four. Some may coincide (a repeated root) or come in complex conjugate pairs, and the calculator lists every one it finds.
  • Yes. Everything is computed in your browser — nothing is uploaded, stored, or logged — and it works offline once loaded.
  • Completely free, with no account, sign-up, or limit. It runs entirely in your browser and collects no data. Use it as often as you like.

Related News

You may be interested in these recent stories from our newsroom.

No related news yet for this tool. Our editorial team publishes new pieces every week.

Browse all news →
Advertisement
Pre-footer · AD-W3 728 × 90

75 more free tools

Calculators, converters, security tools — no signup.