» Quadratic Equation Calculator


Quadratic equation calculator to solve ax^2 + bx + c = 0. Find both roots with the quadratic formula calculator, check the discriminant, and graph the parabola.

Use this quadratic equation calculator to quickly solve equations in the form ax2 + bx + c = 0. Enter your values to find the roots (solutions), apply the quadratic formula, and see the parabola on a graph instantly.

The calculator also shows the step-by-step formula with your values and calculates the discriminant D = b2 - 4ac, so you can easily understand whether the equation has two real solutions, one repeated root, or complex solutions.

Quadratic equation formula

$$ax^{2}+bx+c=0$$

Quadratic equation solution formula

$$\begin{aligned} x&=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}\\ D&=b^{2}-4ac \end{aligned}$$

Vieta's formulas (for quadratic equation)

Initial Data

a=

b=

c=

$$x^{2}+4x-12=0$$

Result

$$x=\frac{-4\pm\sqrt{4^{2}-4\cdot1\cdot(-12)}}{2\cdot1}$$

$$D=4^{2}-4\cdot1\cdot(-12)=64$$

$$\begin{aligned} x_1&=2\\ x_2&=-6 \end{aligned}$$


Fig. 1 Graph

Quadratic Equation Calculator FAQ

How do I solve a quadratic equation?
Enter the values of a, b, and c into the calculator. It applies the quadratic formula x = (-b ± sqrt(b^2 - 4ac)) / (2a) to find both roots instantly.

How many solutions does a quadratic equation have?
A quadratic equation can have two real solutions, one repeated solution, or complex solutions. This depends on the value of the discriminant D = b^2 - 4ac.

What is the discriminant and why is it important?
The discriminant D = b^2 - 4ac determines the type of solutions. If D > 0, there are two real roots. If D = 0, there is one repeated root. If D < 0, the solutions are complex.

Why does my quadratic equation have no real solution?
If the discriminant D = b^2 - 4ac is negative, the square root cannot be calculated as a real number. In this case, the equation has complex (imaginary) solutions instead of real roots.

What are the roots of a quadratic equation?
The roots are the values of x that make the equation equal to zero. They are also called solutions or x-intercepts and can be found using the quadratic formula.

Can this calculator show the graph of the equation?
Yes. The calculator plots the parabola for ax^2 + bx + c, so you can see the shape of the graph and where it crosses the x-axis when real roots exist.

What happens if a = 0?
If a = 0, the equation is no longer quadratic. It becomes a linear equation of the form bx + c = 0, which has only one solution.


Stainless Steel Grill Tongs
The Grill Master’s Secret Weapon
Level up your BBQ game with tools that make you look and feel like a pro.
Shop on Amazon