This calculator finds the real roots of a cubic equation, the values of x that make a third-degree polynomial equal zero. A cubic has the form a x cubed plus b x squared plus c x plus d, and unlike a quadratic, which everyone learns to solve with a neat formula, a cubic is much harder to crack by hand. It always has at least one real root, and may have up to three, and finding them analytically means using Cardano's method, a centuries-old procedure involving cube roots and careful handling of the discriminant. This tool does all of that for you. You enter the four coefficients, a, b, c and d, and the calculator solves the equation, returning the real roots it finds. Cubics appear throughout mathematics, physics and engineering: in modelling curves and volumes, solving equilibrium and motion problems, and anywhere a relationship is genuinely cubic rather than linear or quadratic. Being able to find the roots quickly is invaluable for checking work and solving real problems. The results update as you type, so you can explore how changing a coefficient moves the roots, and see the moment a cubic shifts from having one real root to three. Use it for algebra and calculus homework, for engineering and physics problems, or to factor a cubic once you know its roots. The calculator reports the real roots; a cubic can also have a pair of complex roots, which occur when it crosses the x-axis only once. If you set the leading coefficient to zero, it solves the resulting quadratic or linear equation instead. Results are rounded for display.
Solves ax³ + bx² + cx + d = 0 using Cardano's method. Reports real roots; complex roots occur when the cubic crosses the x-axis once. Rounded for display.
The equation is divided through by the leading coefficient and reduced to a depressed cubic. The discriminant then determines the nature of the roots: positive gives one real root, negative gives three distinct real roots found via trigonometry, and zero gives repeated roots. Cardano's formulas produce the values, which are shifted back to the original variable.
For x cubed minus 6 x squared plus 11 x minus 6 equals zero, with a = 1, b = -6, c = 11 and d = -6, the calculator returns the three real roots x = 1, 2 and 3. You can verify this, since the polynomial factors neatly as (x - 1)(x - 2)(x - 3), each factor giving one of the roots.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.