Quadratic Equation Solver

Solve ax² + bx + c = 0. Enter the three coefficients to get the discriminant and both roots — real or complex.

Inputs

ax^2 + bx + c = 0

Results

\begin{aligned} D &= b^2 - 4ac \\ &= \left(-3\right)^{2} - 4\left(1\right)\left(2\right) \\ &= ? \end{aligned}
\begin{aligned} x_1 &= \dfrac{-b + \sqrt{D}}{2a} \\ &= \dfrac{-\left(-3\right) + \sqrt{?}}{2\left(1\right)} \\ &= ? \end{aligned}
\begin{aligned} x_2 &= \dfrac{-b - \sqrt{D}}{2a} \\ &= \dfrac{-\left(-3\right) - \sqrt{?}}{2\left(1\right)} \\ &= ? \end{aligned}
xy

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?