Quadratic equation solver

Solve ax² + bx + c = 0 — real or complex roots, discriminant, and vertex.

Coefficients of ax² + bx + c = 0

Solved in this browser. Nothing is sent anywhere.

Coefficients up to ±10¹⁵ in double precision — extreme ratios can lose a few digits. The numerically stable form of the formula is used for two roots.

How to use

  1. Enter coefficients a, b, c.
  2. Solve.
  3. Read the roots, discriminant, and vertex.

What it supports

Coefficients to ±10¹⁵ in double precision; extreme ratios lose trailing digits. a = 0 falls back to the linear equation.

Related tools

Related guides