Skip to main content
Mathovia

Math / Algebra

Vertex Form Calculator

Enter a, b and c to convert a quadratic to vertex form, with the completing-the-square steps worked out. You can also go from vertex form back to standard form, or find the equation from the vertex and one point. Every result comes with the parabola's key features and a graph.

y = ax² + bx + c

Vertex form

y = 2(x − 2)² − 5

Standard form: y = 2x² − 8x + 3

01234−505(2, −5)

vertexx-interceptsy-interceptfocus & directrixaxis of symmetry

Vertex
(2, −5)
Axis of symmetry
x = 2
Opens
Upward (a > 0)
Minimum value
y = −5 at x = 2
Range
y ≥ −5
y-intercept
(0, 3)
x-intercepts
(0.4189, 0) and (3.5811, 0)
Discriminant b² − 4ac
40 (two x-intercepts)
Focus
(2, −39/8) ≈ (2, −4.875)
Directrix
y = −41/8 ≈ −5.125

Completing the square, step by step

  1. Factor a = 2 out of the x terms: y = 2(x² − 4x) + 3
  2. Halve the x coefficient and square it: (−4 ÷ 2)² = (−2)² = 4. Add and subtract 4 inside the brackets.
  3. Move the subtracted 4 outside, multiplying it by a = 2: y = 2(x² − 4x + 4) − 8 + 3
  4. Write the bracket as a square and combine the constants: y = 2(x − 2)² − 5
  5. Read the vertex: h = 2, k = −5, so the vertex is (2, −5). Check with h = −b ÷ 2a = 8 ÷ 4 = 2.
Written by
MPhil in Mathematics, Founder of Mathovia
Published

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

A quadratic in standard form, y = ax² + bx + c, hides the most useful thing about its graph: where the parabola turns around. Vertex form puts that point right in the equation. This calculator converts between the two forms, shows the completing-the-square steps with your own numbers, and lists every key feature of the parabola, from the vertex and intercepts to the focus and directrix, with a graph to check against.

Vertex form: y equals a times x minus h squared plus k, where h equals negative b over 2a and k equals c minus b squared over 4a
Vertex form and the formulas for h and k

What vertex form tells you

Each letter has a job you can read straight off the equation:

PartWhat it controlsExample: y = 2(x − 2)² − 5
hLeft/right position of the vertexvertex 2 units right
kUp/down position of the vertexvertex 5 units down
a > 0Opens upward, vertex is a minimumminimum value −5
a < 0Opens downward, vertex is a maximum
|a| > 1Narrower than y = x²twice as steep
|a| < 1Wider than y = x²

The axis of symmetry is the vertical line x = h, so the two halves of the parabola mirror each other across it. The vertex and axis of symmetry lesson covers that relationship in more depth.

How to convert to vertex form (step by step)

The calculator opens on y = 2x² − 8x + 3. Converting it means completing the square, which is just a tidy way to rewrite the x² and x terms as one squared bracket.

Step One: Factor a out of the x terms

Only the x² and x terms go inside the bracket. The constant stays outside.

y = 2x² − 8x + 3
y = 2(x² − 4x) + 3

Step Two: Add and subtract the square of half the x coefficient

Half of −4 is −2, and (−2)² = 4. Adding 4 and subtracting 4 inside the bracket changes nothing, but it creates a perfect square.

y = 2(x² − 4x + 4 − 4) + 3

Step Three: Move the extra term out, multiplied by a

The −4 is inside a bracket that’s multiplied by 2, so it leaves as −8. Forgetting this multiplication is the most common mistake in the whole process.

y = 2(x² − 4x + 4) − 8 + 3

Step Four: Write the square and combine the constants

x² − 4x + 4 is (x − 2)², and −8 + 3 = −5.

y = 2(x − 2)² − 5
vertex (h, k) = (2, −5)

You can check it with the shortcut formulas, which come from doing these same steps with letters instead of numbers:

h = −b ÷ 2a = 8 ÷ 4 = 2
k = c − b² ÷ 4a = 3 − 64 ÷ 8 = 3 − 8 = −5

For a deeper walk through the method, including when a is a fraction, see the completing the square lesson.

The parent parabola y = x² shifted 2 right and 5 down and made twice as steep, giving y = 2(x − 2)² − 5, the vertex form of 2x² − 8x + 3 with vertex (2, −5)
A visual read of the worked example above. These are the same numbers the calculator returns for its default inputs.

Converting vertex form back to standard form

Going the other way is just expanding. Square the bracket, multiply through by a, then add k.

y = 2(x − 2)² − 5
  = 2(x² − 4x + 4) − 5
  = 2x² − 8x + 8 − 5
  = 2x² − 8x + 3

In general, b = −2ah and c = ah² + k. The second tab in the calculator does this conversion and shows each step.

Finding the equation from the vertex and a point

A common homework question gives you the vertex and one other point and asks for the equation. The vertex fixes h and k, so the only unknown left is a.

vertex (2, −5), point (0, 3)
y = a(x − 2)² − 5
3 = a(0 − 2)² − 5
8 = 4a
a = 2   →   y = 2(x − 2)² − 5

The point can’t sit directly above or below the vertex (same x), and it can’t be level with it (same y), because neither tells you anything about a.

Intercepts, focus and directrix

Vertex form also makes the x-intercepts easy to find without the quadratic formula. Set y = 0 and undo the operations in reverse:

0 = 2(x − 2)² − 5
(x − 2)² = 5/2
x = 2 ± √2.5 ≈ 0.4189 and 3.5811

If k and a have the same sign, the square would have to equal a negative number, so there are no x-intercepts. The discriminant b² − 4ac tells you the same thing from standard form: here it’s 64 − 24 = 40, which is positive, so the graph crosses the axis twice.

The focus and directrix come from the focal distance p = 1 ÷ 4a. For a = 2, p = 1/8:

focus      (h, k + p) = (2, −5 + 1/8) = (2, −39/8) = (2, −4.875)
directrix  y = k − p  = −5 − 1/8 = −41/8 = −5.125

Every point on the parabola is exactly as far from the focus as from the directrix. That property is why satellite dishes and car headlights use parabolic reflectors: signals arriving parallel to the axis all bounce to the focus. The parabolas lesson has more on these features.

Vertex form in a real problem: maximum height

Vertex form earns its keep when a question asks for a maximum or minimum, because the answer is sitting right in the equation. A ball thrown upward from 5 ft at 64 ft/s follows h(t) = −16t² + 64t + 5, where t is in seconds and h in feet. How high does it go, and when?

a = −16, b = 64, c = 5
h = −b ÷ 2a = −64 ÷ (−32) = 2
k = c − b² ÷ 4a = 5 − 4096 ÷ (−64) = 5 + 64 = 69
h(t) = −16(t − 2)² + 69

The ball peaks at 69 ft, 2 seconds after it’s thrown. Because a is negative, the vertex is a maximum. The same idea finds the price that maximizes revenue or the dimensions that give the largest area. Write the quadratic, convert it to vertex form, and read off (h, k). Enter a = −16, b = 64, c = 5 in the calculator to check it. The quadratic applications lesson has more problems of this type.

Common mistakes with vertex form

  1. Getting the sign of h wrong. y = (x + 3)² has its vertex at x = −3, not 3.
  2. Not multiplying by a when moving the constant out. In step three above, the −4 leaves the bracket as −8 because of the 2 in front.
  3. Completing the square before factoring out a. Half of b only works when the x² coefficient inside the bracket is 1.
  4. Forgetting a when finding intercepts. Divide by a before taking the square root.
  5. Reading k as the y-intercept. k is the height of the vertex. The y-intercept is c, the value of y when x = 0, which here is 3.

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 of the parabola, and a sets how wide it is and whether it opens up (a > 0) or down (a < 0).

How do you convert standard form to vertex form?+

Complete the square. Factor a out of the x terms, add and subtract the square of half the x coefficient, then rewrite the bracket as a square. For y = 2x² − 8x + 3 that gives y = 2(x − 2)² − 5. The shortcut is h = −b ÷ 2a and k = c − b² ÷ 4a.

How do I find the vertex of a parabola?+

Use x = −b ÷ 2a for the x-coordinate, then substitute it back into the equation for y. For y = 2x² − 8x + 3, x = 8 ÷ 4 = 2 and y = 2(4) − 16 + 3 = −5, so the vertex is (2, −5).

Why is the sign of h backwards in vertex form?+

Because the form is x minus h. y = (x − 3)² has its vertex at x = 3, and y = (x + 3)², which is (x − (−3))², has its vertex at x = −3. The graph moves the opposite way to the sign you see in the bracket.

How do you find the equation of a parabola from the vertex and a point?+

Put the vertex into y = a(x − h)² + k, substitute the point's x and y, and solve for a. With vertex (2, −5) and point (0, 3): 3 = a(0 − 2)² − 5, so 8 = 4a and a = 2.

What are the focus and directrix of a parabola?+

Every point on a parabola is the same distance from the focus (a point) and the directrix (a line). For y = a(x − h)² + k the focus is (h, k + 1/(4a)) and the directrix is y = k − 1/(4a).

Can I enter fractions?+

Yes. Type values like 1/2 or -3/4 into any box. Answers are shown as fractions when they're exact and simple (h = −3/2) along with a decimal, since homework often asks for exact form.

Learn and practice this topic

Related calculators