MATMathematics

Quadratic Equation Solver

Solve any quadratic equation ax² + bx + c = 0. Find real or complex roots, discriminant, and vertex.

Try an example

How It Works

Formula

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Vertex=(b2a,  f ⁣(b2a))\text{Vertex} = \left(\frac{-b}{2a},\; f\!\left(\frac{-b}{2a}\right)\right)

Where

aa

Coefficient of x² (must be non-zero)

bb

Coefficient of x

cc

Constant term

The discriminant b²−4ac is computed first. If non-negative, real roots are found with the quadratic formula. If negative, complex roots are expressed as a±bi. The vertex is at x = −b/(2a).

Frequently Asked Questions

Related Calculators

Ready to Calculate?

Free calculators.