Quadratic Formula Solver
Enter values for a, b, and c in the equation ax² + bx + c = 0.
How this quadratic formula solution calculator works
This calculator solves equations in the standard form ax² + bx + c = 0. You enter the three coefficients, and the tool computes the discriminant and the final roots automatically. It supports all common cases: two distinct real solutions, one repeated real solution, and two complex conjugate solutions.
If you are reviewing algebra, preparing for an exam, teaching a class, or quickly checking homework, this page is designed to give both the answer and a clean interpretation of what the answer means.
The quadratic formula in plain language
The quadratic formula is:
x = (-b ± √(b² - 4ac)) / 2a
Everything in this formula comes from your coefficients:
- a multiplies x² and cannot be zero for a true quadratic equation.
- b multiplies x (the linear term).
- c is the constant term.
- b² - 4ac is called the discriminant.
Why the discriminant matters
The discriminant tells you the type of roots before you even finish solving:
- Discriminant > 0: two different real roots.
- Discriminant = 0: one real root (a repeated root).
- Discriminant < 0: two complex roots with imaginary parts.
This is especially useful for graphing: it predicts how many times the parabola crosses the x-axis.
Step-by-step mental check before you calculate
1) Make sure your equation is in standard form
Rearrange terms until everything is on one side and the equation equals zero. For example, convert x² = 5x - 6 to x² - 5x + 6 = 0.
2) Identify a, b, and c carefully
Sign errors are common. In x² - 5x + 6 = 0, the coefficients are a = 1, b = -5, and c = 6.
3) Interpret the output
Once the calculator gives roots, you can substitute each root back into the original equation to verify. A quick check keeps you accurate and builds confidence.
Examples you can try right now
Example A: Two real solutions
Enter a = 1, b = -3, c = 2. You should get x = 1 and x = 2.
Example B: One repeated solution
Enter a = 1, b = 2, c = 1. The discriminant is zero, so the root is x = -1 (double root).
Example C: Complex solutions
Enter a = 1, b = 2, c = 5. The discriminant is negative, and you get complex roots: x = -1 + 2i and x = -1 - 2i.
Common mistakes and how to avoid them
- Forgetting that b includes its sign.
- Typing 4ac incorrectly (especially with decimals).
- Dividing only part of the numerator by 2a instead of the whole expression.
- Treating a = 0 as quadratic (it becomes linear).
This calculator also handles the a = 0 case gracefully and reports it as a linear equation when possible.
When to use this calculator
Use it for homework checks, tutoring sessions, quick exam review, coding projects involving polynomial roots, or anytime you need a reliable and fast quadratic equation solver.
The goal is simple: fewer arithmetic slips, clearer interpretation, and faster progress in algebra.