Free Scientific Calculator
EQUATIONS

Free Quadratic Equation Solver

Find real or complex roots, see the discriminant and vertex, and follow the quadratic formula.

Equation

ax² + bx + c = 0

Solution

x₁ = 2, x₂ = 3

Worked steps

  1. D = (−5)² − 4 × 1 × 6 = 1.
  2. x = (5 ± 1) ÷ 2.
  3. The two real roots are 2 and 3.

Graph

How to solve a quadratic equation

Arrange the equation as ax² + bx + c = 0, with a nonzero coefficient for x². Use zero for a missing x term or constant. Enter the three coefficients and select Solve equation.

The discriminant D = b² − 4ac determines the type of roots. A positive value gives two real roots, zero gives one repeated root, and a negative value gives two complex roots.