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.
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
- Factor a out of the x² and x terms.
- Take half of the x coefficient inside the brackets and square it.
- Add and subtract that square inside the brackets, so nothing changes.
- 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.
- Factor out 2: y = 2(x² − 4x) + 3.
- Half of −4 is −2, and (−2)² = 4.
- y = 2(x² − 4x + 4 − 4) + 3.
- 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
| Feature | From vertex form | From standard form |
| Vertex | (h, k) | (−b/2a, c − b²/4a) |
| Axis of symmetry | x = h | x = −b/2a |
| Opens | Up if a > 0 (vertex is a minimum), down if a < 0 (vertex is a maximum) |
| y-intercept | ah² + k | c |
| x-intercepts | h ± √(−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.
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.