Vertex Form Calculator
The quadratic y = 2x^2 - 8x + 3 has its vertex at (2, -5) and opens upward. The calculator rewrites it as y = 2(x - 2)^2 - 5, from h = -b/2a = 2 and k = f(2) = -5. The same panel reports the axis of symmetry x = 2, the discriminant 40 and the roots 0.4189 and 3.5811.
| Vertex form | |
| Vertex (h, k) | |
| Axis of symmetry | |
| Opening | |
| Minimum or maximum value | |
| y-intercept | |
| Discriminant (b^2 - 4ac) | |
| Roots | |
Formulas: h = -b/2a and k = f(h) = c - b^2/4a. The calculations run in your browser, and nothing you type is uploaded or stored.
| Coefficient a | |
| Vertex form | |
Type a, b and c and read the vertex, the vertex form, the axis of symmetry and the roots, or build the equation from a vertex and a point.
Key takeaways
- Vertex form is y = a(x - h)^2 + k, with the vertex at (h, k) (OpenStax College Algebra 2e, 2021)
- From standard form: h = -b/2a and k = f(h). For y = 2x^2 - 8x + 3 that gives (2, -5) and y = 2(x - 2)^2 - 5
- a above 0 opens upward with a minimum at k; a below 0 opens downward with a maximum at k
- The discriminant equals -4ak in vertex form: 2 and -5 give 40, matching b^2 - 4ac
- Given a vertex (h, k) and a point, a = (y - k)/(x - h)^2; vertex (1, 2) through (3, 10) gives a = 2
On this page
- What vertex form shows that standard form hides
- The conversion formulas: h, k, and completing the square
- Example: converting y = 2x^2 - 8x + 3
- What each coefficient controls
- Example: building the equation from a vertex and a point
- Traps that skew a vertex conversion
- Related algebra pages for the same equation
What vertex form shows that standard form hides
Every quadratic can be written two ways. The expanded form, y = ax^2 + bx + c, is convenient for adding terms and reading the y-intercept. The vertex form, y = a(x - h)^2 + k, is convenient for graphing, because the turning point of the parabola sits right in the letters: the vertex is at (h, k). OpenStax College Algebra 2e (Rice University, 2021) calls this the standard form of a quadratic function and notes that many texts name it vertex form for that reason.
Read the transformations directly. The squared term built from (x - h) slides the base parabola y = x^2 sideways, k lifts or drops it, and a stretches or flips it. A sketch needs three numbers: h, k and the sign of a. For y = -(x - 3)^2 + 8 you can say at a glance that the parabola opens downward and peaks at (3, 8).
The axis of symmetry is the vertical line x = h. Every pair of points placed at h - 1 and h + 1 shares a y value, a quick test after any conversion.
The conversion formulas: h, k, and completing the square
Starting from y = ax^2 + bx + c, two short formulas relocate the vertex. The x coordinate is h = -b / 2a, and the y coordinate is k = f(h), the function value at that input. Substituting the expression for h gives the closed form k = c - b^2 / 4a, which the calculator uses to skip a second evaluation.
Completing the square reaches the same place by algebra. Factor a out of the x terms, add and subtract (b / 2a)^2 inside the parentheses, then fold the square together:
y = a(x^2 + (b/a)x) + c = a(x + b/2a)^2 + c - b^2/4a.
LibreTexts Intermediate Algebra (OpenStax, accessed 2026) walks this conversion in its parabolas chapter and tabulates the same vertex rule, x = -b/2a, for the general form. The formulas are faster, and completing the square shows where they come from.
Example: converting y = 2x^2 - 8x + 3
Take a = 2, b = -8, c = 3. The vertex x coordinate is h = -(-8) / (2 x 2) = 8/4 = 2. The vertex y coordinate is k = f(2) = 2(4) - 16 + 3 = -5, and the closed form agrees: k = 3 - 64/8 = 3 - 8 = -5. The vertex form is therefore y = 2(x - 2)^2 - 5.
Check it by expanding: 2(x - 2)^2 - 5 = 2(x^2 - 4x + 4) - 5 = 2x^2 - 8x + 8 - 5, which is the original expression. The parabola opens upward because a is positive, and the minimum value is -5, reached at x = 2.
The roots follow from the quadratic formula on the original form. The discriminant is (-8)^2 - 4(2)(3) = 40, so x = (8 plus or minus 6.3246) / 4, giving 0.4189 and 3.5811 to four decimals. The vertex sits halfway between the roots at x = 2, a quick consistency check on any conversion.
Each of the three common forms carries the same curve, and each answers a different question fastest:
| Form | Equation | Reads fastest |
|---|---|---|
| Standard | y = 2x^2 - 8x + 3 | the y-intercept 3 |
| Vertex | y = 2(x - 2)^2 - 5 | vertex (2, -5) and axis x = 2 |
| Factored | y = 2(x - 0.4189)(x - 3.5811) | roots 0.4189 and 3.5811 |
What each coefficient controls
Vertex form separates the three jobs that the expanded form tangles together. The table reads each piece off y = 2(x - 2)^2 - 5.
| Piece | What it sets | Read off the example |
|---|---|---|
| a | Direction and width: a above 0 opens up, a below 0 opens down, larger |a| draws a narrower curve | a = 2 opens up and is narrower than y = x^2 |
| h | Horizontal position of the vertex and the axis of symmetry x = h | h = 2, so the mirror line is x = 2 |
| k | Vertical position of the vertex; the minimum when a is positive, the maximum when a is negative | k = -5, the smallest output on the curve |
| (x - h) | Sign convention: the form holds (x - h), so (x + 3) means h = -3 | (x - 2) means h = 2, not -2 |
Reading (x + 3) as a shift to the right is the classic sign error; the shift moves left. Test with a point when in doubt: (x + 3)^2 - 10 at x = -3 gives -10, so the vertex sits at (-3, -10), on the left side of the y axis.
Example: building the equation from a vertex and a point
The reverse direction matters in modeling, where you often know the turning point and one other point. Start from y = a(x - h)^2 + k, substitute the known vertex, and use the point to pin down a:
a = (y - k) / (x - h)^2
Suppose a cable follows a parabola with vertex (1, 2) and passes through the point (3, 10). Then a = (10 - 2) / (3 - 1)^2 = 8/4 = 2, and the equation is y = 2(x - 1)^2 + 2. Verify at the given point: 2(3 - 1)^2 + 2 = 8 + 2 = 10, and at x = 0: 2(1) + 2 = 4.
Expanding turns the result into standard form for further algebra: 2(x - 1)^2 + 2 = 2x^2 - 4x + 4. The calculator's second panel runs this vertex-and-point solve for any inputs you enter.
The same solve, run on three more vertex-and-point pairs:
| Vertex (h, k) | Point | a = (y - k) / (x - h)^2 | Equation |
|---|---|---|---|
| (1, 2) | (3, 10) | (10 - 2) / (3 - 1)^2 = 2 | y = 2(x - 1)^2 + 2 |
| (0, 0) | (2, 8) | (8 - 0) / (2 - 0)^2 = 2 | y = 2x^2 |
| (-2, 5) | (0, 1) | (1 - 5) / (0 + 2)^2 = -1 | y = -(x + 2)^2 + 5 |
The same solve appears in pricing models: if revenue follows R(p) = -20p^2 + 400p for a price p in dollars, then h = -400/(2 x -20) = 10 and k = -20(100) + 4,000 = 2,000, so the model peaks at a price of 10 dollars with revenue of 2,000.
Traps that skew a vertex conversion
- Sign of h. The formula is h = -b/2a. With b = -8 the two negatives cancel, giving h = +2. Dropping the minus on b is the most frequent slip.
- k is not c. The constant c is the y-intercept, the value at x = 0. The vertex height k = f(h) differs from c whenever h is not 0: the example has c = 3 and k = -5.
- Dropping terms when expanding. After squaring, expand 2(x - 2)^2 as 2x^2 - 8x + 8 and then carry the -5. Leaving the -5 out returns 2x^2 - 8x + 8 instead of the original 2x^2 - 8x + 3.
- Dividing by 2 instead of 2a. When a = 2, h = -b/4. Halving b alone moves the axis to the wrong line.
- Expecting real roots from every parabola. Roots exist only when a and k have opposite signs, so that -k/a is positive. y = 2(x - 1)^2 + 2 never touches the x axis, so the calculator reports no real roots.
Related algebra pages for the same equation
The site's other algebra pages carry the neighboring jobs. The quadratic formula calculator solves ax^2 + bx + c = 0 directly, which is the roots half of this page's output. The standard form calculator handles the expanded side of the conversion. For lines rather than parabolas, the slope intercept form calculator, the point slope form calculator and the equation of a line calculator mirror the same convert-between-forms workflow.
Frequently asked questions
What is vertex form?
y = a(x - h)^2 + k, where the parabola's vertex sits at (h, k) and a sets the opening. OpenStax College Algebra 2e (2021) presents it as the standard form of a quadratic function.
How do I find the vertex from y = ax^2 + bx + c?
Compute h = -b/2a and k = f(h). For y = 2x^2 - 8x + 3, h = 8/4 = 2 and k = 2(4) - 16 + 3 = -5, so the vertex is (2, -5).
What is the axis of symmetry?
The vertical line x = h through the vertex. The example y = 2(x - 2)^2 - 5 mirrors across x = 2, so points at x = 1 and x = 3 both give -3.
How do I convert by completing the square?
Factor a out of the x terms, add and subtract (b/2a)^2 inside, then factor the square. For y = x^2 + 6x - 1 that yields y = (x + 3)^2 - 10.
What does a tell me?
Its sign sets the direction: a above 0 opens up with a minimum at k, a below 0 opens down with a maximum at k. Its size sets the width: a = 2 is narrower than y = x^2, and a = 0.5 is wider.
How do I write the equation from the vertex and a point?
Substitute into y = a(x - h)^2 + k and solve for a with a = (y - k)/(x - h)^2. A parabola with vertex (1, 2) through (3, 10) has a = 8/4 = 2, so y = 2(x - 1)^2 + 2.
How do I find the roots from vertex form?
Solve a(x - h)^2 + k = 0, which gives x = h plus or minus the square root of -k/a. The example 2(x - 2)^2 - 5 has roots 2 plus or minus 1.5811, that is 0.4189 and 3.5811.
What is the maximum or minimum value?
The k value, reached at x = h. y = -(x - 3)^2 + 8 peaks at 8 when x = 3, because the squared term is 0 there and negative elsewhere.
What is the discriminant in vertex form?
b^2 - 4ac equals -4ak once converted. For a = 2 the product of -4ak with k = -5 is -4 x 2 x (-5) = 40, matching the 40 from the standard form y = 2x^2 - 8x + 3.
Does (x + 3) mean h = 3?
No. Vertex form holds (x - h), so (x + 3) is (x - (-3)) and h = -3. The parabola y = (x + 3)^2 - 10 has its vertex at (-3, -10).
How is vertex form different from factored form?
Factored form, y = a(x - r1)(x - r2), displays the two roots. Vertex form displays the turning point. The same parabola can sit in one form, both, or neither with rational numbers.
Why is k not the constant c?
c is the y-intercept, the value at x = 0. k is the value at x = h. In y = 2x^2 - 8x + 3 they differ: c = 3 but k = -5.
Spotted a wrong number or a broken result?
More Everyday tools
- 1 Hour Cycling Calories Calculator
- 1 Hour Lunch Break Calculator
- 1 Million in Numbers
- 1 Weeks Ago From Today
- 1 in 60 Rule Calculator
- 10 Day Payoff Calculator
- 10 Hour Shift Schedule Calculator
- 10 Minutes From Now
- 10 Months Ago From Today
- 10 to 1 Arm Workout Calculator
- 10207 2: Log Base 2 Calculator
- 1099 Hourly Rate Calculator
- 11 Months Ago From Today
- 11 Weeks Ago From Today
- 12 Hour Shift Pay Calculator
- 12 Months Ago From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.