Quadratic equation solver

Enter a, b and c for the equation a x squared + b x + c = 0. The solver uses the quadratic formula and tells you whether there are two solutions, one repeated solution, or no real solutions at all.

Your equation

The quadratic formula is x equals minus b plus or minus the square root of b squared minus 4 a c, all over 2 a. The part under the square root is called the discriminant: if it is negative, there are no real solutions.

Check the answer yourself

Take x squared minus 5x plus 6 equals 0. The formula gives x equals 2 or x equals 3. Put 2 back in: 4 minus 10 plus 6 is 0. Put 3 back in: 9 minus 15 plus 6 is 0. Both work, which is how you know the solver is right.