Vertex Form Calculator

Convert a quadratic from standard form to vertex form — or back — with the completing-the-square steps shown. You also get the vertex, axis of symmetry, roots, discriminant, maximum or minimum, and a graph with every feature marked.

Quadratic

y = ax² + bx + c

Max / min on an interval

How the Vertex Form Calculator works

  1. Enter. y = 2x² − 8x + 3 · Mode: standard → vertex
  2. Graph. The tool samples the function in your browser and draws it without connecting across breaks.
  3. Read the result. y = 2(x − 2)² − 5; Vertex (2, −5), axis x = 2, minimum −5; Roots x = 2 ± √10 / 2 ≈ 0.419 and 3.581.
Parabola y = 2x squared minus 8x plus 3 with vertex (2, −5), axis of symmetry x = 2 and two roots marked.
Example: what you enter, the graph the vertex form calculator draws, and the results it reports.

Examples to load

The formulas

y = ax² + bx + c ⟶ y = a(x − h)² + k,   h = −b ⁄ (2a),   k = c − b² ⁄ (4a)

Here a is the same number in both forms: it tells you whether the parabola opens up (a > 0) or down (a < 0) and how steep it is. (h, k) is the vertex — the lowest point when a > 0 and the highest when a < 0 — and the vertical line x = h is the axis of symmetry.

Worked example: 2x² − 8x + 3

  1. Factor 2 out of the x-terms: y = 2(x² − 4x) + 3.
  2. Half of −4 is −2, and (−2)² = 4. Add and subtract 4 inside the bracket: y = 2(x² − 4x + 4 − 4) + 3.
  3. Group the perfect square and move the −4 out (it becomes −8 after multiplying by 2): y = 2(x − 2)² − 8 + 3.
  4. Simplify: y = 2(x − 2)² − 5. The vertex is (2, −5), the axis is x = 2, and the minimum value is −5.

Check with the shortcut: h = −(−8) ⁄ (2·2) = 2 and k = 3 − 64 ⁄ 8 = −5. The roots are where 2(x − 2)² = 5, so x = 2 ± √10 ⁄ 2 ≈ 0.419 and 3.581.

Common mistakes

  • Forgetting to multiply the added constant by a. In step 3 above, the −4 inside the bracket is really −8 once the 2 outside is applied.
  • Sign of h. y = 3(x + 5)² − 2 has vertex (−5, −2), not (5, −2).
  • Using a = 0. Then there is no x² term and no vertex. The calculator explains this and draws the line instead.

Learn the ideas behind the numbers in vertex form explained, axis of symmetry and what the discriminant tells you.

Questions

What is vertex form?

Vertex form writes a quadratic as y = a(x − h)² + k. The vertex is (h, k), the axis of symmetry is x = h, and a controls the width and direction just as in standard form.

How do I convert standard form to vertex form?

Use h = −b ⁄ (2a) and k = f(h), or complete the square. The calculator shows the completing-the-square steps for your numbers.

Why is h the opposite sign of the number in the bracket?

Because the bracket is (x − h). In y = (x + 3)² − 1 the bracket is x − (−3), so h = −3 and the vertex is (−3, −1).

Can I enter fractions?

Yes. Type 1/2, −3/4 or even expressions like 2/3 + 1. Results are shown as exact fractions where possible.

Guides that use this calculator

Related calculators

Graphing Calculator

Plot several functions, points and inequalities; find roots, intersections and turning points.