
Quadratic Formula Solver
Solve ax² + bx + c = 0 with real or complex roots and the discriminant.
Roots
x₁ = 2, x₂ = 1
discriminant = 1
Discriminant
1
Vertex x
1.5
AI Breakdown & Smart Takeaway
Plain-English insight on your numbers
Get a personalized explanation of what these results mean — and how to improve them.
How the Quadratic Formula Solver works
The Quadratic Formula Solver computes the roots of any quadratic equation in the form ax² + bx + c = 0, handling both real and complex solutions while also revealing the discriminant. It's ideal for students, engineers, and anyone who needs fast, accurate results without manual computation errors.
At its core, this calculator applies the quadratic formula directly to the coefficients you provide. Once you enter values for a, b, and c, the tool computes the discriminant (b² − 4ac) first, because that single value determines the entire nature of the solution set. A positive discriminant means two distinct real roots, zero means exactly one repeated real root (sometimes called a double root), and a negative discriminant means the equation has two complex conjugate roots with no real solutions.
When the discriminant is non-negative, the solver produces exact decimal roots by evaluating (−b ± √(b² − 4ac)) / (2a). The ± operator is what splits the formula into two branches: one adding the square root and one subtracting it, yielding x₁ and x₂ respectively. If the discriminant is negative, the calculator extends into the complex plane, expressing roots in the form p ± qi, where p = −b / (2a) is the real part and q = √(|b² − 4ac|) / (2a) is the imaginary part. This makes the solver useful well beyond high-school algebra, covering any quadratic that arises in signal processing, control systems, or physics.
A common mistake users make is setting a = 0, which collapses the equation into a linear one and makes the quadratic formula undefined due to division by zero. The solver flags this condition rather than returning a nonsensical result. Another frequent error is misidentifying the sign of b or c when the original equation is not written in standard form — always rearrange your equation so all terms are on one side and the expression equals zero before entering coefficients. For example, 3x² = 5x − 2 must be rewritten as 3x² − 5x + 2 = 0 before using a = 3, b = −5, c = 2.
Beyond finding roots, the discriminant value itself carries geometric meaning tied to the corresponding parabola. Every quadratic equation ax² + bx + c = 0 is the algebraic twin of the parabola y = ax² + bx + c; the roots are precisely the x-intercepts where the parabola crosses the x-axis. A positive discriminant means two crossings, a zero discriminant means the parabola just touches the x-axis at its vertex, and a negative discriminant means the parabola floats entirely above or below the x-axis with no real intersections. Understanding this visual connection helps you sanity-check results and builds deeper intuition about why the formula works the way it does.
Formula
x = (−b ± √(b² − 4ac)) / 2a
Pro tips
- Always rewrite your equation in standard form ax² + bx + c = 0 before identifying coefficients — forgetting to move all terms to one side is the single most common source of wrong answers.
- Check the sign of a first: if a is negative, the parabola opens downward, but the formula still works perfectly — just make sure you carry the negative sign through as part of the coefficient, not as a separate operation.
- Use the discriminant as a quick pre-check. If you only need to know whether real solutions exist (e.g., in a physics or engineering feasibility problem), compute b² − 4ac mentally before committing to the full calculation.
- When roots are complex, remember that the two solutions are always conjugates (p + qi and p − qi), so you only need to compute the real and imaginary parts once and then mirror the sign of the imaginary component for the second root.
- To verify your roots, substitute each result back into the original equation. A correct root must reduce the expression to exactly zero; if you get a small non-zero number it's likely a rounding artifact, but a large discrepancy signals a coefficient entry error.
Key terms
- Quadratic Equation
- — A polynomial equation of degree two in the standard form ax² + bx + c = 0, where a ≠ 0.
- Discriminant
- — The expression b² − 4ac that determines whether the roots of a quadratic equation are two distinct real numbers, one repeated real number, or two complex conjugates.
- Root (Zero)
- — A value of x that satisfies the equation ax² + bx + c = 0, geometrically corresponding to an x-intercept of the parabola y = ax² + bx + c.
- Complex Root
- — A root of the form p + qi (where i = √−1) that arises when the discriminant is negative, always occurring in conjugate pairs for equations with real coefficients.
- Double Root
- — A single repeated solution that occurs when the discriminant equals zero, meaning both roots of the quadratic are identical.
- Parabola
- — The U-shaped graph of a quadratic function y = ax² + bx + c, whose x-intercepts are the real roots of the corresponding quadratic equation.



