Skip to content

Quadratic formula calculator with steps

Type the coefficients of ax² + bx + c = 0 and the calculator below works the quadratic formula the way you would on paper: the discriminant first, then each substitution, then the roots. Use it to check your homework line by line, not only the final answer.

Examples

2, −1/2

Two real roots

(3/4, −25/8)

Vertex

  1. Your equation

    In the form ax² + bx + c = 0, with everything on one side and 0 on the other.

    2x² − 3x − 2 = 0

  2. Read off a, b and c

    Keep each sign with its number: in x² − 5x + 6, b is −5, not 5.

    a = 2, b = −3, c = −2

  3. Discriminant

    Substitute into Δ = b² − 4ac. Put a negative b in parentheses before squaring: (−5)² is 25.

    Δ = b² − 4ac

    Δ = (−3)² − 4 · 2 · (−2)

    Δ = 9 − (−16) = 25

  4. What the discriminant tells you

    Δ is positive, so there are two different real roots: the parabola crosses the x-axis twice.

    Δ > 0

  5. Square root of Δ

    Simplify the root if you can, so the answer comes out in its simplest form.

    √Δ = √25 = 5

  6. Quadratic formula

    Substitute into x = (−b ± √Δ) / 2a. The formula starts with −b: if b is negative, −b is positive. The whole numerator goes over 2a.

    x = (−b ± √Δ) / 2a

    x = (−(−3) ± 5) / (2 · 2)

    x = (3 ± 5) / 4

  7. The two roots

    Split the ± into its + case and its − case.

    x₁ = (3 + 5) / 4 = 8 / 4 = 2

    x₂ = (3 − 5) / 4 = −2 / 4 = −1/2

  8. Vertex of the parabola

    The vertex is at x = −b / 2a. Put that x back into the left side to get y.

    x = −b / 2a = 3 / 4 = 3/4

    y = 2(3/4)² − 3(3/4) − 2 = −25/8

  9. Factored form

    A root p/q gives the factor (qx − p). Multiply the factors back out to check.

    (x − 2)(2x + 1) = 0

Vertex: x = 3/4 = 0.75 · y = −25/8 = −3.125

  1. When to use the formula

    The quadratic formula solves every quadratic equation. Factoring is quicker when the equation factors with whole numbers, as x² − 5x + 6 = (x − 2)(x − 3) does. If you can't find the factors in a few seconds, go to the formula. OpenStax College Algebra teaches four methods: factoring, the square root property, completing the square and the quadratic formula.

  2. Write the equation in standard form

    Move every term to one side so the other side is 0: ax² + bx + c = 0. Then read a, b and c with their signs. In 2x² − 3x − 2 = 0, a = 2, b = −3 and c = −2. A missing term has coefficient 0: in x² − 9 = 0, b = 0.

  3. Work out the discriminant

    Δ = b² − 4ac tells you what kind of roots to expect. Positive: two different real roots. Zero: one repeated root. Negative: no real roots, and two complex roots instead. For 2x² − 3x − 2 = 0, Δ = (−3)² − 4 · 2 · (−2) = 9 + 16 = 25.

  4. Substitute into x = (−b ± √Δ) / 2a

    With Δ = 25 the formula gives x = (3 ± 5) / 4. Write the ± as two lines, one with + and one with −: x = 8 / 4 = 2 and x = −2 / 4 = −1/2. Two lines make it hard to lose a root.

  5. Avoid the usual mistakes

    The formula starts with −b, so if b = −3, then −b = +3. Square a negative b in parentheses: −3² is −9, but (−3)² is 9. Divide the whole numerator by 2a, not only the square root. Then check: each root put back into the equation must give 0.

For two equations with two unknowns, use the System of equations solver (2x2) with steps

Sources

  1. Abramson J. College Algebra 2e, section 2.5: Quadratic Equations. OpenStax; 2021.

Snap the equation from your worksheet

Take a photo of the exercise in SolvIQ and you get these steps for your own equation, ending in the roots. If a step is unclear, for example where a sign changed, ask a follow-up question in the chat about that solution. Your first 2 full solutions are free; follow-up chat is part of SolvIQ Pro.

SolvIQ step-by-step solution for 3(2x - 4) = 18, two steps and the answer x = 5

Keep reading