Polynomial Solver
Find roots of polynomials.
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
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?
What are the roots of x⁴ − 5x² + 4?
What are the roots of x² + 1?
What are the roots of x² − 110x + 1000?
What are the roots of x³ − 60x² − x + 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 YouTubeRectangle 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.