esc
Calculators

Quadratic formula calculator:
real and complex roots, steps

Type a, b and c from your equation. You get both roots, exact and as decimals, plus the discriminant, the factored form when there is one and the vertex of the parabola.

2x² + 3x − 2 = 0x = 0.5 or x = -2
Nature of roots
Two different rational roots
Exact form
x = 1/2 or x = -2
Factored form
(2x − 1)(x + 2) = 0
Vertex
(-0.75, -3.125)
Axis of symmetry
x = -0.75
Parabola opens
Up (minimum -3.125)
y-intercept
(0, -2)
Sum and product of roots
-1.5 and -1
Working
StepWorking
Formulax = (−b ± √(b² − 4ac)) ÷ 2a
Discriminantb² − 4ac = 3² − 4 × 2 × (-2) = 25
Two real rootsD > 0, so x = (-3 ± √25) ÷ 4

How to use Quadratic formula calculator

  1. 01Type a, b and cUse 0 for a missing term.
  2. 02Read the rootsExact and decimal.
  3. 03Follow the workingDiscriminant first.
File character arranging marked pages

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

The discriminant b² − 4ac decides the roots: positive gives two real roots, zero gives one repeated root and negative gives two complex roots with i. With whole-number coefficients the square root is also simplified, so 2x² − 4x − 3 = 0 gives x = (2 ± √10) / 2. The vertex (−b/2a, c − b²/4a) is where the parabola turns.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

How do I solve 2x² + 3x − 2 = 0?

a = 2, b = 3, c = −2. The discriminant is 9 + 16 = 25, so x = (−3 ± 5) ÷ 4, giving x = 0.5 or x = −2. It factors as (2x − 1)(x + 2).

What if the discriminant is negative?

There are no real roots and the parabola does not cross the x-axis. For x² + 2x + 5 = 0 the discriminant is −16, so x = (−2 ± 4i) ÷ 2 = −1 ± 2i.

What happens if a is 0?

The equation is linear, not quadratic, so bx + c = 0 is solved instead: 2x − 6 = 0 gives x = 3.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.