The quadratic formula solves every quadratic equation (projectile motion, areas, profit maximisation and much more). The discriminant Δ decides whether there are two real roots, one repeated root or two complex roots.
How to use the Quadratic Formula Calculator
- A (x² coefficient)
- B (x coefficient)
- C (constant)
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
The calculator computes Δ, applies the quadratic formula and simplifies the square root exactly when the coefficients are whole numbers (for example x = (3 ± √5)/2). It also completes the square to give the vertex form.
Formula
x = (−b ± √(b² − 4ac)) / 2a
Δ = b² − 4ac
Worked example
Inputs: A (x² coefficient): 1; B (x coefficient): -3; C (constant): 2.
Results: Solutions = x₁ = 2, x₂ = 1; Exact form = x₁ = 2, x₂ = 1; Discriminant Δ = 1; Nature of the roots = Two distinct real roots; Standard form = y = x² − 3x + 2; Vertex form = y = (x − 1.5)² − 0.25.
Key terms
- Quadratic equation
- ax² + bx + c = 0 with a ≠ 0.
- Vieta's formulas
- Relations between the roots and coefficients.
Frequently asked questions
What if a = 0?
The equation is linear, bx + c = 0, and the quadratic formula does not apply.
What are complex roots?
When Δ < 0 the roots are p ± qi, a conjugate pair.
Where does the formula come from?
From completing the square on ax² + bx + c = 0.
How can I check the roots?
Their sum is −b/a and their product is c/a (Vieta's formulas).