← All calculators / Math

Quadratic formula

Supports real roots and complex conjugate roots.

01 / Your inputsBrowser-only calculation
Quadratic formula
—
How it works

The formula

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

Example inputs

a: 1 · b: -3 · c: 2

Result: 2 and 1 · Discriminant: 1

What the Quadratic formula works out

This page computes quadratic formula. The Quadratic formula applies the formula x = (−b ± √(b² − 4ac)) / (2a). Supports real roots and complex conjugate roots.

What each field means

a
A number; the example uses 1.
b
A number; the example uses -3.
c
A number; the example uses 2.

A worked example

With the values this page opens on — a 1, b -3, c 2 — the answer is 2 and 1. The supporting detail reads: Discriminant: 1. Reset restores exactly these numbers.

Reading the result

The headline number is quadratic formula. Change any field and the figure, along with the graph beside it, is recomputed from the values you typed — nothing is rounded before the arithmetic runs.

Assumptions and limits

Supports real roots and complex conjugate roots. Coefficient a must be nonzero.

Your privacy

Nothing you type leaves your browser.

Related calculators

Slope ↗ · Binary ↗ · Matrix ↗ · Factors ↗