Home › Calculators › Polynomial Root Finder

Polynomial Root Finder

Type any polynomial up to degree 10, as an expression like 2x^3 − 5x + 1 or as a list of coefficients, and get every root: real and complex, with exact fractions where they exist, multiplicities, the factored form and a graph.

Last updated:

Examples: 2x^3 - 3x + 1 · (x-1)^2(x+4) · x^5 = 32 · or coefficients from highest power: 1, 0, -2, 1. Degree up to 10.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Polynomial Root Finder

  1. Enter the polynomial, for example x^4 + 3x^3 + x^2 − 7x − 30, or its coefficients from the highest power down.
  2. Choose the number of significant digits for the results.
  3. Press Find roots (results also update as you type).
  4. Read the roots and the factored form, including complex roots written as a ± bi.
  5. Check the graph and table for multiplicities and residuals.

The Durand–Kerner method

For a polynomial p(x) of degree n with leading coefficient aₙ, start with n distinct guesses z₁…zₙ (points on a circle in the complex plane) and update all of them at once:

zk ← zk − p(zk) ÷ ( aₙ · ∏j≠k (zk − zj) )

Each round uses the latest estimates of the other roots; for simple roots convergence is quadratic. Because all roots are found together, the method naturally returns complex roots too. Afterwards, Newton's method z ← z − p(z)/p′(z) polishes each root, and exact rational roots are confirmed with the rational root theorem (any rational root p/q in lowest terms has p dividing the constant term and q dividing the leading coefficient).

Root facts by degree

DegreeNameRootsReal roots possibleClosed-form formula?
1Linear11Yes: x = −b/a
2Quadratic20 or 2Yes (quadratic formula)
3Cubic31 or 3Yes (Cardano)
4Quartic40, 2 or 4Yes (Ferrari)
5+Quintic and highernn, n−2, n−4, …No general formula (Abel–Ruffini)

Vieta's formulas give a quick check: the sum of all roots equals −aₙ₋₁/aₙ and their product equals (−1)ⁿ·a₀/aₙ.

Frequently asked questions

How many roots does a polynomial have?

A polynomial of degree n has exactly n roots in the complex numbers when roots are counted with multiplicity (the fundamental theorem of algebra). Some may be real and some complex; complex roots of a polynomial with real coefficients always come in conjugate pairs a ± bi.

How does this root finder work?

Rational roots are first found and confirmed with exact fraction arithmetic and divided out. The remaining roots are computed with the Durand–Kerner (Weierstrass) method, which refines all roots at once using z ← z − p(z) ÷ (aₙ ∏(z − other roots)), and each is polished with Newton's method.

Is there a formula for the roots of degree 5 or higher?

No. The Abel–Ruffini theorem shows there is no general formula using radicals for degree 5 and above, so roots are found numerically. Quadratics, cubics and quartics have formulas, but numerical methods are usually more practical.

What is the multiplicity of a root?

It is how many times the factor (x − r) appears. For p(x) = (x − 1)³(x + 2)², the root 1 has multiplicity 3 and −2 has multiplicity 2. At a root of even multiplicity the graph touches the x-axis without crossing it.

How accurate are the roots?

Rational roots are exact. Other roots are accurate to roughly 12 to 15 significant digits for simple roots; repeated irrational roots are less precise because they are numerically sensitive. The table shows |p(root)| so you can judge the accuracy.

What input formats are accepted?

Expressions with ^ or ² for powers and implied multiplication, such as 3x^2 − x/2 + 1, products like (x − 2)(x² + 1), equations like x^3 = 8, or a list of coefficients from the highest power, such as 1, 0, −2, 1 for x³ − 2x + 1.

What is the factored form over the reals?

It writes the polynomial as its leading coefficient times linear factors (x − r) for the real roots and quadratic factors x² − 2ax + (a² + b²) for each complex pair a ± bi, so all coefficients stay real.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Quadratic Equation SolverSolve ax² + bx + c = 0 with exact roots, steps, vertex and a parabola graph.Synthetic Division CalculatorDivide polynomials by x − c (synthetic table) or any polynomial (long division) with steps.Completing the Square CalculatorRewrite ax² + bx + c in vertex form a(x − h)² + k step by step and solve it.Graphing CalculatorPlot multiple functions with zoom, pan, intersections and a value table.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Inequality CalculatorSolve linear, quadratic, rational and absolute value inequalities with steps and a number line.Polynomial CalculatorAdd, subtract, multiply, divide and evaluate polynomials; see roots, degree and a graph.Exponent CalculatorRaise any number to a power, including negative and fractional exponents.Logarithm CalculatorCalculate log in any base, ln, log10, log2 and antilog with change-of-base steps.Matrix CalculatorAdd, multiply, invert and row-reduce matrices up to 5×5 with exact fractions and steps.Prime Number CheckerCheck if a number is prime, factor it with a factor tree and list primes in a range.GCF and LCM CalculatorFind the GCF and LCM of two or more numbers with Euclid steps and prime factorization.Cubic Yard CalculatorConvert length, width and depth in any unit to cubic yards, cubic feet, m³ and material weight.Factorial CalculatorExact n! up to 5000! with digit count, trailing zeros and double factorial.Prime Factorization CalculatorFind prime factors in exponent form with a factor tree, divisor count and divisors list.Modulo CalculatorCalculate a mod n and the quotient, with floored, truncated and Euclidean rules.Exponential Growth CalculatorExponential growth and decay: final amount, rate or time, discrete or continuous.Linear Regression CalculatorLeast-squares line of best fit: slope, intercept, r, r², predictions and a scatter plot.System of Equations SolverSolve 2×2, 3×3 and 4×4 linear systems with exact fractions and step-by-step working.Cubic Equation SolverSolve ax³ + bx² + cx + d = 0 for real and complex roots with steps and a graph.Summation CalculatorEvaluate sigma notation: sum any expression in n from a to b with partial sums and a chart.Arithmetic Sequence CalculatorFind the n-th term, sum and full list of an arithmetic sequence, or d from two terms.Geometric Sequence CalculatorFind the n-th term, sum and infinite sum of a geometric sequence, or r from two terms.Fibonacci CalculatorExact n-th Fibonacci number (BigInt), sequence lists, Fibonacci check and golden ratio.Factors CalculatorAll factors and factor pairs of a number, prime factors, divisor count and perfect check.Depth of Field CalculatorNear and far focus limits, depth of field and hyperfocal distance for any camera or lens.Crop Factor CalculatorCrop factor, full-frame equivalent focal length and aperture, and field of view for any sensor.Derivative CalculatorSymbolic derivative of any f(x) up to 5th order, with steps, slope at a point and a graph.Exposure Value CalculatorEV from aperture, shutter and ISO, or solve any missing setting with sunny 16 presets.Factoring Trinomials CalculatorFactor trinomials and polynomials: GCF, ac method, difference of squares, cubes, with steps.Integral CalculatorDefinite integral of f(x) from a to b with adaptive Simpson, area graph and antiderivative.Least Common Denominator CalculatorFind the LCD of two or more fractions and rewrite them as equivalent fractions, with steps.Limiting Reactant CalculatorFind the limiting reactant, theoretical yield and leftover excess from an equation.Parabola CalculatorVertex, focus, directrix, axis, intercepts and graph of a parabola from its equation.Prime Number List GeneratorList all primes in a range or the first N primes with a fast sieve; copy or download the list.Quadratic Regression CalculatorFit y = ax² + bx + c (or up to degree 6) to x, y data with R², predictions and a graph.Scatter Plot MakerPaste X,Y pairs for a scatter plot with trendline, equation, r and R². Download PNG.3D Graphing CalculatorPlot z = f(x, y) surfaces and 3D parametric curves; rotate, zoom, add contours, save PNG.Perpendicular Line CalculatorEquation of the perpendicular and parallel line through a point, with distance and a graph.Polar Graphing CalculatorGraph polar equations r = f(θ): roses, cardioids, spirals, with a θ range slider and PNG export.Polynomial Long Division CalculatorDivide polynomials with the full long division layout, quotient, remainder and steps.Scale Factor CalculatorScale factor between similar figures, plus scaled lengths, areas (k²) and volumes (k³).Set CalculatorUnion, intersection, difference and complement of up to 4 sets, with a Venn diagram and counts.Table of Values CalculatorMake an x/y table for any function with a start, end and step, then plot it or copy CSV.Algebra CalculatorSimplify, expand and factor algebraic expressions with exact answers and step-by-step working.Determinant CalculatorDeterminant of a 2×2 to 8×8 matrix with exact fractions and cofactor or row-reduction steps.Differential Equation SolverSolve first- and second-order ODEs step by step, with initial conditions, an RK4 check and a graph.Domain and Range CalculatorFind the domain and range of a function in interval notation, with steps and a graph.Eigenvalue and Eigenvector CalculatorEigenvalues (real or complex), eigenvectors and the characteristic polynomial of a square matrix.Equation SolverSolve any equation for x: exact roots, complex roots, numeric answers, steps and a graph.Inverse Function CalculatorFind the inverse f⁻¹(x) of a function with steps, domain restrictions and a graph.Laplace Transform CalculatorLaplace transform of f(t) with the table rule used for each term and the region of convergence.Limit CalculatorEvaluate limits at a point or at infinity, one-sided or two-sided, with steps, table and graph.Linear Interpolation CalculatorInterpolate or extrapolate y for any x from two points or a data table, with steps and a plot.Matrix Inverse CalculatorFind the inverse of a 2×2 to 8×8 matrix in exact fractions with Gauss–Jordan or adjugate steps.Partial Derivative CalculatorPartial derivatives ∂/∂x, ∂/∂y, second and mixed orders with steps, gradient and Hessian.RREF CalculatorRow reduce any matrix to RREF with exact fractions, every row operation, pivots and rank.Stem and Leaf Plot MakerMake stem-and-leaf plots (standard, split stems or back-to-back) with a key; copy or save PNG.Taylor Series CalculatorTaylor and Maclaurin polynomials of any f(x) to order n, with exact coefficients and a graph.Antilog CalculatorInverse logarithm (antilog) in base 10, e, 2 or any base, with steps and scientific notation.Asymptote CalculatorFind vertical, horizontal and slant asymptotes and holes of a function, with graph and reasoning.Cramer's Rule CalculatorSolve 2x2 and 3x3 linear systems by Cramer's rule with every determinant shown step by step.Dot Plot MakerMake a dot plot or line plot from data or a frequency table; download PNG or SVG.Exponential Regression CalculatorFit y = a·bˣ or y = a·e^(kx) to data with r², predictions, residuals and a plot.Extended Euclidean Algorithm CalculatorFind gcd(a, b) and Bézout coefficients x, y with the full step-by-step division table.Factor Tree GeneratorDraw the prime factor tree of any number as a printable diagram, with exponent form and steps.Function Composition CalculatorFind f(g(x)), g(f(x)), f + g, f · g and f / g with values at a point and domains.X and Y Intercept CalculatorFind the x- and y-intercepts of lines, curves and functions with steps and a graph.
See all 74 Algebra & Calculus Calculators →