CalcWorldHub
Free online calculator · no signup

Quadratic equation solver

Solve ax²+bx+c=0 and classify the roots using the discriminant.

Worked example
Relevant result
Clear result · useful details
Default calculator resultx₁ = 3

Calculator

4,000 tools
Quadratic equation solver — Coefficient a (nonzero), Coefficient b, Coefficient c and calculation method
Quadratic equation solver: inputs and calculation method.

How to use this calculator

Solve ax²+bx+c=0 and classify the roots using the discriminant.

  1. Enter Coefficient a (nonzero), Coefficient b, Coefficient c. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Quadratic equation solver

Solve ax²+bx+c=0 and classify the roots using the discriminant.

Quadratic curve, roots, and vertexAn upward-opening parabola with its lowest point below the x-axis and two roots where the curve crosses it.vertexroots
Quadratic curve, roots, and vertex. Schematic, not to scale.

What it measures

Solve ax²+bx+c=0 and classify the roots using the discriminant.

Inputs and units

  • Coefficient a (nonzero): Use the fitted coefficient from the same equation/model and keep its sign and units.
  • Coefficient b: Use the fitted coefficient from the same equation/model and keep its sign and units.
  • Coefficient c: Use the fitted coefficient from the same equation/model and keep its sign and units.

Formula and method

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

Worked example

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

Interpreting the result

D>0 gives two distinct real roots, D=0 one repeated real root, and D<0 a complex-conjugate pair.

Assumptions and limits

The leading coefficient a must be nonzero. Coefficients should be finite and expressed on a consistent scale.

Sources and method

Frequently asked questions

What does a negative discriminant mean?

The equation has no real roots but has a complex-conjugate pair.

Why are there two roots?

The quadratic formula uses both plus and minus square-root branches.

How do I use the Quadratic equation solver?

Enter Coefficient a (nonzero), Coefficient b, Coefficient c. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Quadratic equation solver?

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

What does the Quadratic equation solver calculate?

Solve ax²+bx+c=0 and classify the roots using the discriminant.

Good calculators show their work.

CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.

✓ Results update instantly
✓ No account required
✓ Privacy-friendly by design
✓ US and metric units