By Debmedia Technologies LLP · Kolkata, India · Updated
What Is It and When Do You Need It?
Cubic equations appear in physics, engineering and finance. The general formula is long, so a solver saves time and mistakes.
Enter the four coefficients.
How to Use This Tool
- Enter or paste your input in the box or boxes above.
- Choose the options, if there are any.
- Press the button to run the tool.
- Read the result and use the copy button where one is shown.
How the Calculation Works
The equation is divided by a and shifted to a depressed cubic t³ + pt + q = 0. If the discriminant is negative or zero the trigonometric method gives the real roots; otherwise Cardano's formula with cube roots is used, and the remaining roots follow from the complex cube roots of unity. Real roots are refined with Newton's method.
Worked Example
x³ - 6x² + 11x - 6 = 0 has the roots 1, 2 and 3. x³ - 1 = 0 has the root 1 and the complex pair -0.5 ± 0.866025i.
Common Uses
- Algebra homework.
- Engineering formulas.
- Volume and box problems.
- Checking code.
Tips and Common Mistakes
- Enter 0 for a missing term.
- Complex roots always come in pairs for real coefficients.
- Check a root by putting it back into the equation.
- Check the first result against a case you already know, so you can trust the tool for the rest.
- Nothing you type leaves your device. The work is done by your browser, so it also works with a slow connection once the page has loaded.
Related Tools
Next, you may need the quadratic equation solver, exponent and root calculator, prime number checker, GCD and LCM calculator.
Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.
Frequently Asked Questions
Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.