Algebra calculators
Cubic Equation Solver
Solve any cubic equation ax³ + bx² + cx + d = 0 and see every real root, with the working shown.
Formula: a cubic ax³ + bx² + cx + d = 0 has up to three real roots. This solver finds them numerically from the turning points of the curve; a cubic with one real root has a pair of complex roots, which are not shown here.
How to use
- Enter the coefficients a, b, c and d of ax³ + bx² + cx + d = 0.
- Press “Solve equation”.
- Read the real roots below, with the check that each root makes the equation equal zero.
Frequently asked questions
- What is a cubic equation?
- An equation with x³ as its highest power: ax³ + bx² + cx + d = 0, where a is not zero. Its graph is a curve with up to two turning points.
- How many roots can a cubic have?
- Up to three real roots. If only one real root is found, the other two are a complex conjugate pair.
- How does the solver find the roots?
- It locates the turning points from the derivative 3ax² + 2bx + c, then uses bisection on each interval where the curve crosses zero.
- Is my input stored?
- No. The calculation runs in your browser.