Math · Every step shown

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with discriminant and vertex. Free, with the full step-by-step solution and no login.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Algebra
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

The quadratic formula is x = (−b ± √(b² − 4ac)) ÷ 2a. The part under the square root, b² − 4ac, is the discriminant. It tells you how many real solutions exist.

  • Positive discriminant: two real solutions.
  • Zero: one repeated solution.
  • Negative: no real solutions, but two complex ones.

Example: x² − 3x + 2 = 0 has a = 1, b = −3, c = 2. The discriminant is 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving x = 2 and x = 1.

The vertex of the parabola sits at x = −b ÷ 2a.

My equation is not in the form ax² + bx + c = 0. What now?
Move everything to one side first so the other side is 0. For x² = 5x - 6, subtract 5x and add 6 to get x² - 5x + 6 = 0.

What does a complex answer mean?
The parabola never touches the x-axis. The solutions involve i, the square root of -1.

What if there is no x term?
Enter b = 0. A missing c is also 0.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. Answers are rounded to six decimal places. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.