Maths

Quadratic Equation Solver

Solve ax² + bx + c = 0.

How to use the Quadratic Equation Solver

  1. Enter a, b and c from ax² + bx + c = 0.
  2. Read the roots and the discriminant.

How it's calculated

Show the formula
x = (−b ± √(b² − 4ac)) ÷ 2a

Worked example

These are the example numbers the calculator opens with. Change any of them above to see your own result.

You enter

a1
b-5
c6

You get

Rootsx = 3, 2
Discriminant (b² − 4ac)1
Root typeTwo real roots

Tips

  • The discriminant (b² − 4ac) tells you the type of roots before solving.

Frequently asked questions

What does the discriminant tell me?

Positive: two real roots. Zero: one repeated root. Negative: two complex roots.

What if a is 0?

Then it is a linear equation, bx + c = 0, and x = −c ÷ b.

Want to calculate something else? Request a calculator and we'll email you when it's ready.

Get new calculators by email

One short email when we add a calculator or update rates like tax slabs, gold and nisab. No spam, unsubscribe anytime.

Need a calculator we don't have?

Tell us what you want to calculate. We'll email you as soon as it's ready.