Skip to content

Quadratic Formula

Solves any quadratic equation ax² + bx + c = 0.

Variables

a, b, c
Coefficients of ax² + bx + c = 0 (a ≠ 0)
x
The solutions (roots)

Explanation

The quadratic formula comes from completing the square on . The expression under the square root, , is the discriminant: positive gives two real roots, zero gives one repeated root, and negative gives two complex roots.

Example

Solve : . Then , so , giving or .

Try it: Quadratic Formula Calculator

Solve ax² + bx + c = 0 with the quadratic formula. Shows the discriminant, exact roots, decimal values and factoring.

Open calculator

Frequently asked questions

Related formulas