Quadratic Equation Solver with Steps
NEWQuadratic equation solver for ax² + bx + c = 0: real or complex roots, discriminant, vertex, factored form, step-by-step working and a graph.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
a·x² + b·x + c = 0
2x² − 3x + 1 = 0
Two distinct real roots
Exact: x = 1/2, 1
- Discriminant Δ
- 1
- Vertex
- (0.75, −0.125)
- Axis of symmetry
- x = 0.75
- Opens
- Upward (min)
Factored form: (2x − 1)(x − 1)
Step-by-step working
- Identify the coefficients: a = 2, b = −3, c = 1.
- Discriminant: Δ = b² − 4ac = (−3)² − 4·2·1 = 9 − 8 = 1.
- Δ > 0, so the equation has two distinct real roots.
- Quadratic formula: x = (−b ± √Δ) / (2a) = (3 ± √1) / 4, with √1 = 1.
- x₁ = 0.5, x₂ = 1.
- Vertex: x = −b / (2a) = 0.75, y = c − b² / (4a) = −0.125. Axis of symmetry: x = 0.75.
- a > 0, so the parabola opens up and the vertex is a minimum.
- Factored form: (2x − 1)(x − 1) = 0.
Quick Examples
Typical inputs and the results this tool produces.
Overview
Enter the coefficients a, b and c and this quadratic equation solver finds the roots of ax² + bx + c = 0 straight away. It computes the discriminant, tells you whether the roots are two real numbers, one repeated root or a complex conjugate pair, and gives both decimal and exact forms such as 1 ± √2.
It is built for students checking algebra homework and anyone who needs the vertex or axis of symmetry of a parabola. When the roots are rational you also get the factored form, and a small graph shows the curve, its roots and its vertex. If a is 0 the equation is solved as a linear one.
Every step of the quadratic formula is written out with your numbers. All maths runs in your browser.
Why use this tool?
- Shows the full quadratic formula working
- Exact roots with surds and i
- Factored form when it exists
- Vertex, axis and graph in one place
- Accepts fractions like 1/2 as coefficients
Features
Discriminant check
b² − 4ac decides between two real, one double or two complex roots.
Exact and decimal roots
Simplified radical or fraction form next to 10-digit decimal values.
Factored form
Rational coefficients with rational roots are factored, e.g. 2x² + 4x − 6 = 2(x + 3)(x − 1).
Parabola graph
An SVG plot marks the real roots, the vertex and the axis of symmetry.
Step-by-step
Coefficients, discriminant, formula, roots and vertex are written out in order.
Linear fallback
With a = 0 the solver handles bx + c = 0, including no-solution and every-x cases.
How to Use
Enter a, b and c
Type the coefficients of ax² + bx + c = 0; negatives, decimals and fractions like 1/3 work.
Read the roots
The roots and the type of solution update as you type, with the exact form below.
Check the working
Follow the numbered steps and look at the vertex, axis and factored form.
Look at the graph
The plot shows where the parabola crosses the x-axis, if it does.