⚡FreeFastCalculatorAll calculators

Vertex Form Calculator (Quadratic Standard ↔ Vertex)

Convert a quadratic from standard form to vertex form by completing the square, or back. Get the vertex, axis of symmetry, roots and a graph with steps.

Updated · Written and fact-checked by the FreeFast editorial team · Free, no sign-up

Fractions and decimals are kept exact: 0.5 is treated as 1/2.

Vertex formy = 2(x − 2)² − 5
Standard formy = 2x² − 8x + 3
Factored form2(x − r₁)(x − r₂) with irrational roots
Vertex (h, k)(2, −5)
Axis of symmetryx = 2
Minimum valuey = −5 at x = 2
Discriminant b² − 4ac40
Roots (x-intercepts)x = 2 − √10/2, 2 + √10/2
Roots (decimal)0.4189, 3.5811
y-intercept(0, 3)
OpensUpward (a > 0)
Graph of y = 2x² − 8x + 3
-100102030-1.1625.16x
Show data table
-1.1615
-113.05
-0.8511.2
-0.699.45
-0.537.8
-0.376.25
-0.214.8
-0.063.45
0.12.2
0.261.05
0.420
0.58-0.95
0.74-1.8
0.89-2.55
1.05-3.2
1.21-3.75
1.37-4.2
1.53-4.55
1.68-4.8
1.84-4.95
2-5
2.16-4.95
2.32-4.8
2.47-4.55
2.63-4.2
2.79-3.75
2.95-3.2
3.11-2.55
3.26-1.8
3.42-0.95
3.580
3.741.05
3.92.2
4.063.45
4.214.8
4.376.25
4.537.8
4.699.45
4.8511.2
513.05
5.1615
Completing the square, step by step
  1. Start: y = 2x² − 8x + 3
  2. Factor 2 out of the x terms: y = 2(x² − 4x) + 3
  3. Half of the x coefficient −4 is −2; its square is 4.
  4. Add and subtract 4 inside the brackets: y = 2(x² − 4x + 4) − 2 × 4 + 3
  5. The bracket is a perfect square: x² − 4x + 4 = (x − 2)².
  6. Combine the constants: 3 − 8 = −5.
  7. Vertex form: y = 2(x − 2)² − 5, so h = 2 and k = −5.

Vertex form is y = a(x − h)² + k, where (h, k) is the vertex. From standard form y = ax² + bx + c, h = −b ÷ (2a) and k = c − b² ÷ (4a) — for example, y = x² + 6x + 5 becomes y = (x + 3)² − 4 with vertex (−3, −4). This vertex form calculator converts between standard, vertex and factored form, shows the completing-the-square steps with exact fractions, and gives the vertex, axis of symmetry, discriminant, roots, y-intercept and a graph.

How to use the vertex form calculator

  1. Choose the form you already have: standard, vertex or factored.
  2. Type the three numbers. Fractions (1/2), decimals (0.75) and negatives all work.
  3. Read the vertex form at the top and the other two forms below it.
  4. Open the step-by-step panel to see how the square was completed, line by line.
  5. Copy the link to share the exact equation.

The three forms of a quadratic

FormEquationShows directly
Standard (general)y = ax² + bx + cy-intercept c
Vertexy = a(x − h)² + kvertex (h, k), axis x = h, max/min value k
Factored (intercept)y = a(x − r₁)(x − r₂)x-intercepts r₁ and r₂

All three describe the same parabola and share the same a. The OpenStax College Algebra vertex formulas link them: h = −b/(2a), k = f(h) = c − b²/(4a), and the roots are h ± √(−k/a), which is the quadratic formula (−b ± √(b² − 4ac))/(2a) rearranged.

Worked example: completing the square

Convert y = 2x² − 8x + 3 to vertex form. The calculator's own steps:

  1. Start: y = 2x² − 8x + 3
  2. Factor 2 out of the x terms: y = 2(x² − 4x) + 3
  3. Half of the x coefficient −4 is −2; its square is 4.
  4. Add and subtract 4 inside the brackets: y = 2(x² − 4x + 4) − 2 × 4 + 3
  5. The bracket is a perfect square: x² − 4x + 4 = (x − 2)².
  6. Combine the constants: 3 − 8 = −5.
  7. Vertex form: y = 2(x − 2)² − 5, so h = 2 and k = −5.

The vertex is (2, −5); because a = 2 is positive, the parabola opens upward and −5 is its minimum value. The discriminant is 40, positive but not a perfect square, so the roots are irrational: x = 2 − √10/2 and 2 + √10/2.

Worked example: the shortcut formula

For y = 3x² + 5x − 2: h = −5 ÷ (2 × 3) = −5/6 and k = −2 − 25 ÷ 12 = −49/12, so y = 3(x + 5/6)² − 49/12. The discriminant 49 is a perfect square, so the roots are rational (−2 and 1/3) and the factored form is y = 3(x + 2)(x − 1/3).

Vertex form to standard form and factored form

Going the other way is just expanding. y = 2(x − 3)² − 5 expands to y = 2x² − 12x + 13. Starting from factored form, y = (1/2)(x + 1)(x − 3) expands to y = (1/2)x² − x − 3/2, and its vertex form is y = (1/2)(x − 1)² − 2 — the vertex sits halfway between the roots, at x = (−1 + 3) ÷ 2 = 1.

Examples table

Standard formVertex formVertexDiscriminantRoots
y = x² + 6x + 5y = (x + 3)² − 4(−3, −4)16−5 and −1
y = 2x² − 8x + 3y = 2(x − 2)² − 5(2, −5)402 − √10/2 and 2 + √10/2
y = −x² + 4x + 1y = −(x − 2)² + 5(2, 5)202 − √5 and 2 + √5
y = x² + 2x + 5y = (x + 1)² + 4(−1, 4)−16−1 − 2i and −1 + 2i
y = 3x² + 5x − 2y = 3(x + 5/6)² − 49/12(−5/6, −49/12)49−2 and 1/3
y = x² − 4x + 4y = (x − 2)²(2, 0)02
y = (1/2)x² + 3xy = (1/2)(x + 3)² − 9/2(−3, −9/2)9−6 and 0

Row four, y = x² + 2x + 5, has a negative discriminant: the vertex (−1, 4) is above the x-axis and the parabola opens upward, so it never crosses, and the roots are the complex pair −1 − 2i and −1 + 2i.

Reading the graph from vertex form

  • Vertex: (h, k). Note the sign flip: y = (x − 2)² has h = +2, and y = (x + 3)² has h = −3.
  • Direction: a > 0 opens up (k is the minimum); a < 0 opens down (k is the maximum), as in y = −(x − 2)² + 5.
  • Width: |a| greater than 1 makes the parabola narrower than y = x²; between 0 and 1, wider.
  • Axis of symmetry: the line x = h; points the same distance either side have equal y-values.
  • Shift: y = a(x − h)² + k is y = ax² moved h units right and k units up.

Where vertex form is used

Any problem asking for a maximum or minimum is a vertex problem: the highest point of a thrown ball, the price that maximises revenue, the dimensions that give the largest area for a fixed fence. Write the quadratic in vertex form and k is the answer, reached at x = h. OpenStax works a fencing example this way: a fixed length of fence gives an area that is a downward-opening quadratic in one side length, and its vertex gives the best dimensions.

Common mistakes

  • Getting the sign of h wrong. h = −b/(2a); in vertex form the bracket shows x − h, so a positive h appears as a minus sign.
  • Forgetting to factor out a. Completing the square only works directly when the x² coefficient is 1.
  • Not multiplying the subtracted square by a. When a ≠ 1, the square you add inside the bracket is worth a × square outside it.
  • Rounding too early. Keep fractions exact; −5/6 is not −0.83 when you square it.
  • Assuming real roots. A negative discriminant means no x-intercepts.

More algebra tools: matrix inverse calculator, fraction calculator, linear interpolation and the 30-60-90 triangle calculator.

Frequently asked questions

What is vertex form?

Vertex form writes a quadratic as y = a(x − h)² + k. The point (h, k) is the vertex — the lowest point of the parabola if a is positive, the highest if a is negative. OpenStax calls it the standard form of a quadratic function and the ax² + bx + c version the general form; many classes say vertex form and standard form instead.

How do you convert standard form to vertex form?

Either complete the square or use the shortcut h = −b ÷ (2a) and k = c − b² ÷ (4a). For y = x² + 6x + 5: h = −6 ÷ 2 = −3 and k = 5 − 36 ÷ 4 = −4, so y = (x + 3)² − 4.

How do you find the vertex from standard form?

The x-coordinate is h = −b/(2a). Substitute it back into the equation to get k, the y-coordinate. That is the vertex formula OpenStax gives, and the axis of symmetry is the vertical line x = h.

How do you convert vertex form to standard form?

Expand the square and collect terms. y = 2(x − 3)² − 5 becomes 2(x² − 6x + 9) − 5 = 2x² − 12x + 13. Choose "vertex form" in the calculator to do it automatically.

Is a the same in standard form and vertex form?

Yes. The leading coefficient a is the same in all three forms — standard, vertex and factored — and it alone decides whether the parabola opens up or down and how narrow it is.

How do you complete the square?

Factor a out of the x² and x terms, take half of the new x coefficient, square it, add and subtract that square inside the bracket, then write the first three terms as a perfect square. The calculator shows every step with exact fractions.

What does the discriminant tell you?

b² − 4ac positive means two real roots (the parabola crosses the x-axis twice), zero means one repeated root (the vertex sits on the axis) and negative means two complex roots (no x-intercepts).

How do you find the roots from vertex form?

Set y = 0: a(x − h)² + k = 0, so (x − h)² = −k/a and x = h ± √(−k/a). If −k/a is negative there are no real roots.

What is factored (intercept) form?

y = a(x − r₁)(x − r₂), where r₁ and r₂ are the x-intercepts. It exists over the real numbers only when the discriminant is zero or positive; the calculator gives the factored form whenever the roots are rational.

Can the calculator handle fractions and decimals?

Yes. Enter 1/2, −3/4 or 0.25 and everything is computed exactly with fractions, so a vertex like (−5/6, −49/12) is shown exactly instead of as a rounded decimal.

What if a = 0?

Then there is no x² term and the equation is a straight line, not a parabola, so it has no vertex form.

Sources & method

Results are estimates for general information. Found an error? It helps everyone — see our methodology.

Related calculators