Calculator

Quadratic Formula Calculator

Find the real roots of Ax² + Bx + C = 0.

Your inputs

Roots

2 and 3

Solved from Ax² + Bx + C = 0.

Formula

The quadratic formula uses the discriminant B² − 4AC:

x = (−B ± √(B² − 4AC)) / 2A

A negative discriminant has no real root. A zero discriminant has one.

Assumptions

  • A is not zero.
  • Only real roots are shown.

Worked example

x² − 5x + 6 = 0 has roots 2 and 3.

Input definitions

A
The coefficient of x².
B and C
The coefficient of x and the constant.

Limitations

Results are rounded for display. This is a classroom calculation, not a measurement from a lab or a financial filing.

Questions

What if the discriminant is negative?

The result says there are no real roots.

Why might the roots appear in order?

They are sorted from smaller to larger.

Related

Related calculators

Algebra

See every calculator in Algebra.

Browse Algebra