Quadratic Equation Solver
Enter the coefficients of ax² + bx + c = 0 and get the roots, vertex, discriminant, factored form, and every solution step — instantly.
Everything stays in your browser. Nothing is uploaded or stored.
How to solve a quadratic equation
A quadratic equation is any equation you can write as ax² + bx + c = 0, where a ≠ 0. The reliable way to solve one is the quadratic formula, which works for every quadratic — even when factoring is impossible and the roots are complex.
- Identify a, b, and c. For x² − 5x + 6 = 0, a = 1, b = −5, c = 6. Watch the signs — b is −5 here, not 5.
- Compute the discriminant Δ = b² − 4ac. It tells you what kind of roots to expect: Δ > 0 means two distinct real roots, Δ = 0 means one repeated root, Δ < 0 means two complex roots.
- Plug into the quadratic formula: x = (−b ± √Δ) / 2a. Substitute your a, b, c and the discriminant you just found.
- Simplify. Evaluate the ± branch separately to get both roots, and reduce any fractions or radicals.
How to find the vertex of a parabola
To find the vertex of a parabola, compute h = −b / 2a and then k = f(h) — plug h back into the equation. For x² − 4x + 3, h = 2 and k = −1, so the vertex is (2, −1). The vertical line x = h is the axis of symmetry, and c is the y-intercept (where the parabola crosses the y-axis).
Reading the discriminant
Think of the discriminant as the equation's fortune-teller. A positive discriminant (like Δ = 1 for x² − 5x + 6) means the parabola crosses the x-axis twice — roots 2 and 3. Δ = 0 means it just touches the axis (x² − 4x + 4 touches at x = 2). A negative discriminant (Δ = −4 for x² + 1) means the parabola never touches the x-axis, so the roots are complex: ±i.
How does this quadratic equation solver work?
Type the coefficients a, b, and c of ax² + bx + c = 0. The solver computes the discriminant, plugs everything into the quadratic formula, and shows the roots, the vertex, the axis of symmetry, the factored form, and every step in between.
What is the quadratic formula?
x = (−b ± √(b² − 4ac)) / 2a. It gives the roots of any quadratic equation ax² + bx + c = 0. This quadratic formula calculator applies it for you and shows the substitution and simplification steps, so you can follow along or check your homework.
How do I find the vertex of a parabola?
To find the vertex of a parabola, compute x = −b / 2a and then evaluate the equation at that x. For example, x² − 4x + 3 has its vertex at (2, −1). This solver shows the vertex, the axis of symmetry (the vertical line x = −b / 2a), and the y-intercept c automatically.
What does the discriminant tell me?
The discriminant Δ = b² − 4ac predicts the roots before you solve: a positive discriminant means two distinct real roots, a zero discriminant means one repeated (double) root, and a negative discriminant means two complex conjugate roots.
How are complex roots written?
As a + bi, for example 2 + 3i and 2 − 3i. When the discriminant is negative, the solver writes the roots this way instead of giving up at the square root of a negative number.
What happens if a is 0?
Then ax² + bx + c = 0 is not quadratic at all — it collapses to the linear equation bx + c = 0. The solver says so plainly instead of dividing by zero, because the quadratic formula only works when a ≠ 0.
Kept alive by readers like you
Every tool in the codex is free. If they save you time, a small donation inscribes new pages.
DonateMore from the codex
Quadratic Equation Solver
Roots, vertex, and steps for any quadratic.
Story Time Read-Aloud
Over 1,000 public-domain children's stories read aloud for the classroom.
Open tool → LiveScientific Calculator
Trig, logs, powers, factorials — full keypad.
Open tool → LivePercentage Calculator
Percent of, percent change, increase/decrease.
Open tool → LiveGrade Calculator
“What do I need on my final?” — answered.
Open tool → LiveUnit Converter
Length, weight, temperature, and more.
Open tool → LivePeriodic Table
Interactive table of all 118 elements.
Open tool → LiveGPA Calculator
Semester and cumulative GPA with a target planner.
Open tool →