Quadratic Formula Calculator
The quadratic formula solves any equation written as ax² + bx + c = 0 by using x = (−b ± √(b² − 4ac)) ÷ 2a. This page gives the full working with a checkable UK classroom example, and explains that the interactive panel here calculates averages and spread from a list of numbers rather than polynomial roots.
Paste a list, choose a method
Commas, spaces, tabs and newlines all work. Weighted mode needs a weight for each value.
Your results
- Mean
- 16.2
- Mode
- 15
- Weighted mean
- —
- Sum
- 81
- Range
- 9
- Standard deviation
- 3.031
- Lower quartile
- 15
- Upper quartile
- 18
Adding 0 as an extra value gives a mean of 16.2 across 5 values.
Average calculation result.
| Item | Value |
|---|
| Value | Times seen |
|---|
Your sorted values
The chart shows up to twelve sorted values so an outlier is easy to spot.
Reading the quadratic formula
Rearrange the equation so one side is exactly zero. In ax² + bx + c = 0, a sits in front of x², b in front of x, and c is the number on its own. The letter a must not be zero, or the equation is linear. The expression b² − 4ac under the square root is the discriminant: positive means two distinct roots, zero means one repeated root, and negative means no real roots to plot on the number line.
The ± symbol means you run the calculation twice, adding and then subtracting the square root. Divide both results by the whole of 2a, not just one half of the numerator. Brackets around −b, the discriminant and 2a make the order of operations easier to check on a phone calculator.
The panel at the top of this page takes a list of numbers and returns their mean, median, mode, weighted mean, range and standard deviation. It does not solve polynomial equations. For a quadratic, follow the written method below with a scientific calculator. The algebra does not depend on a UK tax year; it is unchanged in 2026/27.
Worked example: 2x² − 7x − 15 = 0
Consider 2x² − 7x − 15 = 0, a typical non-monic example where the coefficient of x² is not one. Reading straight from the equation gives a = 2, b = −7 and c = −15. The discriminant is (−7)² − 4 × 2 × (−15) = 49 + 120 = 169. Because 169 is a perfect square, the roots come out cleanly. The square root is 13, so the two numerators are 7 + 13 = 20 and 7 − 13 = −6. Dividing both by 2a = 4 gives x = 5 and x = −1.5. A quick substitution checks the first root: 2 × 25 − 7 × 5 − 15 = 50 − 35 − 15 = 0. The second checks too: 2 × 2.25 + 10.5 − 15 = 0.
| Item | Amount | Notes |
|---|---|---|
| Coefficient a | 2 | Number in front of x²; positive here |
| Coefficient b | −7 | Sign stays with the coefficient |
| Constant c | −15 | Negative constant increases the discriminant |
| Discriminant | 169 | 49 + 120; positive, so two real roots |
| First root | 5 | (7 + 13) ÷ 4 |
| Second root | −1.5 | (7 − 13) ÷ 4 |
2026/27 rules and rates
Last checked 27/11/2026. There is no HMRC rate, allowance or threshold that changes the quadratic formula: it is pure mathematics and the 2026/27 tax year has no bearing on it. The date on this page refers to the review of the site's UK figures, which are held in the shared rate file with GOV.UK source links. If you are preparing for a UK qualification, the formulae and permitted calculator rules come from your exam board — AQA, Pearson Edexcel, OCR and the other awarding organisations publish subject content and formulae sheets. Some GCSE papers expect you to recall the formula; others supply it. Always check the current specification for your paper rather than assuming a rule from a previous year. No official rate has been invented here, and no tax or benefits figure on this page depends on your result.
Tips and common mistakes
Write the equation as ax² + bx + c = 0 before reading off coefficients. A common slip is taking b as positive when the equation was given as x² = 5x + 6; rearranged it is x² − 5x − 6 = 0. Another error is dividing only half of the ± expression by 2a. Put the whole numerator in brackets. Rounding the square root too early is a third trap — keep four decimal places until the end.
Use the discriminant as a sanity check: if it is negative there are no real roots, and if it is zero report one repeated root rather than listing it twice. Substitute each root back into the original equation. That step catches sign errors faster than re-reading your working.
Comparison scenarios
The table shows why the discriminant is worth calculating first. Each row is a different equation with the same method, not a different set of rates.
| Scenario | Result | What changes |
|---|---|---|
| x² − 5x + 6 = 0 | Roots 3 and 2 | Discriminant 1; two clean integer roots |
| x² + 4x + 4 = 0 | Root −2 twice | Discriminant 0; the two branches coincide |
| 3x² + 2x + 5 = 0 | No real roots | Discriminant −56; the parabola misses the axis |
| 4x² − 9 = 0 | Roots 1.5 and −1.5 | b = 0; the formula still works |
Frequently asked questions
What exactly does the quadratic formula calculate?
It calculates the values of x where a quadratic expression equals zero. Write the equation as ax² + bx + c = 0, work out b² − 4ac, take its square root, then evaluate (−b + √D) ÷ 2a and (−b − √D) ÷ 2a. Those two values are the roots, also called the solutions or x-intercepts.
Is the quadratic formula different in the 2026/27 UK curriculum?
No. The formula and the method are unchanged. What can differ is whether your exam board expects you to memorise it and which calculators are permitted. Check the current specification or formulae sheet from AQA, Pearson Edexcel, OCR or your awarding organisation before an assessment.
Does the calculator panel on this page solve equations?
No. The live panel accepts a list of numbers and reports their mean, median, mode, weighted mean, range and standard deviation, plus a chart after an extra value is added. It is an average tool, not a polynomial solver. Use the written method on this page for quadratic equations.
What do I need before I start using the formula?
You need the equation arranged with zero on one side, the three coefficients a, b and c, and a calculator that can handle a square root and negative signs. Keeping brackets around each part of the substitution will prevent most input errors.
How accurate are the roots I get?
The formula gives exact answers in surd form; decimal answers are approximations. A perfect-square discriminant such as 169 gives exact decimals or integers. Otherwise keep several decimal places during working and round only at the end, then substitute back to check the result.
Where can I check the formula and official guidance?
For the algebra, use your exam board's formulae sheet or a standard mathematics textbook. For the site's UK financial figures, the underlying source list is GOV.UK and is recorded in the shared rate file. This page was last checked 27/11/2026 and quotes no invented official rate.
Related calculators
For number work, the average calculator works through means and spread, the weighted average calculator handles unequal weights, and the quadratic calculator is another route to equation solving. The general maths calculator covers everyday arithmetic alongside these more specialised tools.
Sources and review
Official sources were last reviewed 27 November 2026. The method follows the standard quadratic formula used in UK school mathematics. Official rate data referenced elsewhere on the site comes from GOV.UK; exam-board formulae sheets come from the relevant awarding organisation. No official rate applies to this calculation. Financial figures were last reviewed 27 November 2026.