Find polynomial roots exactly
Enter the coefficients of a quadratic (ax² + bx + c) or cubic (ax³ + bx² + cx + d) equation and this tool returns all roots, including complex ones shown in a + bi form.
Quadratics use the quadratic formula and its discriminant; cubics use Cardano’s method, switching to the trigonometric solution when all three roots are real. Every calculation runs locally in your browser.