Home/Math & Statistics/Equation Solver

Equation Solver

Solve linear and quadratic equations ax² + bx + c = 0 including complex roots.

Enter values

—
—
Export to Studio →
Show formula
Advanced · Smart Compare A/B/C
Advanced · 1D & 2D Simulation Lab

About this calculator

Solve linear and quadratic equations ax² + bx + c = 0 including complex roots.

Inputs

  • Coefficient a (0 for linear)
  • Coefficient b
  • Constant c

Example with default values

  • Coefficient a (0 for linear): 1
  • Coefficient b: -5
  • Constant c: 6

Real roots: 2, 3

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