Quadratic Equation Calculator
Enter the coefficients a, b, and c to solve ax² + bx + c = 0. The calculator reports real or complex roots, the discriminant, the vertex, the axis of symmetry, and the factored form when applicable.
How the Quadratic Equation Calculator Works — and What the Roots Actually Tell You
A quadratic equation is any equation that can be written in the form ax² + bx + c = 0, where a, b, and c are numbers and a isn't zero. You've almost certainly seen one before, whether you realized it or not: the path of a thrown ball, the shape of a satellite dish, the braking distance of a car, the area of a rectangular garden with a fixed perimeter — all of these are described by quadratic relationships. Solving a quadratic means finding the values of x that make the equation true. Those values are called the roots (or zeros), and they're the entire point of the exercise. Our calculator finds them, along with several other useful properties of the equation.
The quadratic formula
There are several ways to solve a quadratic — factoring, completing the square, or graphing — but the most reliable is the quadratic formula: x = (−b ± √(b² − 4ac)) ÷ 2a. It works for every quadratic, regardless of whether the roots are nice whole numbers or messy decimals. The part under the square root, b² − 4ac, is called the discriminant, and it's the single most important quantity in the formula because it tells you — before you do any further calculation — what kind of answer you'll get.
What the discriminant tells you
The discriminant has three cases, and each one corresponds to a different shape of the answer. If the discriminant is positive, you get two distinct real roots — the parabola crosses the x-axis at two different points. If it's zero, you get exactly one real root (a “double root”) — the parabola just touches the x-axis at its vertex. If it's negative, there are no real roots — the parabola floats entirely above or below the x-axis. The two roots in that case are complex numbers, involving the imaginary unit i (which equals the square root of −1). Complex roots might sound abstract, but they're essential in engineering, physics, and signal processing, where they describe oscillations and wave behavior that can't be captured with real numbers alone.
The parabola connection
Every quadratic equation corresponds to a parabola — a U-shaped curve that opens upward if a is positive and downward if it's negative. The roots are the x-coordinates where the parabola crosses or touches the x-axis. The vertex is the lowest or highest point on the curve, and it sits exactly halfway between the two roots. The vertical line through the vertex is called the axis of symmetry, and its equation is always x = −b ÷ 2a. Our calculator reports all of these — roots, discriminant, vertex, and axis of symmetry — so you can see both the algebraic and geometric sides of the same equation at once.
Limitations to keep in mind
This calculator handles real and complex roots, but it assumes the coefficients a, b, and c are real numbers. If you're working with complex coefficients, you'd need a more general solver. The calculator also displays results to a fixed number of decimal places, so if a root is an irrational number like √2, you'll see an approximation (1.41421356...) rather than the exact symbolic form. For most homework, engineering, and everyday uses, this is perfectly fine — but if you need exact surd forms, you'd want a symbolic algebra tool like a CAS (computer algebra system). And remember: a quadratic is the simplest non-linear equation. Real-world problems often involve higher-degree polynomials, systems of equations, or non-polynomial functions, all of which require different techniques.