Quadratic Formula Calculator
Solve any quadratic equation ax²+bx+c=0. Get real & complex roots, discriminant, vertex, parabola graph and full step-by-step solution.
How the quadratic formula works
Any equation of the form ax²+bx+c=0 (where a≠0) is a quadratic. The quadratic formula always works and gives exact solutions, unlike factoring (which only works for "nice" integers) or completing the square (which can be tedious).
When b²−4ac > 0, the parabola crosses the x-axis at two distinct points. Both roots are real numbers. If D is a perfect square, the roots are rational (the equation can be factored).
When b²−4ac = 0, the parabola touches the x-axis at exactly one point — the vertex. The single root x = −b/(2a) has multiplicity 2. The equation is a perfect square: a(x−r)²=0.
When b²−4ac < 0, the parabola never crosses the x-axis. Roots are complex conjugates: x = (−b ± i√|D|) / (2a). They come in conjugate pairs: if p+qi is a root, so is p−qi.
y = a(x−h)²+k where vertex (h,k): h = −b/(2a), k = c − b²/(4a). Useful for graphing. If a>0, vertex is minimum; if a<0, vertex is maximum. The axis of symmetry is x = h.