Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Vertex form calculator

Turn a quadratic into vertex form by completing the square, step by step, or expand vertex form back to standard form. Get the vertex, axis of symmetry, intercepts and a graph, all in exact fractions.

y = ax² + bx + c

y = a(x − h)² + k

Whole numbers, decimals or fractions like 3/4. Answers are exact.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Solving ax² + bx + c = 0? The equation solver shows the quadratic formula. Want to see the curve? Plot it in the graphing calculator.

Why vertex form is useful

A quadratic can be written two ways. Standard form, y = ax² + bx + c, shows the y-intercept c at a glance. Vertex form, y = a(x − h)² + k, shows the turning point (h, k) at a glance. That makes it the form you want for graphing, for finding a maximum or minimum (the highest point of a thrown ball, the lowest cost), and for transformations.

How to complete the square

h = −b ÷ 2a    k = c − b² ÷ 4a = f(h)
y = ax² + bx + c = a(x − h)² + k
  1. Factor a out of the x² and x terms.
  2. Take half of the x coefficient inside the brackets and square it.
  3. Add and subtract that square inside the brackets, so nothing changes.
  4. The first three terms are now a perfect square. Multiply the leftover by a and combine it with c.

Going back is just expanding: a(x − h)² + k = ax² − 2ahx + (ah² + k).

Worked example

Write y = 2x² − 8x + 3 in vertex form.

  1. Factor out 2: y = 2(x² − 4x) + 3.
  2. Half of −4 is −2, and (−2)² = 4.
  3. y = 2(x² − 4x + 4 − 4) + 3.
  4. y = 2(x − 2)² − 2 × 4 + 3 = 2(x − 2)² − 5.

The vertex is (2, -5). Since a = 2 > 0 the parabola opens upward, so −5 is the minimum. The axis of symmetry is x = 2 and the y-intercept is (0, 3). Setting y = 0 gives (x − 2)² = 5/2, so x = 2 ± √10/2 ≈ 0.4189 and 3.5811.

What the numbers tell you

FeatureFrom vertex formFrom standard form
Vertex(h, k)(−b/2a, c − b²/4a)
Axis of symmetryx = hx = −b/2a
OpensUp if a > 0 (vertex is a minimum), down if a < 0 (vertex is a maximum)
y-interceptah² + kc
x-interceptsh ± √(−k/a), if −k/a ≥ 0(−b ± √(b² − 4ac)) ÷ 2a

Limitations

  • a can't be 0. Without an x² term it's a straight line, not a parabola.
  • Inputs must be whole numbers, decimals or fractions so the answer can stay exact. For a coefficient like √2, use a decimal approximation.
  • Complex roots aren't listed. When −k/a is negative, the page says there are no real x-intercepts.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 2x² − 8x + 3 = 2(x − 2)² − 5 ✓
  • Its x-intercepts are 2 ± √10/2 ✓
  • x² + 3x + 1 = (x + 3/2)² − 5/4 ✓
  • x² + 3x + 1 has roots −3/2 ± √5/2 ✓
  • ½x² + 3x − 1 = (1/2)(x + 3)² − 11/2 ✓
  • x² − 5x + 6 has rational roots 2 and 3 ✓
  • −x² + 4x: vertex (2, 4), opens downward ✓
  • 3(x + 1)² − 4 = 3x² + 6x − 1 ✓
  • x² + 2x + 5 has no real x-intercepts ✓
  • a = 0 isn't a parabola ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How do I find the vertex of a parabola?

Use h = −b ÷ 2a for the x-coordinate, then put h back into the equation to get k. For y = 2x² − 8x + 3, h = 8 ÷ 4 = 2 and k = 8 − 16 + 3 = −5.

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 tidy up. The calculator shows each step.

How do you convert vertex form to standard form?

Expand the square and multiply by a, then add k. For 3(x + 1)² − 4: 3(x² + 2x + 1) − 4 = 3x² + 6x − 1.

Is vertex form the same as standard form?

Some textbooks, including OpenStax, call a(x − h)² + k the standard form of a quadratic and ax² + bx + c the general form. Others use standard form for ax² + bx + c. The calculator labels both so either way is clear.

What does the a value do?

Its sign sets the direction (up for positive, down for negative) and its size sets the width. A bigger |a| makes a narrower parabola.

Related calculators