Quadratic Formula Calculator

Enter the coefficients of ax² + bx + c = 0. The roots, discriminant and vertex update as you type.

How it works

  1. Write the equation in standard form

    Move everything to one side so it reads ax² + bx + c = 0, then read off a, b and c with their signs.

  2. Find the discriminant

    D = b² − 4ac. It tells you how many real roots there are.

  3. Apply the formula

    x = (−b ± √D) / 2a. The plus and the minus give the two roots.

Common questions

What does the discriminant tell me?

Positive: two different real roots. Zero: one repeated root. Negative: two complex roots, and the parabola never crosses the x-axis.

What if a is 0?

Then the equation is linear, not quadratic. The calculator solves bx + c = 0 instead.

More free calculators