← All measures
Cubic equation roots
Math · Real and complex roots of ax³ + bx² + cx + d = 0, solved with the trigonometric and Cardano forms.
ax3 + bx2 + cx + d = 0
Result
Turn on JavaScript to calculate.
How it works
The equation is shifted to a depressed cubic t³ + pt + q = 0. If q²/4 + p³/27 is positive there is one real root and a complex pair (Cardano). Otherwise all three roots are real and come from a cosine formula. Roots with a very small imaginary part are shown as real.
Results are estimates for learning and planning. Check anything you rely on with a qualified professional.
