Skip to content
K Knidox Search…
Math · Algebra

Polynomial Roots Calculator

Find every real and complex root of a polynomial.

Use ^ for powers, e.g. x^3 - 6x^2 + 11x - 6
Roots (degree 3)
1, 3, 2

3 real, 0 complex

#RootType
11real
23real
32real
The curve y = p(x) — it crosses the x-axis at the real roots
Curve y = p(x) crossing the x-axis at x = 1, 3, 26-6x = 0x = 4

A polynomial’s roots are the x-values that make it zero, and a degree-n polynomial has exactly n of them (counting complex and repeated roots). For x³ − 6x² + 11x − 6, the rational root theorem flags ±1, ±2, ±3, ±6 — testing shows the roots are 1, 2, and 3, so it factors as (x − 1)(x − 2)(x − 3).

Solving any polynomial

The quadratic formula handles degree 2, but higher-degree polynomials need a numerical approach. This tool uses the Durand–Kerner method, which refines guesses for all roots simultaneously until they converge — finding real and complex roots together. To hunt for roots by hand, the rational root theorem narrows the candidates first.

possible rational roots = ± (factor of constant) ÷ (factor of leading coefficient)

the rational root theorem: a shortlist to test for nice integer or fraction roots

Worked example

Find the roots of x³ − 6x² + 11x − 6 = 0:

  1. 1
    List rational candidates. Constant 6, leading coefficient 1, so candidates are ±1, ±2, ±3, ±6.
  2. 2
    Test them. x = 1: 1 − 6 + 11 − 6 = 0 ✓. x = 2: 8 − 24 + 22 − 6 = 0 ✓. x = 3: 27 − 54 + 33 − 6 = 0 ✓.
  3. 3
    Confirm the factorisation. Three roots for a cubic: (x − 1)(x − 2)(x − 3) = x³ − 6x² + 11x − 6. The roots are 1, 2, 3.

How many roots, by degree

By the fundamental theorem of algebra, a degree-n polynomial has exactly n roots, counting multiplicity, over the complex numbers.

DegreeTotal rootsNotes
1 (linear)1Always one real root
2 (quadratic)2Real or a conjugate pair
3 (cubic)3At least one real root
4 (quartic)4Complex roots come in pairs
nnReal roots + conjugate complex pairs

Real and complex roots

Complex roots come in conjugate pairs. For a real-coefficient polynomial, if a + bi is a root then so is a − bi. That is why an odd-degree polynomial always has at least one real root — the complex ones pair off.

Multiplicity counts. A repeated root, such as (x − 2)², counts twice toward the total of n. The graph touches the x-axis there instead of crossing it.

The results are precise estimates. Durand–Kerner returns high-precision numerical roots; for clean polynomials they land on the exact integers or rationals you would find by hand.

What does a + bi mean?
A complex root with real part a and imaginary part b. Real-coefficient polynomials always have complex roots in conjugate pairs (a + bi and a − bi).
How do I enter the polynomial?
Use ^ for exponents, e.g. x^3 - 6x^2 + 11x - 6. Powers must be whole numbers up to 10.
Are the roots exact?
They are high-precision numerical estimates. For nice polynomials they land on the exact integer or rational roots.
How many roots should I expect?
Exactly as many as the degree, counting multiplicity, once complex roots are included — a cubic has three, a quartic four.
What is the rational root theorem?
Any rational root is ± a factor of the constant term divided by a factor of the leading coefficient — a finite shortlist to test by hand.
How does the Durand–Kerner method work?
It starts from initial guesses for all roots and refines them simultaneously until they converge, finding real and complex roots together for degrees up to 10.