Quadratic equation solver

Find the real or complex roots of ax² + bx + c = 0.

Numbers Stateless

Use a decimal point for fractional values.

Quick guide

Try an example

You enter

Coefficient a
1
Coefficient b
-5
Coefficient c
6

You get

2
3
How it works & limits

Enter three coefficients with a nonzero a. A repeated root appears once. Results use up to 12 significant digits.

Related tool

Linear interpolation calculator