Quadratic Formula Calculator
Solve a quadratic equation and see its roots, discriminant and vertex.
Last updated 2026-11-26 · How we calculate this
Solutions
Enter a, b and c to solve the equation.
Answers are rounded to four decimal places, so a solution such as 1/3 shows as 0.3333, and roots such as √2 appear as decimals rather than in exact square-root form. The calculator solves one equation with real-number coefficients; it does not factor expressions or solve equations with higher powers of x.
Quick Answer
A quadratic equation ax² + bx + c = 0 is solved with x = (−b ± √(b² − 4ac)) ÷ 2a. For 2x² + 5x − 3 = 0, b² − 4ac = 25 + 24 = 49, whose square root is 7, so x = (−5 + 7) ÷ 4 = 0.5 or x = (−5 − 7) ÷ 4 = −3.
How to Use This Calculator
Write your equation in standard form, ax² + bx + c = 0, and type the three numbers a, b and c. The calculator shows every solution, real or complex, along with the discriminant that decides how many solutions there are and the vertex, the turning point of the parabola. A line in the results repeats the equation it solved, so you can check the signs went into the right boxes.
- Rearrange the equation so one side is 0.
- Type a, the number in front of x².
- Type b, the number in front of x, and c, the number on its own.
- Read the solutions, the discriminant and the vertex.
The Formula
x = (−b ± √(b² − 4ac)) ÷ 2a
The part under the square root, b² − 4ac, is the discriminant. If it is positive, its square root is a real number and the ± gives two different solutions. If it is zero, both signs give the same value, so there is one repeated solution. If it is negative, there is no real square root, and the solutions are a pair of complex numbers with an imaginary part. The vertex sits halfway between the two solutions, at x = −b ÷ 2a.
Worked Example
Two solutions: for 2x² + 5x − 3 = 0, the discriminant is 5² − 4 × 2 × (−3) = 49. Its square root is 7, so x = (−5 + 7) ÷ 4 = 0.5 and x = (−5 − 7) ÷ 4 = −3.
One solution: x² − 6x + 9 = 0 has a discriminant of 36 − 36 = 0, so the only solution is x = 6 ÷ 2 = 3. The equation is (x − 3)² = 0 in disguise.
Complex solutions: x² + 2x + 5 = 0 has a discriminant of 4 − 20 = −16. The square root of 16 is 4, so x = (−2 ± 4i) ÷ 2, which is −1 + 2i and −1 − 2i.
A thrown ball: a height of −16t² + 48t + 6 feet after t seconds reaches the ground (height 0) at t = 3.1202 seconds. The other solution, −0.1202, is before the throw, so it is ignored. The vertex shows the ball peaks at 42 feet after 1.5 seconds.
Frequently Asked Questions
Sources: OpenStax, Intermediate Algebra, 9.3 Solve Quadratic Equations Using the Quadratic Formula; OpenStax, College Algebra, 2.5 Quadratic Equations