Polynomial Roots Calculator

Find the real and complex roots of polynomials up to degree 4.

Polynomial Degree

Coefficients

Enter coefficients from highest to lowest degree

f(x) = x^2 -5x +6 = 0

Roots

two real roots

x1 = 3.000000
x2 = 2.000000

Discriminant: 1.0000

Formulas Used

Linear (ax + b = 0): x = -b/a

Quadratic (ax² + bx + c = 0): x = (-b ± √(b²-4ac)) / 2a

Cubic: Cardano's formula

Quartic: Numerical Newton-Raphson method