Skip to content
√Solver AI
Study guidesFree toolsAbout
Get the app
√Solver AI

Step-by-step homework help for math and science, in your pocket.

Contact: support@solverai.app

Download on the App Store

Solvers

  • Algebra solver
  • Calculus solver
  • Geometry solver
  • Trigonometry solver
  • Statistics solver
  • Equation solver
  • Chemistry solver
  • Physics solver

Help with

  • Fractions
  • Derivatives
  • Integrals
  • Quadratics
  • Percentages
  • Matrices

Free tools

  • Quadratic formula calculator
  • Fraction calculator
  • Percentage calculator
  • Standard deviation calculator
  • Kinematics calculator (SUVAT)
  • Slope calculator
  • Molar mass calculator
  • System of equations solver
  • All tools

Solver AI

  • Study guides
  • About
  • Support
  • Best math solver apps
  • Privacy policy
  • Terms of use

© 2026 Solver AI. All rights reserved.

  1. Home
  2. Free tools
  3. Quadratic formula calculator

Quadratic Formula Calculator

Solve any quadratic equation ax² + bx + c = 0 with step-by-step solutions and a parabola graph.

Enter coefficients for: ax² + bx + c = 0

x² + 5x + 6 = 0
Try an example

What Is the Quadratic Formula?

The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a. It solves any quadratic equation of the form ax² + bx + c = 0, where a ≠ 0. The expression under the square root, b² - 4ac, is called the discriminant and determines the nature of the roots.

How Does the Discriminant Work?

If the discriminant is positive, the equation has two distinct real roots. If it equals zero, there is exactly one repeated real root. If the discriminant is negative, the equation has two complex conjugate roots.

When to Use the Quadratic Formula

Use the quadratic formula when factoring is difficult or impossible. It works for every quadratic equation, including those with irrational or complex roots. For simpler equations, factoring or completing the square may be faster.

Worked example

Solve 2x² − 4x − 6 = 0.

  1. Read the coefficients: a = 2, b = −4, c = −6.
  2. Discriminant: b² − 4ac = (−4)² − 4(2)(−6) = 16 + 48 = 64. It is positive, so there are two real roots.
  3. Formula: x = (4 ± √64)/(2 · 2) = (4 ± 8)/4.
  4. Roots: x = 12/4 = 3 and x = −4/4 = −1.
  5. Check: 2(3)² − 4(3) − 6 = 18 − 12 − 6 = 0.

To learn the method by hand, read the quadratic formula guide, or compare it with factoring and completing the square. The vertex form guide shows how to read the vertex straight from the equation. For word problems, see the quadratic equation solver page, and find more calculators on the free tools page.

Frequently asked questions

What happens if a = 0?

Then the equation is bx + c = 0, which is linear, not quadratic. The quadratic formula would divide by 2a = 0, so it does not apply. Solve the linear equation instead: x = −c/b. For example, 4x − 8 = 0 gives x = 2.

What do complex roots mean?

A negative discriminant means the parabola never crosses the x-axis, so there are no real solutions. The formula still works if you write √(−1) as i. For x² + 2x + 5 = 0 the discriminant is 4 − 20 = −16, so x = (−2 ± 4i)/2 = −1 ± 2i. Complex roots always come in conjugate pairs like this.

Should I use the quadratic formula or factoring?

Factoring is faster when the roots are whole numbers or simple fractions: x² − 5x + 6 = (x − 2)(x − 3), so x = 2 or x = 3. The quadratic formula works on every quadratic, including ones with irrational or complex roots, so use it whenever a factorization is not obvious within a few seconds.

How do I find the vertex of the parabola?

The vertex sits at x = −b/(2a). Substitute that x back into the equation to get y. For y = 2x² − 4x − 6, x = 4/4 = 1 and y = 2 − 4 − 6 = −8, so the vertex is (1, −8). It lies exactly halfway between the two roots when the roots are real.

What is a repeated root?

When the discriminant is 0, the ± part adds and subtracts zero, so both roots are the same number. The parabola touches the x-axis at one point instead of crossing it. For x² − 6x + 9 = 0 the discriminant is 36 − 36 = 0, and the only root is x = 3, because the equation is (x − 3)² = 0.

Check your quadratic homework

Solve it yourself first, then take a photo. Solver AI on iPhone and iPad shows each step, so you can see where your answer went wrong.

Download on the App StoreTry a free tool →