Calculator

What the Quadratic Equation Solver does

Quadratic Equation Solver: calculates Root 1, Root 2 and Discriminant b²−4ac from a (x² coeff), b (x coeff) and c (constant). Example: a (x² coeff) 1, b (x coeff) -5 and c (constant) 6 gives root 1 3.

With a (x² coeff), b (x coeff) and c (constant) entered, the Quadratic Equation Solver works out Root 1, Root 2 and Discriminant b²−4ac. Adjust anything and the figures re-derive on the spot.

Most people who open the Quadratic Equation Solver are someone sanity-checking a spreadsheet. The method matters as much as the answer when you are still learning the topic.

The page holds your values in memory and forgets them the moment you close it.

Field definitions, the method, and a worked example from the default values are all set out further down the page.

What do the Quadratic Equation Solver fields mean?

The Quadratic Equation Solver uses 3 inputs. A filled form means you can test one idea immediately instead of sourcing every input first.

FieldWhat to enterDefault
a (x² coeff) required 1
b (x coeff) required -5
c (constant) required 6

How does the Quadratic Equation Solver work?

Root 1, Root 2, Discriminant b²−4ac and What this means ← f(a (x² coeff), b (x coeff), c (constant))

Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.

An empty or malformed field stops the calculation rather than being treated as zero.

Worked example

These are the values the Quadratic Equation Solver loads by default, and the result it produces from them. Below is the same computation the tool performs on load, step by step.

Inputs
a (x² coeff)1
b (x coeff)-5
c (constant)6
Result
Root 13
Root 22
Discriminant b²−4ac1.0000
What this meansRoots: 3 and 2

Beyond the formula: the quadratic formula

The discriminant (b²−4ac) tells you everything about a quadratic’s roots before you even finish solving: positive means two distinct real roots, exactly zero means one repeated real root, and negative means no real roots at all, only a complex-conjugate pair.

Common mistakes and sanity checks

  • "No real solution" doesn’t mean the equation is wrong. It means the parabola described by ax²+bx+c never crosses the x-axis. Graphically, the whole curve sits above the axis (if a>0) or entirely below it (if a<0).
  • A discriminant of exactly zero is a useful edge case to recognise: it means the parabola is tangent to the x-axis at a single point, and the "two roots" the formula returns are actually the same number written twice.
  • Complex roots always come in conjugate pairs (p+qi and p−qi) for a quadratic with real coefficients. You never get just one complex root without its mirror image.

How to use it

  1. Type a (x² coeff).
  2. Enter b (x coeff).
  3. Set c (constant).
  4. The results panel stays in sync with the form as you edit it.
  5. Look at Root 1, Root 2, Discriminant b²−4ac and What this means in the output panel.
  6. Copy Link when you want to return to this exact configuration; Print when someone needs it on paper.

What this tool does not do

  • Very large or very small numbers hit JavaScript floating-point limits (about 15 significant digits).
  • Displayed values are rounded; the underlying calculation keeps full precision.
  • Precision beyond what the inputs justify is not meaningful, however many digits appear.

Frequently asked questions

Just a (x² coeff), b (x coeff) and c (constant). Every box already holds a working value, so the form is usable immediately, without filling anything in first.

With the values loaded when the page opens, root 1 comes out as 3. Adjust any field to see how much the answer depends on it.

Not at all: the whole thing runs offline once the page has loaded, which tells you nothing is being sent.

No charge. Everything on the page is available without signing in.

There is no estimation step. The result is computed, not inferred.

YoursTools Team
Product & Engineering

Builds and maintains every calculator on YoursTools.