About the Cubic Equation Solver
Cubic equations always have three roots, counting complex ones. Enter the coefficients a, b, c and d and the solver finds them all using Cardano’s method — the trigonometric form when there are three real roots, for accuracy.
If a is zero, the equation is solved as a quadratic (or linear) one instead.
How to use the Cubic Equation Solver
- Enter a, b, c and d.
- Read the roots.
- Check how many are real.
Features
- Graph of the cubic with real roots and turning points marked
- Turning points and y-intercept
- All three roots
- Complex roots
- Trigonometric method for 3 real roots
- Handles a = 0
Supported formats
- Numbers
Frequently asked questions
Why do complex roots come in pairs?
With real coefficients, complex roots always appear as conjugate pairs.
Are my numbers saved?
No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools