⚡
usefultools.dev
x²

Quadratic Equation Solver with Steps

NEW

Quadratic 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

Fractions like 1/2 or sqrt(2) work. Try:

2x² − 3x + 1 = 0

Two distinct real roots

x₁ = 0.5, x₂ = 1

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

  1. Identify the coefficients: a = 2, b = −3, c = 1.
  2. Discriminant: Δ = b² − 4ac = (−3)² − 4·2·1 = 9 − 8 = 1.
  3. Δ > 0, so the equation has two distinct real roots.
  4. Quadratic formula: x = (−b ± √Δ) / (2a) = (3 ± √1) / 4, with √1 = 1.
  5. x₁ = 0.5, x₂ = 1.
  6. Vertex: x = −b / (2a) = 0.75, y = c − b² / (4a) = −0.125. Axis of symmetry: x = 0.75.
  7. a > 0, so the parabola opens up and the vertex is a minimum.
  8. Factored form: (2x − 1)(x − 1) = 0.
x: −0.25 … 1.75
Blue: the curve · green: real roots · purple: vertex and axis of symmetry.
⚡

Quick Examples

Typical inputs and the results this tool produces.

Δ > 0
x² − 3x + 2 = 0
x₁ = 1, x₂ = 2
Factored
2x² − 3x + 1 = 0
(2x − 1)(x − 1)
Exact
x² − 2x − 1 = 0
x = 1 ± √2
Complex
x² + 2x + 5 = 0
x = −1 ± 2i
Δ = 0
x² − 2x + 1 = 0
x = 1 (double root)
📖

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

1

Enter a, b and c

Type the coefficients of ax² + bx + c = 0; negatives, decimals and fractions like 1/3 work.

2

Read the roots

The roots and the type of solution update as you type, with the exact form below.

3

Check the working

Follow the numbered steps and look at the vertex, axis and factored form.

4

Look at the graph

The plot shows where the parabola crosses the x-axis, if it does.

🤔

Frequently Asked Questions