Home › Calculators › Quadratic Equation Solver
Free • Browser-Based • No Sign-In

Quadratic Equation Solver 2026 – Solve ax²+bx+c=0

Solve any quadratic equation ax² + bx + c = 0 instantly. Get exact roots with the quadratic formula, factored form, discriminant analysis, vertex coordinates, and clear step-by-step working — all computed in your browser.

Method: Quadratic formula, factoring, and discriminant analysis. Results depend only on the values you enter.
Math Tool

Quadratic Equation Calculator

Enter the coefficients a, b, and c. Calculations run in your browser.

Coefficient of x². Must not be zero.
Coefficient of x.
Constant term.
How roots are shown.
Factoring works best when roots are rational. The tool searches for integer factor pairs.
Roots
—
Discriminant
—
Step-by-step
—
Factored Form
—
Vertex
—
Axis of Symmetry
—
Enter a ≠ 0. All calculations run in your browser; nothing is sent anywhere.
AI Citation Quick Answer

What Is a Quadratic Equation Solver?

Quick Answer: A quadratic equation solver finds the roots of ax² + bx + c = 0 using the quadratic formula x = (−b ± √(b²−4ac)) / 2a. The discriminant D = b² − 4ac tells you whether there are two real roots (D > 0), one repeated root (D = 0), or two complex roots (D < 0). For example, x² − 5x + 6 = 0 has roots x = 2 and x = 3.

A quadratic equation solver turns the quadratic formula into a quick browser-based calculation. Instead of working through the discriminant and square roots by hand, you enter the coefficients a, b, and c and immediately see the roots, the factored form, the vertex, and every substitution step.

How to Use the Quadratic Equation Solver

The tool has three modes so you can start with the question you need answered.

Quadratic FormulaEnter a, b, c and see every substitution step, the discriminant, and both roots.
Solve by FactoringSee the factor-pair search and the factored form with roots from each factor.
Vertex & DiscriminantGet the root type, vertex (h, k), and axis of symmetry.
  1. Enter a, b, c for the equation ax² + bx + c = 0 (a must not be zero).
  2. Choose a mode that matches your question.
  3. Select Calculate to generate the result.
  4. Check the result cards for roots, discriminant, steps, factored form, vertex, and axis.

The solver runs in your browser and shows exact fractions where roots are rational. It is intended for homework checks, practice, and verifying manual work.

What Is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree 2, written in standard form as ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. The solutions (roots) are the x-values where the parabola y = ax² + bx + c crosses the x-axis.

ax² + bx + c = 0, a ≠ 0

Worked Examples

EquationDiscriminantRoots
x² − 5x + 6 = 0D = 25 − 24 = 1x = 2, x = 3
2x² − 7x + 3 = 0D = 49 − 24 = 25x = 3, x = 1/2
x² + 2x + 1 = 0D = 4 − 4 = 0x = −1 (double root)
x² + x + 1 = 0D = 1 − 4 = −3x = (−1 ± i√3)/2
Key idea: The discriminant D = b² − 4ac determines the root type before you compute the roots. Check it first.

The Quadratic Formula

The quadratic formula gives the roots of any quadratic equation directly from its coefficients:

x = (−b ± √(b² − 4ac)) / 2a

Substitute a, b, and c, simplify the discriminant, then evaluate the two branches (−b + √D) / 2a and (−b − √D) / 2a.

Discriminant Table

Discriminant DRoot TypeExample
D > 0Two distinct real rootsx² − 5x + 6 = 0 → x = 2, 3
D = 0One repeated real rootx² + 2x + 1 = 0 → x = −1
D < 0Two complex conjugate rootsx² + 1 = 0 → x = ±i

Step-by-Step: x² − 5x + 6 = 0

  1. Identify coefficients: a = 1, b = −5, c = 6.
  2. Compute the discriminant: D = (−5)² − 4(1)(6) = 25 − 24 = 1.
  3. Take the square root: √D = 1.
  4. Apply the formula: x = (5 ± 1) / 2.
  5. Roots: x = 3 and x = 2.
Best Practice: Substitute each root back into the original equation to verify it equals zero.

Solving by Factoring

Factoring rewrites the trinomial as a product of two binomials, then uses the zero-product property: if AB = 0, then A = 0 or B = 0.

Step-by-Step: x² − 5x + 6 = 0

  1. Find two numbers that multiply to c = 6 and add to b = −5: −2 and −3.
  2. Write the factored form: (x − 2)(x − 3) = 0.
  3. Set each factor to zero: x − 2 = 0 or x − 3 = 0.
  4. Roots: x = 2 and x = 3.
x² − 5x + 6 = (x − 2)(x − 3)
Note: Factoring is fastest when roots are integers, but the quadratic formula works for every case — including irrational and complex roots.

Common Mistakes When Solving Quadratics

1. Forgetting a ≠ 0

If a = 0, the equation is linear, not quadratic. The quadratic formula requires division by 2a, so it does not apply.

2. Sign errors with −b

When b is negative, −b becomes positive. For x² − 5x + 6 = 0, −b = 5, not −5.

3. Dropping the ±

The ± gives two roots. Forgetting it loses half the solution.

4. Miscomputing the discriminant

D = b² − 4ac — watch the signs. (−5)² = 25, and −4(1)(6) = −24, so D = 1.

5. Taking √D incorrectly for D < 0

A negative discriminant means complex roots, not "no solution." x² + 1 = 0 gives x = ±i.

6. Dividing by a before checking a = 0

Always confirm a ≠ 0 first; otherwise you may divide by zero.

7. Confusing factored form with roots

(x − 2)(x − 3) = 0 gives roots x = 2 and x = 3 — the signs flip.

8. Rounding too early

Keep exact values (fractions, radicals) through the steps; round only the final decimal.

Benefits & Limitations

Exact when possibleRational roots are shown as fractions, not rounded decimals.
Every step visibleSubstitution steps make homework verification easy.
Private by designCoefficients never leave your browser.

Limitations

  • Only quadratic equations (degree 2) are supported — cubic and higher-degree polynomials need a different solver.
  • Factoring mode finds integer factor pairs; non-integer roots are better handled by the quadratic formula mode.
  • Very large coefficients may lose floating-point precision in the decimal display; exact forms are preferred.

Quick Definitions

Quadratic equationax² + bx + c = 0 with a ≠ 0.
Root (zero)An x-value where ax² + bx + c = 0.
DiscriminantD = b² − 4ac; determines the root type.
Quadratic formulax = (−b ± √D) / 2a.
Double rootA root of multiplicity two (D = 0).
VertexThe parabola's turning point, (h, k) with h = −b/2a.
Axis of symmetryThe vertical line x = h through the vertex.
Factored forma(x − r₁)(x − r₂) = 0.
Complex rootA root involving i = √(−1), appearing when D < 0.
Leading coefficientThe constant a multiplying x².

Frequently Asked Questions

What is a quadratic equation?

A quadratic equation is a polynomial equation of degree 2, written as ax² + bx + c = 0 where a ≠ 0. Its graph is a parabola, and its solutions are the x-intercepts.

How do you solve a quadratic equation?

Use the quadratic formula x = (−b ± √(b²−4ac)) / 2a, factor the trinomial into (x − r₁)(x − r₂) = 0, or complete the square. The tool above shows every step.

What is the discriminant?

The discriminant D = b² − 4ac tells how many real roots exist: D > 0 gives two distinct real roots, D = 0 gives one repeated root, and D < 0 gives two complex roots.

What happens when a = 0?

If a = 0, the equation becomes bx + c = 0, which is linear — not quadratic. The quadratic formula does not apply because it divides by 2a.

How do you find the vertex of a parabola?

The vertex is at h = −b/2a and k = f(h) = a·h² + b·h + c. The axis of symmetry is the vertical line x = h.

Can a quadratic have no real roots?

Yes. When the discriminant is negative, the roots are a complex conjugate pair. For example, x² + 1 = 0 gives x = i and x = −i, so there are no real roots.

Methodology

This page was produced by combining a review of standard algebra references (Khan Academy, Paul's Online Math Notes, Math is Fun, Wolfram MathWorld, Purplemath) with direct verification of every worked example using the quadratic formula, factoring, and discriminant analysis. Each numerical claim on this page — including all four worked examples and the discriminant table — was recomputed by hand and cross-checked with the browser-based solver above before publication.

References

  1. Khan Academy — Quadratic functions & equations
  2. Purplemath — The Quadratic Formula
  3. Paul's Online Math Notes — Solving Quadratic Equations
  4. Math is Fun — Quadratic Equation
  5. Wolfram MathWorld — Quadratic Equation

Solve Your Quadratic Equation Now

Enter a, b, and c to get roots, discriminant, vertex, and full step-by-step working — free, instantly, in your browser.

Use the Quadratic Solver
Scroll to Top