Quadratic Formula Calculator

A quadratic equation has the standard form ax squared plus bx plus c equals zero, where a cannot be zero. These equations appear throughout algebra, physics, engineering, and finance, describing trajectories, areas, profit functions, and countless other relationships that follow a curved, parabolic path. The quadratic formula gives you both solutions at once: x equals negative b plus or minus the square root of the quantity b squared minus 4ac, all divided by 2a. The quantity under the square root, called the discriminant, carries important information: when it is positive there are two distinct real roots; when it equals zero there is exactly one repeated real root; and when it is negative there are no real roots and the solutions are complex numbers. This calculator solves any quadratic equation instantly. You enter the three coefficients a, b, and c, and it returns both roots (or reports if they are complex), the value of the discriminant, the vertex coordinates of the parabola, the axis of symmetry, and the step-by-step working so you can follow the method. Negative coefficients work as expected; simply enter a negative number. It is useful for students working through algebra or calculus, engineers solving for unknown values, and anyone who needs to find where a parabolic function crosses zero. Enter your coefficients to see all results update as you type.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
x = 3 and x = 2
roots of the equation
Discriminant (Δ)1
Root typeTwo real roots
Vertex(2.5, −0.25)
Axis of symmetryx = 2.5

Working: x = (5 ± √1) / 2 = (5 ± 1) / 2. x₁ = 3, x₂ = 2.

How it works

The calculator computes the discriminant as b squared minus 4ac. When positive, it takes the square root and applies the formula to give two distinct real roots. When zero, both roots are the same repeated value of negative b over 2a. When negative, no real roots exist and the calculator notes that the solutions are complex. The vertex x-coordinate is negative b over 2a; the vertex y-coordinate is found by substituting this back into the original equation. The axis of symmetry is the vertical line through the vertex x-coordinate.

Worked example

With a = 1, b = -5, c = 6 the equation is x squared minus 5x plus 6 equals zero. The discriminant is (-5) squared minus 4(1)(6) = 25 minus 24 = 1. Because the discriminant is positive there are two real roots. Applying the formula: x = (5 plus or minus 1) divided by 2, giving x = 3 and x = 2. The vertex is at x = 2.5, y = 2.5 squared minus 5(2.5) plus 6 = -0.25.

Related calculators

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.