Cubic Equation Solver
Enter coefficients a, b, c, d for ax³ + bx² + cx + d = 0 and instantly see all three roots (real or complex).
Use the Cubic Equation Solver
Enter Coefficients
Equation: ax³ + bx² + cx + d = 0
Preview
x³ − 3x + 2 = 0
Enter coefficients and click Solve to find the roots.
Roots
Verification — plug roots back in
Copied!
Summary
This cubic equation solver computes all three roots of any cubic polynomial ax³ + bx² + cx + d = 0. It uses the discriminant method to classify the root types and applies Cardano's formula or trigonometric approach for accurate results. Both real and complex roots are displayed in standard mathematical notation.
How it works
- Enter the coefficients a, b, c, and d in the input fields.
- The solver normalizes the equation by dividing through by a.
- The discriminant is computed to determine how many real roots exist.
- Cardano's formula or the trigonometric method is applied based on the discriminant.
- 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-05-29 · Reviewed by Nham Vu