Step by step
- Enter a, b, c in A1, B1, C1.
- D1: =B1^2-4*A1*C1.
- E1 and F1: the formula with + and with −.
At a glance
| Cell | Formula | For 1, −5, 6 |
|---|---|---|
| D1 (discriminant) | =B1^2-4*A1*C1 | 1 |
| E1 (root 1) | =(-B1+SQRT(D1))/(2*A1) | 3 |
| F1 (root 2) | =(-B1-SQRT(D1))/(2*A1) | 2 |
Related questions
Why do I get #NUM!?
The discriminant is negative, so there is no real square root.
Can Excel give complex roots?
Yes, with IMSQRT and related IM functions, though they return text like "-1+2i".
Is it the same in Google Sheets?
Yes, the same formulas work.
More questions: quadratic formula calculator
- What is the quadratic formula?
- How to solve a quadratic equation with the formula, step by step
- What is the discriminant (b² − 4ac)?
- What if the discriminant is negative? Complex roots explained
- What is the quadratic formula used for in real life?
- How to find a, b and c in a quadratic equation
- Quadratic formula examples and practice problems
- How is the quadratic formula derived? Completing the square
- Who invented the quadratic formula? History and the name Bhaskara
- How to use the quadratic formula on a calculator (TI-84, Casio)
Open the full quadratic formula calculator →
Updated November 14, 2026.