Quadratic Formula Calculator

Apply the Quadratic Formula to Any Equation

Need to use Quadratic Formula Calculator right now?

Applies x = (−b ± √(b² − 4ac)) / 2a directly to your coefficients, working for every quadratic regardless of whether it factors nicely.

No sign-upNo uploads 100% free

ax² + bx + c = 0

Discriminant (b² − 4ac)

1

x = 2 or x = 1

Features

  • Runs entirely in your browser
  • Privacy-first — your data is never uploaded
  • Real-time, instant results
  • 100% free, no sign-up required
  • Works on desktop, tablet, and mobile
  • No installation needed

Who uses this tool?

StudentsTeachersEngineersResearchers

About Quadratic Formula Calculator

The quadratic formula solves any equation in the standard form ax² + bx + c = 0, and it's one of the most memorized formulas in algebra for good reason — it works for every quadratic, unlike factoring, which only works cleanly when the roots happen to be nice numbers.

This tool takes the three coefficients (a, b, and c) directly and computes the discriminant (b² − 4ac), then applies the quadratic formula to find the roots. The discriminant's sign tells the whole story before even computing the roots: positive means two distinct real roots, zero means one repeated real root, and negative means the equation has no real solutions (only complex ones).

When the discriminant is negative, this tool still computes and displays the complex roots (in the form p + qi), since a negative discriminant doesn't mean there's no answer — it just means the answer isn't a real number, which is a completely valid and common result in more advanced algebra.

This is useful for solving quadratic equations directly from known coefficients, checking factoring or completing-the-square work, understanding how the discriminant predicts the number and type of roots, and any physics or engineering problem that reduces to a quadratic equation.

How it works

  1. Enter coefficients a, b, and c. From the equation ax² + bx + c = 0, with a not equal to 0.
  2. The discriminant computes automatically. b² − 4ac, which determines the nature of the roots.
  3. View the roots. Two real roots, one repeated root, or a complex conjugate pair.

Examples

Solving a quadratic with two real roots

Input

a=1, b=-3, c=2

Output

x = 2 or x = 1

Solving a quadratic with complex roots

Input

a=1, b=2, c=5

Output

x = -1 + 2i or x = -1 - 2i

Frequently asked questions