Quadratic Formula Calculator. Enter the coefficients a, b, and c from your quadratic equation (ax² + bx + c = 0) and get back both roots — x₁ and x₂ — along with the discriminant and the nature of roots. Works for real and complex solutions. Also try the find Factored Form with Factoring Calculator.
Stuck on a second-degree problem and tired of arithmetic slips? This quadratic formula calculator lets you solve quadratic equations in seconds: type in a, b and c, and you get both roots, the discriminant and the working. Math students, teachers and engineers use it to check a quadratic equation before moving on. See also our Math Solver (Step-by-Step).
What Is a Quadratic Formula Calculator?
This online equation solver handles any second-degree polynomial. It applies the quadratic formula to the coefficients you enter and returns the roots, so you spend your time on what the answer means instead of the algebra. Whether it is a high school math assignment or a college mathematics course, every step is shown, so math teachers can use it for examples and students can check the result against their own work.
Standard Form of a Quadratic Equation
Every quadratic equation can be written in standard form, ax² + bx + c = 0, where x is the variable, a and b are coefficients and c is the constant. The calculator needs a ≠ 0; if a is zero the equation is linear and the formula no longer applies. Students meet this form first, and mathematics builds every later method on it.
A Free Online Tool for Checking Algebra Homework
Because the tool shows the discriminant and both roots, it works as a study aid for algebra, not just an answer machine. Students of mathematics can compare each line with their notes, and a math teacher can reuse the same calculator to prepare solved examples.
How to Use the Quadratic Equation Calculator
Using the quadratic equation calculator takes four short steps, and it is the quickest way for students to solve quadratic equations without a slip:
Rewrite the equation so one side is zero.
Enter the coefficients a, b and c.
Press the solve button.
Read the roots, the discriminant and the working.
Entering the Coefficients a, b and c
Read each coefficient with its sign. A minus sign in front of 10x means b is negative, so enter −10, not 10. Dropping it is the most common way a correct setup turns into a wrong result.
Reading the Calculator's Step-by-Step Solution
The step-by-step solution lists the substitution, the discriminant, the square root and the two divisions. Many tools add graphing as well, plotting the parabola so you can see where the graph meets the axis.
The Quadratic Formula Explained
To use the quadratic formula you substitute the three coefficients into one expression, and the formula gives both solutions at once:
$$x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}$$
The ± symbol produces two answers, one with the square root added and one with it subtracted. The fundamental theorem of algebra guarantees exactly two roots, counting repeats.
Where the Formula Comes From
The formula is the result of completing the square on the general equation, which is why it works for every quadratic, including the ones that do not factor.
Reading the Discriminant
The part under the root, \(b^{2} - 4ac\), is the discriminant. It tells you the nature of the roots before you finish the calculation:
Positive: two real roots, also called distinct real roots.
Zero: one real root, a double root or repeated root.
Negative: no real roots, only a conjugate pair.
The discriminant of 3x² − 10x + 4 builds from 100 down to 52, so the equation has two real roots.
Complex Roots and Imaginary Numbers
When the discriminant is negative, the square root of a negative number produces imaginary numbers. The complex roots come as a complex conjugate pair, \(p \pm qi\), sharing the same real part.
Solve Quadratic Equations: A Worked Example
Take 3x² − 10x + 4 = 0, so a = 3, b = −10 and c = 4. Substituting gives \(\sqrt{(-10)^{2} - 4(3)(4)} = \sqrt{52}\), and the discriminant is 52. That is positive but not a perfect square, so the real roots are irrational: \(x = \frac{10 \pm \sqrt{52}}{6} = \frac{5 \pm \sqrt{13}}{3}\), which is about 2.8685 and 0.4648. Rational roots would have needed a perfect square, which is why a mathematics teacher picks the coefficients carefully. You might also find our find Decimal Result with Radical Calculator useful.
Equation
Discriminant
Roots
3x² − 10x + 4 = 0
52 (positive)
2.8685 and 0.4648
4x² − 12x + 9 = 0
0 (zero)
1.5 (repeated)
x² + 2x + 5 = 0
−16 (negative)
−1 + 2i and −1 − 2i
Computing the Discriminant First
Work out b² − 4ac before anything else, as every mathematics textbook advises. If it is negative you can stop and write the complex pair.
Vertex and Axis of Symmetry
The turning point sits halfway between the roots, at \(x = -\frac{b}{2a}\). Here that is 5/3, so the axis of symmetry is x = 1.667 and the vertex is (1.667, −4.333).The parabola for 3x² − 10x + 4 with both roots, the vertex and the axis of symmetry marked.
Checking Your Answer by Substitution
Put 2.8685 back into the equation and you get zero within rounding. Substitution is how a mathematics student verifies any answer. The roots are also the x-intercepts, and their sum is 10/3.
Timing a Ball Throw: A Quadratic Equation Worked Through
For a physics lab write-up, I need to know when a ball thrown straight up lands. It leaves my hand 1.35 m above the ground at 18.6 m/s, and with standard gravity of 9.80665 m/s² (rounded to 9.8) the height is h = −4.9t² + 18.6t + 1.35. Setting h to zero gives a quadratic equation in standard form, so I open the quadratic equation calculator, enter the coefficients a = −4.9, b = 18.6 and c = 1.35, and solve.
The step-by-step solution reports a discriminant of 372.42, whose square root is 19.298. That is positive, so there are two real roots: t = −0.0712 s and t = 3.8672 s. The negative root is the instant the parabola would have crossed the ground before the throw, so it is physically meaningless and I discard it. The ball lands after about 3.87 seconds.
I cross-check two ways. Substituting 3.8672 back gives a height of zero within rounding, and the vertex at t = −b ÷ 2a = 1.898 s gives a peak of 19.00 m, which fits a throw of that speed.
Release height
Discriminant
Landing time
1.35 m
372.42
3.867 s
2.05 m
386.14
3.903 s
The sensitivity rerun is the useful part: raising the release point by 0.70 m, as if I stood on a step, adds only 0.036 s. The input that matters most is the launch speed, not the height. One caution: this model ignores air resistance, so for a light ball in a gym the real landing time will run shorter, and the calculator's answer should not be trusted on its own. I would film the throw and compare it with the 3.87 s prediction before writing it down.
Quadratic Formula Calculator Tips and Common Mistakes
A good quadratic equation solver still depends on correct input, and most lost marks in a mathematics exam come from slips, not method. Check these points:
Move every term of the quadratic equation to one side first.
Carry each coefficient's minus along with it.
Put negative values in parentheses when you square them.
When the Coefficient a Equals Zero
If a is zero, the equation is linear and the formula divides by zero. Solve it directly instead.
Mistakes with Negative Values
Squaring a negative b gives a positive number, so b² is never negative. Students often forget to flip −b in the numerator, a slip that costs marks in any math test.
Simplifying the Radical and Rounding
Leave answers as exact radicals, like (5 ± √13)/3, until the last step, then round once.
Real-World Uses of Roots and Parabolas
Mathematics and physics lean on the formula constantly: a thrown ball's height, a projectile's landing time, a rectangle's dimensions from its area. In applied mathematics the roots are the answers.
Parabolas, Graphing and X-Intercepts
Every quadratic graphs as a parabola, and its real roots are where it crosses the x-axis. Graph the equation to see them.
Math and Physics Students
Math and physics students use the calculator on their math homework to find both answers, then check whether each answer fits the physical situation. For a math student, learning to read the discriminant is a habit that carries through every mathematics course. Check out our calculate Factored Form, Discriminant (b² − 4ac) & Root x₁ — Generic Rectangle as well.