Polynomial Equation Solver - by Don Cross

This web page contains an interactive calculator that solves any linear, quadratic, or cubic equation. Just enter in the coefficients of the following equation:

Ax3 + Bx2 + Cx + D = 0

For example, if you want to solve 5x2 − 7x + 2 = 0, enter the following values:

A = 0
B = 5
C = −7
D = 2

For the sake of mathematical completeness, this solver allows you to enter complex numbers as coefficients. Chances are that most people using this will want the coefficients to be real numbers. In that case, just leave the imaginary parts of A, B, C, D equal to zero.

After entering your coefficients, press the Solve button to see the solutions.

Input Coefficients
Coefficient Real Imaginary
A =
B =
C =
D =

Real Imaginary