MATH CALCULATORS

Quadratic Formula Calculator

Solve ax² + bx + c = 0; view real or complex roots and the discriminant.

Coefficients

Solution

Discriminant Δ =

Quadratic formula calculator guide

A quadratic equation has the form ax² + bx + c = 0, where a is not zero. The quadratic formula finds its roots from the three coefficients and works whether the solutions are real, repeated, or complex.

Enter the coefficients with their signs and check the equation before solving. A minus sign belongs to the coefficient itself: for example, 2x² − 3x + 1 has a = 2, b = −3, and c = 1.

Understand the discriminant

The discriminant is b² − 4ac. If it is positive, the equation has two distinct real roots; if it is zero, the roots coincide; and if it is negative, the roots form a complex-conjugate pair.

This classification explains why the calculator may show real and imaginary parts rather than two ordinary decimal values. The discriminant describes the roots’ nature, but it does not by itself tell you whether a root is useful in the original problem.

Enter coefficients and check signs

Use finite numeric values and ensure that a is not zero; if a equals zero, the equation is linear rather than quadratic. Include a coefficient of 1 explicitly or leave it only if the interface supports blank-as-one behavior.

A common source of mistakes is copying the sign from the equation incorrectly. Rewrite the equation with all terms on one side and in descending powers before entering a, b, and c.

Verify roots in context

The displayed roots are numerical approximations when the coefficients do not produce exact decimal results. Substitute each value back into ax² + bx + c and check whether the result is close to zero, allowing for rounding.

If a root is used in a measurement, financial model, or engineering calculation, consider units and domain restrictions. A mathematically valid root may be outside the range allowed by the original application.

Frequently asked questions

What happens if a is zero?

Then the equation is not quadratic. The calculator requires a non-zero leading coefficient.

What does a negative discriminant mean?

There are no real roots; the solutions are a complex-conjugate pair with non-zero imaginary parts.

Why are the roots rounded?

The calculator displays finite-precision numerical values. Some roots are irrational and cannot be written as terminating decimals.

Can I enter negative coefficients?

Yes. Enter each coefficient with its sign and rewrite the equation in ax² + bx + c = 0 form first.

Privacy note: this tool processes your data in your browser. Your inputs and files are not submitted to NAB Tools.