solving a quadratic equation calculator

Quadratic Equation Solver

Enter values for a, b, and c in the standard equation form ax2 + bx + c = 0.

Enter values for a, b, and c, then click “Solve Equation.”

What this solving a quadratic equation calculator does

This calculator solves equations in the form ax2 + bx + c = 0. You provide the three coefficients, and it instantly returns:

  • The interpreted equation
  • The discriminant value (b2 - 4ac)
  • The root type (two real roots, one repeated real root, or two complex roots)
  • The exact numerical solutions

It also handles edge cases, such as when a = 0 (which makes the expression linear, not quadratic), so you still get a meaningful result instead of an error.

How quadratic equations are solved

1) Start from standard form

A quadratic equation is normally written as: ax2 + bx + c = 0, where a ≠ 0.

The value of a controls the curvature of the parabola, b affects the axis of symmetry, and c is the y-intercept.

2) Use the quadratic formula

The roots are found with: x = (-b ± √(b2 - 4ac)) / (2a).

Everything depends on the expression under the square root, called the discriminant.

3) Interpret the discriminant

  • Discriminant > 0: two distinct real roots
  • Discriminant = 0: one repeated real root (double root)
  • Discriminant < 0: two complex conjugate roots

Quick examples

Example A: x2 - 3x + 2 = 0

Here, a = 1, b = -3, c = 2. Discriminant = 9 - 8 = 1, so you get two real roots: x = 1 and x = 2.

Example B: x2 + 2x + 1 = 0

Here, discriminant = 4 - 4 = 0, giving a repeated root: x = -1.

Example C: x2 + x + 1 = 0

Discriminant = 1 - 4 = -3, which is negative. The roots are complex: x = -1/2 ± (√3/2)i.

Why this calculator is useful

Solving quadratics by hand is an essential skill, but calculator support is practical when:

  • You want to check homework or exam practice quickly
  • You are solving many equations in a row
  • You need reliable complex-root handling
  • You want immediate feedback while learning discriminants

Common mistakes to avoid

  • Forgetting that a cannot be zero for a true quadratic equation
  • Miscalculating the sign in -b
  • Dropping parentheses in 2a in the denominator
  • Ignoring complex roots when the discriminant is negative
  • Rounding too early and losing precision

Final thoughts

A good quadratic equation solver should do more than print a number—it should help you understand the structure of the equation. Use this tool to explore how coefficient changes affect the discriminant and the nature of the roots. If you are studying algebra, pair this calculator with hand-worked solutions to build confidence and speed.

🔗 Related Calculators

🔗 Related Calculators