Quadratic Equation Solver
Solve ax² + bx + c = 0 — real and complex roots, with discriminant.
Quadratic Equation Solver
How was your experience with this tool?
Found a bug? Missing a feature? Tell us — it takes 10 seconds.
See how it works
Watch a quick simulation of this tool in action — no file needed.
How to use Quadratic Equation Solver
Follow these steps — everything happens instantly in your browser.
- 1
Step 1. Enter the coefficients a, b and c of ax² + bx + c = 0.
- 2
Step 2. The discriminant and root type (two real, one real, two complex) are shown.
- 3
Step 3. See both roots, the vertex and the axis of symmetry update instantly.
Solve Any Quadratic Equation with Real or Complex Roots
Why this matters
Quadratic equations appear everywhere in physics, engineering, finance, and computer science. From calculating projectile trajectories and optimizing profit margins to determining signal frequencies in electrical engineering, the ability to solve ax squared plus bx plus c equals zero quickly and accurately is a fundamental skill that surfaces in both academic and professional contexts.
Hand-solving with the quadratic formula works, but it is easy to make arithmetic errors under the square root or miscount signs. A solver that shows the discriminant, root type classification, and parabola properties alongside the numerical answers gives you both the result and the mathematical context to understand why the result looks the way it does.
Output fields explained
| Field | Meaning |
| --- | --- |
| Discriminant (b2 - 4ac) | Determines root type: positive = two real, zero = repeated, negative = complex |
| Root 1 and Root 2 | The two solutions, real or complex, of the equation |
| Vertex (-b/2a, c - b2/4a) | The maximum or minimum point of the parabola |
| Axis of symmetry (x = -b/2a) | The vertical line where the parabola is symmetric |
How to use it
Enter the coefficient 'a' (the quadratic term, must be non-zero for a true quadratic).
Enter the coefficient 'b' (the linear term).
Enter the coefficient 'c' (the constant term).
The discriminant, root type classification, both roots, the vertex coordinates, and axis of symmetry update instantly as you type.
Testing your result
Verify by substituting each root back into the original equation. For a quadratic like x squared minus 5x plus 6, the roots should be 2 and 3. Plugging in 2 gives 4 minus 10 plus 6 equals zero, confirming the result. You can also check that the vertex lies exactly midway between the two real roots on the x-axis, which it must by symmetry.
Common mistakes
Entering a = 0, which makes the equation linear rather than quadratic; the tool detects this and shows a clear note.
Confusing the sign of 'b' when the equation is written as ax squared minus bx plus c, where the actual coefficient b is negative.
Interpreting complex roots as an error rather than a valid mathematical outcome when the discriminant is negative.
Forgetting that the vertex formula gives the x-coordinate as -b divided by 2a, not b divided by 2a.
Edge cases and options
When the discriminant is exactly zero, the two roots are identical (a repeated root), and the vertex touches the x-axis. When the discriminant is negative, the tool displays roots in the form 'p plus or minus qi' with both real and imaginary parts clearly separated. If you enter a = 0, the tool recognizes the equation is linear and computes the single root x = -c/b instead of attempting a quadratic solution.
Real-world use cases
Calculating the break-even points for a revenue model where profit follows a quadratic function of production quantity.
Determining the roots of a characteristic equation in control systems engineering.
Finding the intersection points of a projectile's parabolic path with ground level.
Solving optimization problems where the vertex of the parabola represents the maximum or minimum value.
Frequently asked questions
Q: What is the quadratic formula?
A: x = (-b plus or minus the square root of (b squared minus 4ac)) divided by (2a). The discriminant determines whether roots are real (positive), repeated (zero), or complex (negative).
Q: What if a equals zero?
A: If a = 0 the equation is no longer quadratic. It becomes linear (bx + c = 0) with a single root x = -c/b. The tool displays a clear note about this case.
Q: How are complex roots displayed?
A: When the discriminant is negative, the tool shows roots in the form 'p plus or minus qi' with both the real part (p) and imaginary part (q) clearly labeled.
Q: What is the vertex and why does it matter?
A: The vertex at (-b/2a, c - b2/4a) is the peak or trough of the parabola. It tells you the maximum or minimum value of the quadratic function, which is critical in optimization problems.
Q: Can I use this for homework?
A: Yes. The tool shows all intermediate values including the discriminant and vertex, so you can verify your hand calculations step by step.
Start using it now
Try the Quadratic Equation Solver tool. See also Pythagorean Theorem Calculator, Circle Calculator, and Triangle Calculator.
Want the extended step-by-step tutorial? Read it here.
Why use this tool
Private by design
All processing happens locally in your browser. Open DevTools → Network and you'll see zero file uploads. Ever.
Instant
No upload wait, no queue, no server round-trip. Results appear the moment you drop a file.
Free & unlimited
No accounts, no watermarks, no daily caps. Use it as many times as you like, forever.
Works everywhere
Desktop, tablet or phone — every tool is responsive and installable as a PWA for offline use.
Frequently asked questions
Everything you might want to know about quadratic equation solver.
❤️ This tool is free — forever.
Sharing it helps more people discover it, and ad revenue from visitors is what keeps it free. No accounts, no catch.
Pythagorean Theorem Calculator
a² + b² = c² — solve for any side of a right triangle.
Circle Calculator
Area, circumference, diameter — and 90° arc & sector — from radius.
Triangle Calculator
Area (Heron's), perimeter and angles from three sides.
Matrix Calculator
Add, subtract, multiply and find determinants of 2×2 and 3×3 matrices.