Vertex Form Calculator
Convert quadratic equations into vertex form with the free theMatheX Vertex Form Calculator. Find the vertex, axis of symmetry, x- and y-intercepts, and maximum or minimum values with step-by-step solutions and an interactive graph.
Share Your Feedback
How was your experience with this calculator?
A vertex form calculator converts a quadratic from standard form, f(x) = ax² + bx + c, into vertex form, f(x) = a(x − h)² + k. Enter the three coefficients and theMathex tool returns the vertex form, the vertex, the axis of symmetry, both intercepts, the discriminant, the direction the parabola opens, a full completing-the-square derivation, and a graph with the key points marked.
This guide explains what each output means, how the tool gets it, and how to check the result by hand.
What the Calculator Returns
| OutputWhat it tells you | |
| Standard form | Your equation as entered, f(x) = ax² + bx + c |
| Vertex form | f(x) = a(x − h)² + k |
| Vertex (h, k) | The minimum or maximum point of the parabola |
| Axis of symmetry | The vertical line x = h that splits the parabola into mirror halves |
| Y-intercept | Where the curve crosses the y-axis, always (0, c) |
| X-intercepts | The real roots, where f(x) = 0 (if any exist) |
| Discriminant | b² − 4ac, which decides how many real roots there are |
| Opens | Up if a > 0, down if a < 0 |
| Step-by-step solution | The conversion by completing the square, in exact fractions |
| Graph | The parabola with vertex, y-intercept and x-intercepts labeled |
How to Use the Vertex Form Calculator
- Enter a, b and c from your equation in the form ax² + bx + c.
- Submit the values.
- Read the vertex form, the properties, the steps and the graph.
Arrange your equation in standard order first. For y = 5 + 4x − x², enter a = −1, b = 4, c = 5. Decimals are accepted, and the written steps convert them to exact fractions so the working stays clean. The coefficient a cannot be zero, since that would make the equation linear and the calculator will return an error.
The Math Behind It
The vertex formula
The vertex x-coordinate comes from:
h = −b / (2a)
The y-coordinate comes from substituting h back into the original function:
k = a·h² + b·h + c
The vertex form is then a(x − h)² + k. The value of a does not change in the conversion.
The completing-the-square steps
The calculator shows the algebraic route teachers usually expect. For f(x) = 2x² − 8x + 3:
- Factor out a: f(x) = 2(x² − 4x + 3/2)
- Take half the x-coefficient: −4 ÷ 2 = −2
- Square it: (−2)² = 4
- Rewrite as a perfect square: f(x) = 2((x − 2)² − 5/2). The constant is 3/2 − 4 = −5/2.
- Distribute a: f(x) = 2(x − 2)² − 5
- Read off h and k: h = 2, k = −5
The formula and the algebraic method always agree, and having both on the page makes errors easy to spot.
Worked Examples
Example 1: Standard to vertex form with a = 1
f(x) = x² + 6x + 5 (a = 1, b = 6, c = 5)
- Vertex form: f(x) = (x + 3)² − 4
- Vertex: (−3, −4)
- Axis of symmetry: x = −3
- Y-intercept: (0, 5)
- Discriminant: 36 − 20 = 16, so two real roots
- X-intercepts: (−5, 0) and (−1, 0)
- Opens: up
Check: (x + 3)² − 4 = x² + 6x + 9 − 4 = x² + 6x + 5 ✓
Example 2: a is not 1
f(x) = 2x² − 8x + 3
- Vertex form: f(x) = 2(x − 2)² − 5
- Vertex: (2, −5)
- Discriminant: 64 − 24 = 40, so two real roots
- X-intercepts: x = 2 ± √10⁄2, about 0.42 and 3.58
- Opens: up
Example 3: A downward-opening parabola
f(x) = −3x² + 12x − 7
- Vertex form: f(x) = −3(x − 2)² + 5
- Vertex: (2, 5), a maximum
- Y-intercept: (0, −7)
- Discriminant: 144 − 84 = 60
- X-intercepts: about 0.71 and 3.29
- Opens: down
Example 4: Fractions in the vertex
f(x) = x² + 3x + 1
- h = −3/2 and k = 9/4 − 9/2 + 1 = −5/4
- Vertex form: f(x) = (x + 3/2)² − 5/4
- X-intercepts: x = (−3 ± √5)/2, about −2.62 and −0.38
Fractional vertices are where hand arithmetic slips most often, so exact-fraction steps are useful here.
Example 5: No real roots
f(x) = x² − 4x + 7
- Vertex form: f(x) = (x − 2)² + 3
- Vertex: (2, 3)
- Discriminant: 16 − 28 = −12, so no real x-intercepts
- The graph shows the vertex and y-intercept only, because the curve never touches the x-axis.
Example 6: A repeated root
f(x) = x² − 6x + 9
- Vertex form: f(x) = (x − 3)²
- Vertex: (3, 0)
- Discriminant: 0, so one real root
- The vertex sits on the x-axis, and the parabola touches it at x = 3 without crossing.
Discriminant and Number of Real Roots
The discriminant, b² − 4ac, tells you how the parabola meets the x-axis before you look at the graph.
| DiscriminantReal rootsWhat you see | ||
| Greater than 0 | Two | The curve crosses the x-axis twice |
| Equal to 0 | One | The vertex touches the x-axis |
| Less than 0 | None | The curve stays entirely above or below the axis |
You can also predict this from vertex form. If the vertex sits above the x-axis (k > 0) and the parabola opens up, there are no real roots.
How to Read the Graph
The calculator plots the parabola with each key feature marked:
- Blue curve: the function f(x)
- Red point: the vertex, labeled with its coordinates
- Green point: the y-intercept
- Orange points: the x-intercepts, when they exist
The viewing window adjusts to your coefficients and always keeps the origin in view, so steep or shifted parabolas stay readable.
Vertex Form vs. Standard Form
| FeatureStandard formVertex form | ||
| Equation | ax² + bx + c | a(x − h)² + k |
| Vertex | Must be calculated | Read directly as (h, k) |
| Y-intercept | Equals c | Equals ah² + k |
| Best for | Expanding, factoring, quadratic formula | Graphing, max/min problems, transformations |
Both describe the same curve. Vertex form makes the shape visible, while standard form makes the y-intercept and expansion easier.
Where Vertex Form Is Used
A ball is thrown upward with height h(t) = −16t² + 64t + 5 feet. The vertex answers two questions at once:
- Time of peak: t = −64 / (2 × −16) = 2 seconds
- Maximum height: h(2) = 69 feet
In vertex form this is h(t) = −16(t − 2)² + 69. The same method applies to maximizing revenue, minimizing cost, and modeling arches, bridges and reflectors.
Common Mistakes
- Flipping the sign of h. In (x + 3)² the vertex x-coordinate is −3, not 3.
- Changing a. The leading coefficient is identical in both forms.
- Forgetting to distribute a when completing the square. The constant inside the bracket must be multiplied by a.
- Using c as k. k is the value of the function at x = h, not the constant term.
- Confusing the vertex with the y-intercept. They coincide only when h = 0.
- Entering the equation out of order. Rearrange to ax² + bx + c before typing the coefficients.
How to Verify Any Result
Expand the vertex form. If you recover the original standard form, the conversion is correct. Then confirm the vertex lies on the axis of symmetry x = h, and that the x-intercepts are equally far from that line.
Frequently Asked Questions
How do I convert standard form to vertex form?
Find h = −b/(2a), then k = f(h), and write a(x − h)² + k. Alternatively, complete the square as shown above. Both methods give the same answer.
Can every quadratic be written in vertex form?
Yes, as long as a ≠ 0. It works whether or not the quadratic factors or has real roots.
What does the calculator do if a = 0?
It returns an error, because without an x² term the equation is a line and has no vertex.
Why does my parabola have no x-intercepts?
The discriminant is negative, so there are no real solutions to f(x) = 0. The curve lies completely above or below the x-axis.
Is the vertex always a minimum?
Only when a > 0. When a < 0 the vertex is the maximum.
What is the difference between the vertex formula and vertex form?
The vertex formula, h = −b/(2a), is a method for finding the vertex. Vertex form is the finished equation that displays it.
Does this tool find vertex form from a vertex and one point?
Not directly. It starts from a, b and c. You can do that case by hand: substitute the vertex into a(x − h)² + k, plug in the point, and solve for a.
Related Calculators
Explore more mathematical tools on theMathex to strengthen your understanding of quadratic functions, parabolas, and their properties.
- Axis of Symmetry Calculator: Find the axis of symmetry of a parabola and understand how it passes through the vertex, dividing the quadratic graph into two symmetrical halves.
- Inverse Function Calculator: Explore inverse functions, their properties, and the relationship between functions and their graphs.
- Critical Points Calculator: Find critical points of mathematical functions and analyze where functions increase, decrease, or change direction.
Content Review
This content has been reviewed by the theMathex Engineering team.