Polynomial Solver

Find roots of polynomials.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter coefficients from the highest power down to get the real roots. 1,0,−5,0,4 is x⁴ − 5x² + 4, which has roots −2, −1, 1 and 2.

How to use

1
Step 1
Type the coefficients highest power first, separated by commas.
2
Step 2
Use 0 for any missing power.
3
Step 3
Press Calculate.

How it works

The roots are found numerically with the Durand-Kerner method, so the degree is not limited to cases with a formula, and the real roots are listed whatever their size. For x⁴ − 5x² + 4, substituting u = x² gives u² − 5u + 4 = 0, so u = 1 or 4 and x = ±1 or ±2.

aₙxⁿ + … + a₁x + a₀ = 0

Worked example

A quartic in x²

Input
1,0,-5,0,4
Output
x = −2, −1, 1, 2
Walkthrough
With u = x²: u² − 5u + 4 = (u − 1)(u − 4). So x² = 1 or 4.

Limitations

  • Only real roots are listed; complex roots are not shown. 1,0,1 (x² + 1) reports no real roots.
  • A repeated root, such as 1,−2,1, is listed once.

Questions

What are the roots of x² − 3x + 2?
x = 1 and x = 2.
What are the roots of x⁴ − 5x² + 4?
−2, −1, 1 and 2.
What are the roots of x² + 1?
None that are real; the roots are ±i.
What are the roots of x² − 110x + 1000?
10 and 100. Large roots are found like any other.
What are the roots of x³ − 60x² − x + 60?
−1, 1 and 60 (coefficients 1,−60,−1,60).

Features

  • Any degree
  • Real roots of any size
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Solving an equation with variables on both sides

    Khan Academy

    Classic linear solve pattern for algebra calculators.

    Watch on YouTube
  • Rectangle area as product of dimensions

    Khan Academy

    Foundational area thinking across math tools.

    Watch on YouTube
  • Math is Fun

    Math is Fun

    Clear explainers that pair well with calculator-style tools.

  • Quadratic Equations

    Math is Fun

    Factoring and formula methods next to quadratic solvers.