cubic formula calculator

Solve ax³ + bx² + cx + d = 0

Enter coefficients for your cubic equation. This solver returns all roots (real and complex).

Equation: 1x³ - 6x² + 11x - 6 = 0
Click Calculate Roots to see the solution.
Tip: If a = 0, the tool automatically solves the reduced quadratic or linear equation.

What is a cubic formula calculator?

A cubic formula calculator helps you solve equations of the form ax³ + bx² + cx + d = 0. Cubic equations appear in algebra, physics, engineering, economics, and optimization problems. Unlike simple linear equations, cubics can have one real root and two complex roots, or three real roots.

This calculator applies Cardano-style algebraic methods behind the scenes and displays all roots clearly. You can use integers, fractions converted to decimals, or negative values.

How to use this calculator

  • Enter values for a, b, c, d.
  • Click Calculate Roots.
  • Read each root in real or complex form.
  • If needed, verify by substituting each root back into the equation.

Understanding the equation structure

Standard cubic form

The standard form is: ax³ + bx² + cx + d = 0, where a ≠ 0. The value of a controls the leading behavior, while b, c, d shape the curve and root positions.

Special cases

If you set a = 0, the equation is no longer cubic:

  • bx² + cx + d = 0 → quadratic
  • cx + d = 0 → linear
  • d = 0 with all others zero → infinitely many solutions

Why roots can be complex

A cubic always has three roots counting multiplicity. Some roots may be complex numbers (with an imaginary component). That is normal and mathematically valid, even when your original coefficients are all real.

Practical example

Try the default equation: x³ - 6x² + 11x - 6 = 0. The roots are 1, 2, 3, which means:

  • (x - 1)(x - 2)(x - 3) = 0
  • The graph crosses the x-axis at x = 1, 2, and 3

Tips for accurate results

  • Use decimal precision when coefficients come from measurements.
  • Double-check signs on negative terms.
  • For repeated roots, small floating-point rounding may appear.
  • Use root values in your downstream calculations with appropriate precision.

FAQ

Does this solve complex roots automatically?

Yes. You will see roots written in the form a ± bi whenever complex solutions occur.

Can I use this as a polynomial root finder for degree 2 or 1?

Yes. If a = 0, the calculator gracefully falls back to quadratic or linear solving.

Is this the same as graphing calculator output?

The values should match standard tools, with small differences possible due to rounding methods.

🔗 Related Calculators