Use the free Quadratic Equation Solver below: your data never leaves your browser — all work happens on your device, and nothing is uploaded to any server.
What a quadratic equation is
A quadratic equation has the form ax squared plus bx plus c equals zero, where a is not zero. The squared term is what makes it quadratic, and it is also what gives the equation its shape: a parabola. Throw a ball, and its height over time follows a parabola. Set the height to zero and you ask when the ball lands. That is a quadratic equation in real life, and its two roots are the two moments the height is zero, one at the throw and one at the landing.
The number a controls whether the parabola opens upward or downward, and how steep it is. The number b shifts the curve sideways, and c sets where it crosses the vertical axis. Changing any one of them moves the roots, sometimes making them merge, sometimes making them vanish from the real number line altogether. The tool handles all three cases, so you can experiment and watch the roots move.
The quadratic formula, step by step
The formula says x equals minus b plus or minus the square root of the discriminant, all divided by twice a. The discriminant is b squared minus 4ac, and it decides everything. The tool shows it first, because it tells you what kind of answer to expect before you compute anything. A positive discriminant means two different real roots. Zero means one repeated root, where the parabola just touches the horizontal axis. A negative discriminant means no real roots at all.
Work through an example: x squared minus 3x plus 2 equals zero. Here a is 1, b is minus 3, and c is 2. The discriminant is 9 minus 8, which is 1. The square root of 1 is 1, so the roots are 3 plus 1 over 2, which is 2, and 3 minus 1 over 2, which is 1. The tool shows each of these steps, so you can follow the arithmetic rather than just trusting an answer.
When the roots are complex
A negative discriminant does not mean the equation has no answer. It means the answers are complex numbers, which combine a real part with an imaginary part. For x squared plus 1 equals zero, the roots are i and minus i, where i is the square root of minus 1. Complex roots always come in conjugate pairs: same real part, opposite imaginary parts. The tool shows them in exactly that form.
Students sometimes treat complex roots as a trick or a failure. They are neither. Complex numbers describe real things, from alternating current in electrical engineering to the way signals are processed in your phone. A parabola that never touches the horizontal axis still has a vertex, still has a shape, and its complex roots still describe where it would meet the axis if the number system were wider. Learning to accept them opens up a whole layer of mathematics.
The vertex and the shape of the curve
The vertex is the turning point of the parabola: the lowest point if a is positive, the highest if a is negative. Its x-coordinate is minus b over twice a, a formula worth memorising because it appears in many problems. The tool reports the vertex alongside the roots, which helps you sketch the curve. With the vertex and the two roots, you can draw the whole parabola by hand in under a minute.
Factoring is the shortcut when it works: x squared minus 3x plus 2 factors into x minus 1 times x minus 2. When the roots are fractions or messy decimals, factoring by eye fails and the formula is the reliable route.
Checking your answer
Every root can be checked by substitution. Put the root back into the original equation and the result should be zero. The tool reminds you of this, and it is the single best habit in equation solving. If substitution gives something other than zero, you made an arithmetic slip, usually a sign error. Sign errors are the most common mistake in quadratic work, especially with a negative b or a negative discriminant.
Another common slip is forgetting to divide the whole numerator by twice a, dividing only the square root part instead. Writing the formula with a clear fraction bar, or with brackets around the entire numerator, prevents this. The tool’s step-by-step display uses brackets for exactly that reason: it shows what belongs in the numerator and what belongs in the denominator.
Where quadratics appear
Quadratics appear wherever one quantity depends on the square of another. The area of a rectangle with a fixed perimeter, the revenue from selling items at different prices, the path of a projectile, and the time it takes an object to fall all lead to quadratic equations. Recognising the pattern is half the battle: whenever you see a squared unknown, expect two answers, a discriminant, and a parabola behind the algebra.
For exams, the winning routine is simple. Write down a, b, and c. Compute the discriminant and read what it promises. Apply the formula carefully, keeping the signs straight. Then check by substitution. The tool lets you practise that routine on as many examples as you like, with the steps visible each time, until the routine feels automatic.
Related tools
- Solucionador de Ecuaciones Cuadráticas (Spanish version)
- Linear Equation Solver
- Cubic Equation Solver
