Quadratic Equation Solver

Solve ax² + bx + c = 0, including complex roots.

Enter details

Roots

x₁ = 2, x₂ = 1

Discriminant
1
Vertex
(1.5, -0.25)

How roots changes with

a: 0.5 → x₁ = 5.236068, x₂ = 0.7639321.5 → 1 ± 0.57735i

The dot is your current value. The graph updates as you type.

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

Quadratic Equation Solver Guide: Formula & Worked Example

Short answer

Solve ax² + bx + c = 0, including complex roots. In the fixed example below, roots is x₁ = 2, x₂ = 1. Your answer depends on the inputs and assumptions you choose.

Formula

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

Use the relationship above with consistent units. The inputs are a, b, c. Use the input scale shown beside each field and keep time periods and units consistent. Only round the final result for display.

Worked example

a
1
b
-3
c
2
  • Roots: x₁ = 2, x₂ = 1
  • Discriminant: 1
  • Vertex: (1.5, -0.25)

Understanding the result

Solve ax² + bx + c = 0, including complex roots. Start with the base example, then replace each value with the figure that matches your situation.

a

The example uses 1 for a. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

b

The example uses -3 for b. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

c

The example uses 2 for c. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

What the comparison means

The comparison changes only a, keeping every other example input fixed. This isolates that input's effect on the primary result. It does not predict future outcomes.

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Comparison

ScenarioInputResult
Lower inputa: 0.8Roots: x₁ = 2.882782, x₂ = 0.867218
Base examplea: 1Roots: x₁ = 2, x₂ = 1
Higher inputa: 1.2Complex roots: 1.25 ± 0.322749i

Common mistakes

  • Using the wrong units for a.
  • Comparing results while changing more than one input at a time.
  • Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Checklist

  • Confirm a.
  • Confirm b.
  • Confirm c.
  • Check the result against your source or provider.

Calculators Percentage Editorial Team

Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.

Last reviewed:

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Frequently Asked Questions

How do I use the Quadratic Equation Solver?

Enter a, b, c, then press Calculate. Your results appear instantly and update every time you change a value and calculate again.

What formula does this calculator use?

It uses: x = (−b ± √(b² − 4ac)) / 2a.

How accurate are the results?

Results are calculated with full precision and rounded for display. For critical work, double-check the rounding you need.

Is this calculator free?

Yes. The Quadratic Equation Solver and all other math calculators on Calculators Percentage are free, with no sign-up required.

Why can my result differ from another source?

Different input assumptions and rounding can produce different answers. Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Estimates only. Confirm final figures, terms and fees with your bank, provider or a qualified professional.

Last updated: January 15, 2026