247888.XYZ

Quadratic Equation Solver

Solve ax² + bx + c = 0 with whole-number coefficients. See the discriminant, real or complex roots, and the vertex of the parabola.

Solve the quadratic

Result

Loading tool controls…

Solve the quadratic

  1. Balance the equation
    Example
    x² − 5x + 6 = 0

    Balance the equation

    Move all terms to one side before copying the coefficients.

  2. Keep each sign
    Example
    b = -5

    Keep each sign

    Enter zero for a term that is missing from the equation.

  3. Read the root type
    Example
    Discriminant 1

    Read the root type

    The sign of the discriminant distinguishes two real roots, a repeated root or a complex pair.

Check two solutions

The polynomial factors as (x − 2)(x − 3). Substituting either reported root makes one factor zero. The vertex lies halfway between them at x = 2.5.

Check two solutions
x² − 5x + 6
2 and 3
Check two solutions

Read a complex pair

Here b is zero and c is positive one. The real graph never reaches zero. The roots are imaginary because squaring i gives negative one.

Evaluate a root in another expression with the scientific calculator.

Read a complex pair
x² + 1
0 ± 1i
Read a complex pair

Read the roots and the vertex

A double root

When b² equals 4ac the square root in the quadratic formula vanishes. The parabola touches the axis at its vertex.

Decimal coefficients

Multiply every term by the same power of ten to clear finite decimals. Keep each resulting coefficient within the input limit.

Quadratic Equation Solver reference
InputResult
x² − 5x + 62 and 3
x² + 10 ± 1i

Where does the calculation run?

The calculation runs in this tab. The values you enter stay on your device. Privacy policy.

  1. Balance the equation
  2. Keep each sign
  3. Read the root type

Quadratic Equation Solver questions

Can a be negative?

Yes. A negative coefficient opens the parabola downward.

What if a is zero?

The equation is linear or constant. Remove the x² term and solve that simpler equation.

Are irrational roots exact on the screen?

The discriminant is exact for the supported integer inputs. Displayed root values round to twelve significant digits.

Related tools