CToolszzz Calculators Singapore

Quadratic Equation Calculator

Solve ax² + bx + c = 0 and see the discriminant and real roots.

1. Enter details2. See result3. Understand & compare

Your details

Enter your values below. Results update automatically, or press Calculate.

🔒 Runs in your browser

Result

–

How this calculator works

The discriminant D = b² − 4ac determines the real roots. D > 0 gives two real roots, D = 0 one repeated root and D < 0 no real roots.

Inputs used in this calculator

  • Coefficient a
  • Coefficient b
  • Constant c

How to use the calculator step by step

  1. Enter the requested values and check the unit beside each field.
  2. Review the result and the breakdown shown next to it.
  3. Change one assumption at a time to compare scenarios and understand what drives the result.

Formula

x = (−b ± √(b² − 4ac)) / (2a)

Example

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

How to get a more accurate estimate

Write the equation with zero on the right-hand side before entering the coefficients.

Keep calculating

Last updated:

Frequently asked questions

What should I enter for a, b and c?

First rearrange the equation into ax² + bx + c = 0. Enter each coefficient with its sign. For x² - 5x + 6 = 0, use a = 1, b = -5 and c = 6. A must not be zero for a quadratic equation.

What does a negative discriminant mean?

When b² - 4ac is negative, the equation has no real roots. This calculator reports that result rather than displaying complex roots. A zero discriminant gives one repeated real root.

What happens when I save a result?

Calculations run in your browser. If you select Save result, the tool stores a snapshot of the inputs and result in this browser for comparison. Favorites and recent tools also use browser storage. Use the comparison controls to remove saved results, or clear this site’s browser data to remove locally stored items. Avoid saving sensitive values on a shared device.

Related calculators