Quadratic Formula Calculator

Solve ax² + bx + c = 0 for its real roots.

Root x₁ 2
Root x₂ 1
Discriminant 1

Formula: x = (−b ± √(b² − 4ac)) ÷ 2a

Step-by-step with your numbers:
1. Values used:
2. a = 1
3. b = -3
4. c = 2
5.
6. Root x₁ = 2
7. Root x₂ = 1
8. Discriminant = 1
Did we solve your problem today?

Solve any quadratic equation ax² + bx + c = 0 for its real roots.

The math behind it

x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac tells you the number of real roots: >0 gives two, =0 gives one, <0 gives none (complex).

Worked example

x² − 3x + 2 = 0 → disc = 1, roots x = 2 and x = 1.

FAQ

What if the discriminant is negative?

There are no real roots — the solutions are complex numbers.