Quadratic equation calculator

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

Your inputs

Use the units shown.

Roots
2, 1

Your calculation
How is this calculated?

Solves ax² + bx + c = 0, including complex roots. The quadratic coefficient must be nonzero.

Try an example

Worked example

Roots: 2, 1

Inputs
  • Coefficient a: 1
  • Coefficient b: -3
  • Coefficient c: 2

Compare inputs

Roots: 3, 2

Inputs
  • Coefficient a: 1
  • Coefficient b: -5
  • Coefficient c: 6
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.