Cubic Equation Solver

Enter coefficients a, b, c, d for ax³ + bx² + cx + d = 0 and instantly see all three roots (real or complex).

Enter Coefficients

Equation: ax³ + bx² + cx + d = 0

Preview

x³ − 3x + 2 = 0

Enter coefficients and click Solve to find the roots.

Copied!

Summary

Enter coefficients a, b, c, d for ax³ + bx² + cx + d = 0 and instantly see all three roots (real or complex).

How it works

  1. Enter the coefficients a, b, c, and d in the input fields.
  2. The solver normalizes the equation by dividing through by a.
  3. The discriminant is computed to determine how many real roots exist.
  4. Cardano's formula or the trigonometric method is applied based on the discriminant.
  5. All three roots are displayed, with complex roots shown in a + bi notation.

Use cases

  • Verify hand-calculated roots of a cubic polynomial.
  • Solve physics and engineering equations that produce cubic forms.
  • Check roots during calculus or algebra coursework.
  • Find the turning points of cubic functions in graphing problems.
  • Solve cubic volume or optimization problems quickly.
  • Test understanding of complex number arithmetic with known cubics.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu