Quadratic Formula Calculator

Enter the coefficients a, b and c of ax² + bx + c = 0 to find its solutions, including complex roots when the discriminant is negative.

Type a number and the answer appears straight away.

Your answer

1x² + -3x + 2 = 0x = 2 or x = 1

Discriminant (b² - 4ac)
1
Roots
Two real roots
Vertex
(1.5, -0.25)

The math behind it: Quadratic Formula

x = (-b ± √(b² - 4ac)) / 2a

The discriminant b² - 4ac tells you what to expect: positive means two real solutions, zero means one, and negative means two complex solutions.

You might also need

Checked and updated: