The discriminant of a quadratic equation tells you, before you do any further work, exactly how many real solutions the equation has and what kind they are. For the quadratic ax squared plus bx plus c equals zero, the discriminant is Delta = b squared minus 4ac. This expression sits under the square root sign in the quadratic formula, and its sign determines everything about the roots. When Delta is greater than zero the square root is real and positive, so the formula gives two distinct real roots. When Delta equals zero the square root disappears, leaving one unique solution called a repeated or double root. When Delta is less than zero the square root of a negative number is not real, meaning the equation has no real solutions; the roots are complex conjugate numbers. You enter the three coefficients, a for the squared term, b for the linear term, and c for the constant, and the calculator returns the discriminant value, the root type classification, and the actual roots when they are real. The repeated-root case with Delta = 0 is particularly useful to recognise because it means the quadratic is a perfect square and the parabola just touches the x axis at exactly one point. This tool is useful for students studying quadratic equations and parabolas, for anyone who needs to quickly classify an equation before solving it, and for teachers setting exercises that require specific root types. The coefficients can be any signed decimal values as long as a is not zero.
When the discriminant is negative the roots are complex and are not shown. Coefficients can be any signed decimals; a must not be zero.
The discriminant is calculated as Delta = b squared minus 4ac. The calculator then checks the sign: if Delta is greater than zero, the two distinct roots are (-b minus the square root of Delta) divided by 2a, and (-b plus the square root of Delta) divided by 2a. If Delta equals zero, the single repeated root is -b divided by 2a. If Delta is less than zero, the calculator reports no real roots and does not attempt to display complex values. The root type label uses the conventional descriptions: two distinct real roots, one repeated real root, or no real roots.
Using the defaults a=1, b=-4, c=4 gives x squared minus 4x plus 4 = 0. The discriminant is (-4) squared minus 4 times 1 times 4 = 16 minus 16 = 0. Because Delta = 0, there is exactly one repeated real root: x = -(-4) divided by (2 times 1) = 4 divided by 2 = 2. You can verify: (x minus 2) squared = x squared minus 4x plus 4, which confirms x = 2 is a double root.
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.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
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.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.