Active experiment

Quadratic Formula Calculator

Find real or complex quadratic roots.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the quadratic formula calculation mean?

The quadratic formula solves every equation of the form ax² + bx + c = 0 when a is nonzero. Its discriminant, b² − 4ac, determines whether the roots are two distinct real numbers, one repeated real number, or a complex-conjugate pair.

When to use it

Use it when factoring is inconvenient or when an exact, general method is required.

Formula

x=−b±b2−4ac2a

In plain text: x = (−b ± √(b² − 4ac)) / 2a

Variables and units

SymbolMeaning
acoefficient of x²; must not be zero
bcoefficient of x
cconstant term
Ddiscriminant b² − 4ac

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

For x² − 5x + 6 = 0, D = 25 − 24 = 1. Then x = (5 ± 1)/2, giving roots 2 and 3.

Common mistakes

  • Write the equation equal to zero before identifying coefficients.
  • Include the sign of b and c.
  • The entire numerator is divided by 2a.

Interpret the result

Substituting either root into the original equation should produce zero, apart from displayed rounding.