Quadratic Formula Calculator

Solve quadratic equations — roots, discriminant, vertex and step-by-step working.

100% FreeNo sign-upPrivate — runs in your browser

Solve ax² + bx + c = 0. Enter a, b and c — a must not be zero.

—

Roots (solutions for x)

Discriminant (Δ)
—
Vertex
—
Axis of symmetry
—
Vertex form
—
Factored form
—
Enter a, b and c to see the step-by-step working.
Copied to clipboard

How to use this tool

1
Identify a, b and c

Write your equation in the form ax² + bx + c = 0 and read off a, b and c.

2
Enter the coefficients

Type a, b and c into the calculator — a must not be zero.

3
Read the roots and vertex

Read the two roots, the discriminant and the vertex, with the working shown.

4
Use the vertex and factored forms

Use the vertex form for the turning point and the factored form to check the roots.

Formula & worked example

For ax² + bx + c = 0 (a ≠ 0): discriminant Δ = b² − 4ac; roots x = (−b ± √Δ) ÷ 2a; vertex x = −b ÷ 2a; vertex form y = a(x − h)² + k with (h, k) the vertex; axis of symmetry x = h.

x² − 3x + 2 = 0 has discriminant Δ = 9 − 8 = 1, so two real roots: x = 2 and x = 1. Its vertex is (1.5, −0.25), its vertex form is y = (x − 1.5)² − 0.25, and it factors as (x − 2)(x − 1) = 0.

Limitations — read this before you rely on it

This solves single-variable quadratic equations with real coefficients only. It does not solve cubic or higher-degree equations, simultaneous equations, or inequalities, and complex roots are shown in a + bi form without a graph. Roots are rounded to 4 decimal places, so for exact surd answers (like √2) the displayed value is an approximation.

Frequently asked questions

Enter a, b and c for ax² + bx + c = 0. The calculator gives both roots, the discriminant, the vertex, the axis of symmetry, the vertex form and the factored form where the roots are real.

x = (−b ± √(b² − 4ac)) ÷ 2a. It comes from completing the square and works for every quadratic equation, including ones that do not factor neatly.

The discriminant is Δ = b² − 4ac. If Δ > 0 there are two distinct real roots, if Δ = 0 there is one repeated root, and if Δ < 0 there are no real roots — the two roots are complex.

Yes. For example, x² + 1 = 0 has roots i and −i, where i² = −1. The calculator shows complex roots in a + bi form.

The vertex form is y = a(x − h)² + k, where (h, k) is the vertex. It makes the turning point and the axis of symmetry (x = h) easy to read, and shows whether the parabola opens up (a > 0, a minimum) or down (a < 0, a maximum).