Quadratic Formula Calculator

ALGEBRA
roots 2, 3 vertex (2.5, -0.25)
a x² + b x + c = 0
Roots
Discriminant (b² – 4ac)
Nature of roots
Vertex (h, k)
Axis of symmetry

Solving any quadratic equation

A quadratic equation has the form a x squared plus b x plus c equals zero. This calculator finds its roots with the quadratic formula, tells you whether they are real or complex, and locates the parabola vertex and axis of symmetry — the full picture from three coefficients.

The quadratic formula

The roots are x = (-b plus or minus the square root of (b squared minus 4ac)) divided by 2a. The part under the root, b squared minus 4ac, is the discriminant, and its sign decides everything: positive gives two distinct real roots, zero gives one repeated root, and negative gives a conjugate pair of complex roots.

Vertex and axis

Every quadratic traces a parabola whose turning point sits at h = -b / 2a, with k found by substituting h back in. The vertical line x = h is the axis of symmetry, mirroring the two roots about the center.

Reading the discriminant

DiscriminantRoots
Greater than 0Two distinct real
Equal to 0One repeated real
Less than 0Two complex conjugates

Related algebra tools

For a straight line through two points, use the slope calculator; for two linear equations at once, the system of equations calculator.

Worked example

For x squared minus 5x plus 6 = 0, the discriminant is 25 minus 24 = 1, so the roots are real: x = 3 and x = 2, with the vertex at (2.5, -0.25).

FAQ

What if a is zero?

Then it is not quadratic but linear, and the single root is x = -c / b. The calculator detects this and switches to the linear solution.

What does a complex root look like here?

It is shown as a real part plus or minus an imaginary part times i, the two roots being mirror images across the real axis.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.