Formula
x = (-b ± √(b² - 4ac)) / 2a
Worked example
With these values
- a
- 1
- b
- -3
- c
- 2
The calculator gives
- Roots
- x₁ = 2 ; x₂ = 1
- Discriminant
- 1
These values are only an illustration. Replace them with yours in the form above.
How "Discriminant" changes with "a"
| a | Discriminant |
|---|---|
| 0.5 | 5 |
| 0.8 | 2.6 |
| 1 | 1 |
| 1.2 | -0.6 |
| 1.5 | -3 |
All other values stay as in the example.
How to use this calculator
Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.
Read the guide
Questions
How is the result calculated?
The calculator applies this rule: x = (-b ± √(b² - 4ac)) / 2a
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.