Skip to main content
Academic

Vertex Form Calculator

Vertex form calculator with steps: convert standard form to vertex form, find the vertex, axis, intercepts and discriminant, or use a vertex and a point.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

Start with the standard form
y = 2x² − 8x + 3 a = 2, b = -8, c = 3
Factor a out of the x terms
y = 2(x² + (-8/2)x) + 3 = 2(x² + (-4)x) + 3
Complete the square
Half of the x coefficient: (-4) / 2 = (-2) Square it: (-2)² = 4 Add and subtract 4 inside the bracket. Subtracting it inside costs 2 × 4 = 8 outside: y = 2(x² + (-4)x + 4) − 8 + 3
Write the perfect square
x² + (-4)x + 4 = (x − 2)² y = 2(x − 2)² − 5
Read h and k
h = -b/(2a) = -(-8)/(2 × 2) = 2 k = c - b²/(4a) = -5 Vertex form: y = 2(x − 2)² − 5 Vertex: (2, -5)
Check by substitution
k should equal f(h). f(2) = 2(2)² + (-8)(2) + 3 = -5, which matches k = -5.
Axis of symmetry, direction and extreme value
Axis of symmetry: x = 2 a = 2 is positive, so the parabola opens upward. The vertex (2, -5) is the minimum point: y = -5.
Intercepts and discriminant
y-intercept: set x = 0 to get y = c = 3, the point (0, 3). Discriminant: b² − 4ac = (-8)² − 4(2)(3) = 40. The discriminant is positive, so there are two real x-intercepts. Set y = 0: x = h ± √(-k/a) = 2 ± √(5/2). x = 0.4188611699 and x = 3.58113883 (rounded).
Result
y = 2(x − 2)² − 5 | Vertex: (2, -5)
Vertex x (h), also the axis of symmetry x = h
2.0000
Vertex y (k), the minimum or maximum value
-5.0000
a
2.0000
b
-8.0000
c (also the y-intercept)
3.0000
Discriminant b² - 4ac
40.0000
Smaller x-intercept
0.4189
Larger x-intercept
3.5811
Opens upward? (1 = yes, 0 = downward)
1

How the Vertex Form Calculator Formula Works

A quadratic can be written two ways. Standard form, y = ax² + bx + c, is how most problems arrive. Vertex form, y = a(x − h)² + k, shows the turning point of the parabola directly: the vertex is the point (h, k).

To go from standard form to vertex form you complete the square. The shortcut result is h = -b / (2a), which is also the axis of symmetry, and k = c - b² / (4a), which is the value of the function at h. The number a stays the same in both forms.

Going the other way, expand the square: b = -2ah and c = a h² + k. If you know the vertex and one other point, substitute them into vertex form and solve for a = (y − k) / (x − h)².

y = a(x − h)² + k, h = -b / (2a), k = c − b² / (4a)
What goes in, what comes out
  • a2Stretch factor. Positive opens up, negative opens down.
  • hx coordinate of the vertex, also the axis of symmetry x = h.
  • ky coordinate of the vertex, the minimum or maximum value.
  • b, cThe x coefficient and the constant in standard form.
Vertex x (h), also the axis of symmetry x = h
2
Values shown are from the worked example below
a
n/a
Stretch factor. Positive opens up, negative opens down.
h
n/a
x coordinate of the vertex, also the axis of symmetry x = h.
k
n/a
y coordinate of the vertex, the minimum or maximum value.
b, c
n/a
The x coefficient and the constant in standard form.

Using the Vertex Form Calculator

  1. Enter what do you have?

    Choose from Standard form y = ax² + bx + c, Vertex form y = a(x - h)² + k, A vertex (h, k) and one other point.

  2. Enter a (coefficient of x²)

    Type the figure you already have, then press Calculate.

  3. Enter b (coefficient of x)

    Type the figure you already have, then press Calculate.

  4. Enter c (constant)

    Type the figure you already have, then press Calculate.

  5. Enter a (stretch factor)

    Type the figure you already have, then press Calculate.

  6. Enter h (vertex x)

    Type the figure you already have, then press Calculate.

  7. Enter k (vertex y)

    Type the figure you already have, then press Calculate.

  8. Enter vertex x (h)

    Type the figure you already have, then press Calculate.

  9. Enter vertex y (k)

    Type the figure you already have, then press Calculate.

  10. Enter other point x

    Type the figure you already have, then press Calculate.

  11. Enter other point y

    Type the figure you already have, then press Calculate.

  12. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

Convert y = 2x² − 8x + 3 to vertex form. Here a = 2, b = -8 and c = 3. The x coordinate of the vertex is h = -b / (2a) = 8 / 4 = 2. The y coordinate is k = c - b² / (4a) = 3 − 64 / 8 = -5.

The vertex form is y = 2(x − 2)² − 5, with the vertex at (2, -5) and the axis of symmetry x = 2. Because a is positive the parabola opens upward and -5 is the minimum value. The discriminant is 64 − 24 = 40, so there are two x-intercepts, 0.4189 and 3.5811, and the y-intercept is 3.

1
mode
standard
2
a
2
3
b
-8
4
c
3
This calculator returns2vertexH-5vertexK2a-8b3c40discriminant0.4189root13.5811root21opensUp

A textbook example with no real x-intercepts

Take y = 2x² − 6x + 7, a standard textbook case. Then h = 6 / 4 = 3/2 and k = 7 − 36 / 8 = 5/2, so the vertex form is y = 2(x − 3/2)² + 5/2 with vertex (3/2, 5/2).

The discriminant is 36 − 56 = -20, which is negative. The parabola opens upward and its lowest point, 5/2, is above the x-axis, so it never crosses it. The calculator hides the x-intercept results for this case.

mode: standarda: 2b: -6c: 71.5vertexH2.5vertexK2a-6b7c-20discriminant1opensUp

Vertex form to standard form

Expand y = -2(x − 3)² + 5. Here a = -2, h = 3 and k = 5. The x coefficient is b = -2ah = -2(-2)(3) = 12, and the constant is c = a h² + k = (-2)(9) + 5 = -13.

The standard form is y = -2x² + 12x − 13. Since a is negative the parabola opens downward and 5 is the maximum. The discriminant is 40, giving x-intercepts at 1.4189 and 4.5811.

mode: vertexva: -2vh: 3vk: 53vertexH5vertexK-2a12b-13c40discriminant1.4189root14.5811root20opensUp

From a vertex and a point

A parabola has its vertex at (2, -1) and passes through (4, 7). Substitute into y = a(x − 2)² + (-1): 7 = a(4 − 2)² + (-1), so 8 = 4a and a = 2.

The vertex form is y = 2(x − 2)² − 1 and the standard form is y = 2x² − 8x + 7. The discriminant is 8, so the x-intercepts are 1.2929 and 2.7071.

mode: pointph: 2pk: -1px: 4py: 72vertexH-1vertexK2a-8b7c8discriminant1.2929root12.7071root21opensUp

Fractions in the input

Enter a = 1/2, b = 3 and c = -2. Then h = -3 / (2 × 1/2) = -3 and k = -2 − 9 / 2 = -13/2, which is -6.5 as a decimal.

The vertex form is y = (1/2)(x + 3)² − 13/2. The discriminant is 9 + 4 = 13, so the x-intercepts are -6.6056 and 0.6056. Because the arithmetic is exact, the fraction -13/2 appears in the steps instead of a rounded value.

mode: standarda: 1/2b: 3c: -2-3vertexH-6.5vertexK0.5a3b-2c13discriminant-6.6056root10.6056root21opensUp

A downward parabola with whole-number roots

For y = -3x² + 12x − 9, h = -12 / (2 x -3) = 2 and k = -9 − 144 / (4 x -3) = 3. The vertex form is y = -3(x − 2)² + 3.

Because a = -3 is negative, the vertex (2, 3) is a maximum. The discriminant is 36, a perfect square, so the x-intercepts are whole numbers, 1 and 3, found exactly in the steps.

mode: standarda: -3b: 12c: -92vertexH3vertexK-3a12b-9c36discriminant1root13root20opensUp

What Else to Know

Vertex form formula: y = a(x - h)² + k

Every parabola that opens up or down can be written in vertex form, y = a(x − h)² + k. The point (h, k) is the vertex, the single turning point. The line x = h is the axis of symmetry, and the number a controls how wide the parabola is and which way it opens.

Diagram of vertex form formulas: h equals minus b over 2a, k equals c minus b squared over 4a, a unchanged

Compare that with standard form, y = ax² + bx + c. Standard form tells you the y-intercept right away, because it is c, but the vertex is hidden. Vertex form flips this. The vertex is visible and the y-intercept takes a little arithmetic. OpenStax Algebra and Trigonometry describes vertex form as the version in which the vertex appears directly, and uses y = -3(x + 2)² + 4 as an example with h = -2, k = 4 and a downward opening.

Graph of y equals x squared shifted to vertices (3, 2) and (-2, -3) to show h and k

The table below shows nine standard form quadratics converted to vertex form, so you can see the pattern before doing it yourself.

Graph of y equals a x squared for a 0.5, 1, 2 and minus 1 showing width and direction

How to convert standard form to vertex form

The method is completing the square. Take y = 2x² − 8x + 3. First factor the leading coefficient out of the x terms: y = 2(x² − 4x) + 3. Half of -4 is -2, and -2 squared is 4. Add and subtract 4 inside the bracket, remembering that the 4 you subtract inside is multiplied by 2 outside, so it costs 8: y = 2(x² − 4x + 4) − 8 + 3. The bracket is now a perfect square, (x − 2)², and the constants combine to -5. The result is y = 2(x − 2)² − 5.

Worked example flow for y equals 2x squared minus 8x plus 3: h 2, k minus 5, vertex form 2(x-2) squared minus 5

The steps view of the calculator prints exactly these moves for whatever coefficients you enter, including fractions. If a is 1 it skips the factoring step, and it ends with a check that f(h) equals k.

The table lays out the same example one move at a time.

Graph of y equals 2(x-2) squared minus 5 with vertex (2, -5), axis x equals 2 and intercepts marked

How to find the vertex without graphing

You do not need to complete the square to find the vertex. Two formulas do it. The x coordinate is h = -b / (2a). Put that x back into the equation to get the y coordinate, k = f(h), or use k = c - b² / (4a).

For y = 2x² − 6x + 7, h = 6 / 4 = 3/2. Then k = 2(3/2)² − 6(3/2) + 7 = 5/2. This matches the OpenStax Algebra and Trigonometry worked example for the same quadratic, which gives h = 3/2 and k = 5/2.

To find the vertex in a calculator like this one, choose standard form, enter a, b and c, and the vertex is the first two results. On a graphing calculator you would graph the function and use its minimum or maximum tool, which finds a decimal approximation. The formulas here are exact. The h formula also gives the axis of symmetry, x = h, because the parabola is a mirror image on either side of it.

Vertex form to standard form, and from a vertex and a point

To go back, expand the square. a(x − h)² + k becomes ax² − 2ah x + (a h² + k), so b = -2ah and c = a h² + k. For y = -2(x − 3)² + 5 that gives b = 12 and c = -13, so y = -2x² + 12x − 13.

Sometimes you know the vertex and one more point instead of a. Put the vertex into y = a(x − h)² + k, then substitute the point and solve for a. With vertex (2, -1) and point (4, 7) you get a = 2. The point cannot sit directly above or below the vertex, and it cannot be level with it, since the first is not a function and the second would force a = 0.

Graph of the parabola through vertex (2, -1) and point (4, 7) with a equals 2

If you have three points on the parabola and no vertex, solve for a, b and c first. For (0, 3), (1, -3) and (2, -5), the constant is c = 3, then a + b = -6 and 4a + 2b = -8, so a = 2 and b = -8. Enter those into the standard form option to get the vertex form.

Axis of symmetry, direction, intercepts and the discriminant

Once you have h, k and a, the rest of the parabola follows. The axis of symmetry is x = h. If a is positive the parabola opens upward and k is its minimum. If a is negative it opens downward and k is its maximum.

The y-intercept is c. The x-intercepts are where y = 0, which in vertex form means x = h ± √(-k / a). That square root exists only when -k / a is zero or positive, which matches the sign of the discriminant b² − 4ac. A positive discriminant gives two x-intercepts, zero gives one, and a negative value gives none that are real.

Three upward parabolas showing two, one and zero x-intercepts for positive, zero and negative discriminant

Symmetry is a good check. For y = 2(x − 2)² − 5, the points at x = 1 and x = 3 are the same distance from the axis, and both give y = -3. The tables on this page show the effect of a, h and k, the symmetry check, and the discriminant cases.

Bar chart of heights at distance 0 to 4 from the axis x equals 2, showing equal heights on both sides

How to use this vertex form calculator

Pick what you have. Standard form needs a, b and c. Vertex form needs a, h and k. The third option needs a vertex and one more point. Every field accepts whole numbers, decimals and fractions such as 1/2 or -3/4.

The results show the vertex (h, k), the standard form coefficients a, b and c, the discriminant, and the x-intercepts when they exist. Below them, the solution view writes out the steps in plain text, and the button lets you switch to a result-only view. The solution always includes the vertex form, the axis of symmetry, whether the vertex is a maximum or minimum, the y-intercept and the roots.

This tool handles quadratics only, and it cannot take an arbitrary function. It is a calculator for algebra practice and checking homework: reading your own working against the printed steps is the quickest way to find where a sign went wrong.

Common mistakes and how to check your answer

The most common error is the sign of h. Vertex form is written (x − h), so (x + 3) means h = -3. The next is skipping the factor a. If a is not 1, factor it out of the x terms before halving, or the square you add is wrong by a factor of a. A third is forgetting that anything added inside a bracket multiplied by a must be balanced outside by a times that amount.

Check by expanding. Multiply your vertex form back out and compare with the original. For y = 2(x − 2)² − 5 you get 2(x² − 4x + 4) − 5 = 2x² − 8x + 3, which matches. You can also test one point: set x = 0 and the answer should equal c.

The table lists these mistakes and the fix for each.

Where vertex form fits with other algebra tools

Vertex form is one of several ways to reshape an expression so its structure is visible. When a quadratic factor shows up inside a larger problem, you may need to divide polynomials, split fractions into simpler pieces, or evaluate a polynomial at a point.

For dividing by a linear factor, use the synthetic division calculator. For longer divisors, the polynomial long division calculator shows each round. To break a rational expression into simpler fractions, the partial fraction decomposition calculator handles it with steps. If you only need a straight line through two points, the linear interpolation calculator finds the value in between.

The formulas in this guide agree with the OpenStax and Lamar University algebra notes listed in the references. Keep your own derivation next to the calculator's steps when you study, because exams ask you to show the method.

Limits of the vertex form calculator: real coefficients, real intercepts, no graph, point rules

Reference Tables

Standard form converted to vertex form, with the vertex and direction
Standard formVertex formVertex (h, k)Opens
y = x² − 6x + 5y = (x − 3)² − 4(3, -4)up
y = 2x² − 8x + 3y = 2(x − 2)² − 5(2, -5)up
y = 2x² − 6x + 7y = 2(x − 3/2)² + 5/2(3/2, 5/2)up
y = (1/2)x² + 3x − 2y = (1/2)(x + 3)² − 13/2(-3, -13/2)up
y = -3x² + 12x − 9y = -3(x − 2)² + 3(2, 3)down
y = x² + 4x + 4y = (x + 2)²(-2, 0)up
y = -x² + 4y = -x² + 4(0, 4)down
y = 3x² + 6x + 1y = 3(x + 1)² − 2(-1, -2)up
y = (1/4)x² + x + 5/2y = (1/4)(x + 2)² + 3/2(-2, 3/2)up
Formulas for each form of a quadratic and what each one gives directly
QuantityFrom y = ax² + bx + cFrom y = a(x - h)² + k
Vertex x (h)h = -b / (2a)h, read straight off
Vertex y (k)k = c - b² / (4a), or f(h)k, read straight off
Axis of symmetryx = -b / (2a)x = h
y-interceptca h² + k
Minimum or maximum valuek (min if a > 0, max if a < 0)k (min if a > 0, max if a < 0)
Discriminantb² − 4ac-4ak
x-intercepts(-b ± √(b² − 4ac)) / (2a)h ± √(-k / a), when -k / a ≥ 0
Conversion between formsb = -2ah, c = a h² + kh = -b / (2a), k = c - b² / (4a)
Completing the square on y = 2x² - 8x + 3, one move at a time
StepWhat you doResult
1Write the standard formy = 2x² − 8x + 3
2Factor 2 out of the x termsy = 2(x² + (-4)x) + 3
3Half of -4, then square it-2, squared is 4
4Add and subtract 4 inside the brackety = 2(x² + (-4)x + 4) − 8 + 3
5Write the bracket as a squarey = 2(x − 2)² + (-5)
6Tidy the signsy = 2(x − 2)² − 5
7Check with f(h)f(2) = -5
What a, h and k do to the graph of y = x²
ValueChange in the equationEffect on the parabola
a > 1y = a x²Narrower, steeper sides
0 < a < 1y = a x²Wider, flatter sides
a < 0y = -|a| x²Flipped, opens downward, vertex is a maximum
h > 0(x − h)Slides right by h
h < 0(x + |h|)Slides left by |h|
k > 0+ kSlides up by k
k < 0- |k|Slides down by |k|
Symmetry about the axis x = 2 for y = 2(x - 2)² - 5
Distance d from axisx = 2 - dx = 2 + dy at both
022-5
113-3
2043
3-1513
4-2627
How the discriminant tells you the number of x-intercepts
Discriminant b² - 4acx-interceptsWhere the vertex sitsExample
Positive2Opposite side of the x-axis from the opening directiony = 2x² − 8x + 3: D = 40
Zero1 (a double root)On the x-axisy = x² + 4x + 4: D = 0
Negative0 realSame side of the x-axis as the opening directiony = 2x² − 6x + 7: D = -20
The six worked examples at a glance
ExampleGivenVertex formx-intercepts
1y = 2x² − 8x + 3y = 2(x − 2)² − 50.4189 and 3.5811
2y = 2x² − 6x + 7y = 2(x − 3/2)² + 5/2no real roots
3y = -2(x − 3)² + 5y = -2x² + 12x − 13 (standard)1.4189 and 4.5811
4vertex (2, -1), point (4, 7)y = 2(x − 2)² − 11.2929 and 2.7071
5y = (1/2)x² + 3x − 2y = (1/2)(x + 3)² − 13/2-6.6056 and 0.6056
6y = -3x² + 12x − 9y = -3(x − 2)² + 31 and 3
Vertex form expanded to standard form
Vertex formb = -2ahc = a h² + kStandard form
y = (x − 2)² − 3-41y = x² − 4x + 1
y = 2(x + 1)² + 446y = 2x² + 4x + 6
y = -(x − 3)² + 56-4y = -x² + 6x − 4
y = 3x² − 20-2y = 3x² − 2
y = (1/2)(x − 4)² + 1-49y = (1/2)x² − 4x + 9
y = -2(x − 3)² + 512-13y = -2x² + 12x − 13
Finding a from a vertex and one other point, a = (y - k) / (x - h)²
Vertex (h, k)Point (x, y)aVertex form
(2, -1)(4, 7)2y = 2(x − 2)² − 1
(-3, 4)(0, -5)-1y = -(x + 3)² + 4
(0, 0)(3, 1)1/9y = (1/9)x²
(1, 2)(3, 10)2y = 2(x − 1)² + 2
(-2, -1)(0, 3)1y = (x + 2)² − 1
Common mistakes with vertex form
MistakeWhat goes wrongFix
Reading h with the wrong sign(x + 3) means h = -3, not 3Rewrite (x + 3) as (x − (-3))
Forgetting to factor a firstThe added square is off by a factor of aFactor a out of the x terms, then complete the square
Adding the square without subtracting itThe equation changesWhatever you add inside, balance by a x that amount outside
Using b/2 instead of b/(2a)h comes out wrong whenever a is not 1h = -b / (2a)
Mixing up the sign of kk is the value added after the squarey = a(x − h)² + k, so a minus sign belongs to k itself
Taking square roots of a negative numberNo real x-intercepts existCheck the discriminant first
Which form is easier for which job
JobEasier formWhy
Find the vertexVertex formh and k are the vertex
Find the y-interceptStandard formIt is c
Sketch the graphVertex formVertex and stretch factor a
Add or multiply quadraticsStandard formLike terms line up
Maximum or minimum valueVertex formIt is k
Apply the quadratic formulaStandard formUses a, b and c

Frequently Asked Questions About the Vertex Form Calculator

How do you calculate vertex form?

Complete the square. Factor a out of the x terms, add and subtract the square of half the new x coefficient, and write the bracket as a square. For y = 2x² − 8x + 3 you get y = 2(x − 2)² − 5. A shortcut is h = -b / (2a) and k = f(h). Pick the standard form option in the calculator, enter a, b and c, and the steps appear below.

How do you find the vertex in a calculator?

Choose the standard form option, type a, b and c, and read h and k in the results. Handheld graphing calculators do it differently: graph the parabola and use the minimum or maximum tool. Here the answer is exact, so y = 2x² − 8x + 3 returns the vertex (2, -5) with no graph window to adjust, and the steps show how it was found.

How do you find the vertex without graphing?

Use h = -b / (2a) for the x coordinate, then substitute h back into the equation for the y coordinate. For y = 2x² − 8x + 3, h = 2 and k = 2(2)² + (-8)(2) + 3 = -5. The vertex is (2, -5). No table of values or graph is needed.

How do I solve for a vertex?

Write the quadratic as y = ax² + bx + c, compute h = -b / (2a), and then compute k = c - b² / (4a). The pair (h, k) is the vertex. For y = 2x² − 6x + 7, h = 3/2 and k = 5/2, so the vertex is (3/2, 5/2). If you only know the vertex form, h and k are already visible in it.

What is the vertex form formula?

Vertex form is y = a(x − h)² + k. The vertex is the point (h, k), the axis of symmetry is the line x = h, and a sets the width and direction. If a is positive the parabola opens up and k is the minimum value. If a is negative it opens down and k is the maximum. For example y = 2(x − 2)² − 5 has vertex (2, -5).

How do you convert standard form to vertex form?

Find h = -b / (2a) and k = c - b² / (4a), then write y = a(x − h)² + k, using the same a. For y = -3x² + 12x − 9, h = 2 and k = 3, so y = -3(x − 2)² + 3. Expand it again to check: you get back -3x² + 12x − 9. The calculator does this and also shows the completing the square steps.

How do you convert vertex form to standard form?

Expand the square and distribute a. For y = -2(x − 3)² + 5: (x − 3)² = x² − 6x + 9, times -2 gives -2x² + 12x + -18, and adding 5 gives c = -13. So y = -2x² + 12x − 13. In the calculator pick the vertex form option and enter a, h and k.

How do I find vertex form from a vertex and a point?

Substitute the vertex into y = a(x − h)² + k, then plug in the point and solve for a. With vertex (2, -1) and point (4, 7): 7 = a(4 − 2)² + (-1), so 8 = 4a and a = 2. The result is y = 2(x − 2)² − 1. Use the vertex and point option to do it automatically.

Can I find vertex form from three points?

Yes, in two stages. Use the three points to solve for a, b and c, then convert. The points (0, 3), (1, -3) and (2, -5) give c = 3, a + b = -6 and 4a + 2b = -8, so a = 2 and b = -8, which is y = 2x² − 8x + 3. Enter those in the standard form option to get y = 2(x − 2)² − 5.

What is the axis of symmetry?

It is the vertical line through the vertex, x = h, which splits the parabola into two mirror images. In standard form it is x = -b / (2a). For y = 2x² − 8x + 3 it is x = 2. Points at equal distance on each side have equal heights: the table on this page shows x = 1 and x = 3 both giving y = -3.

How can I tell if the vertex is a maximum or minimum?

Look at the sign of a. If a is positive the parabola opens upward and the vertex is the lowest point, so k is the minimum. If a is negative it opens downward and k is the maximum. For y = -3x² + 12x − 9, a = -3 is negative, so the vertex (2, 3) is a maximum with value 3.

What do a, h and k mean in vertex form?

In y = a(x − h)² + k, a stretches or flips the graph, h slides it left or right, and k slides it up or down, all relative to y = x². A larger |a| gives a narrower parabola and a negative a flips it. A positive h moves it right and a positive k moves it up. The vertex (h, k) is where the turn happens.

How do I find x-intercepts from vertex form?

Set y = 0 and solve: a(x − h)² + k = 0, so x = h ± √(-k / a). This needs -k / a to be zero or positive. For y = 2(x − 2)² − 5, -k / a = 5/2, so x = 2 ± √5/2, which is 0.4189 and 3.5811. If -k / a is negative there are no real x-intercepts.

What is the discriminant and why is it shown?

The discriminant is b² − 4ac. Positive means two x-intercepts, zero means the vertex touches the x-axis, and negative means no real x-intercepts. For y = 2x² − 8x + 3 it is 40, two intercepts. For y = 2x² − 6x + 7 it is -20, so the parabola never crosses the x-axis. It equals -4ak, linking it to the vertex height.

What happens if a equals zero?

Then the equation is y = bx + c, a straight line, and a line has no vertex. The calculator stops with a message instead of dividing by zero, because the formula h = -b / (2a) would need a division by zero. Check that your x² coefficient is not zero. If your equation has no x² term at all, it is linear and not a parabola.

Does the calculator accept fractions and decimals?

Yes. Type values like 1/2, -3/4 or 0.25 in any field and the arithmetic stays exact, so there is no rounding noise in the steps. For y = (1/2)x² + 3x − 2, the vertex comes out exactly as (-3, -13/2) and the vertex form is y = (1/2)(x + 3)² − 13/2. Decimals are converted to exact fractions first, so 0.5 behaves exactly like 1/2.

Is there a slope in vertex form?

A parabola has no single slope, since the steepness changes along the curve. The slope at any x is 2a(x − h), which is zero at the vertex and grows as you move away from it. That is why the vertex is the flat turning point. If you need a straight line through two points instead, use the linear interpolation calculator linked below.

How do I check my vertex form answer?

Expand it back to standard form, or test a point. For y = 2(x − 2)² − 5, set x = 0: 2(0 − 2)² + (-5) = 3, which matches c = 3 from 2x² − 8x + 3. The calculator also performs the check f(h) = k in its steps, so a mismatch would show immediately.

Why does (x + 3) mean h = -3?

Vertex form is written (x − h), so x + 3 must be rewritten as x − (-3). The vertex is at x = -3, the value that makes the bracket zero. In the calculator you can enter h = -3 directly. For y = (x + 4)² − 1, h = -4 and the parabola's lowest point is at x = -4, left of the y-axis.

Is this the same as completing the square?

Yes. Vertex form is what you get after completing the square on a quadratic. The calculator's steps show the real moves: factor out a, halve and square the x coefficient, add and subtract it, and write the bracket as a square. For y = 2x² − 8x + 3 the square added is 4 inside the bracket, which costs 8 outside.

What are the limits of this calculator?

It handles quadratics in one variable with real coefficients up to 15 digits. It shows real x-intercepts only; a negative discriminant means two complex roots, which are not computed. It does not graph the curve, and the three points option is done by first solving for a, b and c yourself. Results are exact, but always compare with your textbook method when you are learning.

References

  1. [1] OpenStax. “Algebra and Trigonometry 2e, Section 5.1 Quadratic Functions.” OpenStax, Rice University. Accessed 2026-10-07.
  2. [2] Paul Dawkins. “Algebra: Parabolas.” Paul's Online Math Notes, Lamar University. Accessed 2026-10-07.
  3. [3] Wikipedia contributors. “Completing the square.” Wikipedia. Accessed 2026-10-07.
  4. [4] Wikipedia contributors. “Quadratic function.” Wikipedia. Accessed 2026-10-07.