Quadratic Equation Solver

We can help you solve equations of the form ax2 + bx + c = 0
Enter your values of a, b and c here (details below):

algebra/images/quadratic-solver.js

Quadratic Equations

It is a quadratic equation when it can be put in the form ax2 + bx + c = 0, and a is not zero:

Quadratic equation standard form: ax^2 + bx + c = 0, where a isn't equal to 0

The name "quadratic" comes from "quad" meaning square, as the variable is squared (like x2).

Quadratic equations can appear in many forms, but we can rewrite them as ax2 + bx + c = 0 like in these examples:

In disguise In standard form a, b and c
x2 = 3x -1 x2 - 3x + 1 = 0 a=1, b=-3, c=1
2(x2 - 2x) = 5 2x2 - 4x - 5 = 0 a=2, b=-4, c=-5
x(x-1) = 3 x2 - x - 3 = 0 a=1, b=-1, c=-3
5 + 1/x - 1/x2 = 0 5x2 + x - 1 = 0 a=5, b=1, c=-1

Rearrange your equation to equal zero before finding a, b, and c.

Example: in x2 − 4x = −1, we add 1 to both sides first to get x2 − 4x + 1 = 0

How Does this Work?

The solution(s) to a quadratic equation can be calculated using the Quadratic Formula:

Quadratic formula: x equals fraction with numerator negative b plus or minus square root of b squared minus 4ac, and denominator 2a

The "±" means we calculate both a plus and a minus solution, often leading to two solutions. The blue part b2 - 4ac is called the discriminant, because it can "discriminate" between the possible types of answer:

Learn more at Quadratic Equations

Soccer ball kicked into the air, tracing a dotted parabolic path

Real World

Many things follow the elegant path of a quadratic curve, such as balls, arrows and missiles.

They also have a lot of use in finding financial and engineering solutions. See Real World Examples.