Skip to content

Calculators

Quadratic Equation Solver

Solve numeric quadratic equations with real or complex roots and a stable calculation for widely different root sizes.

How to use this tool
  1. Write the equation with zero on one side.
  2. Enter a, b and c, including signs, with a different from zero.
  3. Calculate and distinguish real roots from real/imaginary parts.

Loading tool…

About this tool

What is Quadratic Equation Solver?

Solve ax² + bx + c = 0 with a nonzero quadratic coefficient. The solver scales the coefficients and uses a cancellation-resistant form for real roots. A negative discriminant produces separate real and imaginary parts for the conjugate roots, without pretending that no solution exists.

A worked example

Solve a quadratic with two integer roots

Example input

a = 1, b = -5, c = 6

Expected result

x₁ = 2
x₂ = 3

The equation x² − 5x + 6 = 0 factors as (x − 2)(x − 3). The numeric solver returns the same two roots in increasing order.

Common mistakes and limits

  • Enter negative coefficients with their minus signs.
  • An equation with a = 0 is linear and must be solved as a different model.

Features

What you can do

  • Two real roots, a repeated root or complex conjugates
  • Scaled coefficients and stable real-root calculation
  • Copyable numeric results

Frequently asked questions

Questions about Quadratic Equation Solver

Does a negative discriminant mean there are no roots?

It means there are no real roots. The tool still displays the two complex roots as real and imaginary components. Numerical output uses floating-point arithmetic and is not an exact symbolic proof.

Is an account required?

No. This tool is free to use without an account.

Related tools