Skip to content

Parabola Calculator: Vertex, Focus, Directrix and Vertex Form

Vertex, vertex form, axis, focus, directrix and roots of y = ax² + bx + c, or the equation from a vertex and a point.

Your details

Start from

Any non-zero number.

Results update as you type

Vertex (h, k)

(2, −2)

Vertex form
y = 2(x − 2)² − 2
Axis of symmetry
x = 2
Opening
Opens upward (a > 0): minimum y = −2
Roots (x-intercepts)
x = 1 or x = 3
y-intercept
6
Focus
(2, −15/8) = (2, −1.875)
Directrix
y = −17/8 = −2.125
Focal distance p = 1/(4a)
0.125
Focal width (latus rectum) 1/|a|
0.5
Discriminant b² − 4ac
16

Step-by-step solution
  1. Vertex: h = −b / (2a) = 8 / 4 = 2
  2. k = c − b² / (4a) = 6 − (−8)² / 8 = −2
  3. Vertex form: y = 2(x − 2)² − 2
  4. Focus and directrix: p = 1 / (4a) = 1/8 → F = (2, −15/8) = (2, −1.875), y = −17/8 = −2.125
  5. Roots: (x − h)² = −k / a = 1 → x = 1 or x = 3

The graph of a quadratic function y=ax2+bx+cy = ax^2 + bx + c is a parabola: a symmetric U-shaped curve that opens upward when a>0a > 0 and downward when a<0a < 0. Almost every question about it comes back to one point, the vertex (h,k)(h, k), where the curve turns around. From there you get the axis of symmetry x=hx = h, the minimum or maximum value kk, the vertex form y=a(x−h)2+ky = a(x - h)^2 + k and, from the geometric definition of a parabola, its focus and directrix.

Enter the coefficients aa, bb, cc and the calculator returns all of these at once, plus the roots (exact, with square roots where needed) and the y-intercept. Fractions stay fractions: y=2x2−6x+7y = 2x^2 - 6x + 7 gives the vertex (32,52)\left(\frac{3}{2}, \frac{5}{2}\right), not a rounded decimal.

You can also work backwards: start from the vertex form, or from the vertex and one other point, and get the equation in standard form. To solve ax2+bx+c=0ax^2 + bx + c = 0 in full detail, including complex roots, see the quadratic formula calculator.

How to use this calculator

  1. Choose your starting point: y = ax² + bx + c, Vertex form a(x−h)2+ka(x - h)^2 + k, or Vertex + point.
  2. Enter the numbers. aa must not be 0. Decimals are converted to exact fractions (0.5 becomes 1/2).
  3. In "Vertex + point" mode, give the vertex (h,k)(h, k) and any other point (x0,y0)(x_0, y_0) on the curve; the calculator finds aa.
  4. Read the vertex (or the standard form), then the axis, opening direction, roots, focus and directrix.
  5. Open the steps to see how hh, kk and pp were obtained.

The formula

Vertex. Completing the square in y=ax2+bx+cy = ax^2 + bx + c gives

h=−b2a,k=c−b24a=−Δ4a,Δ=b2−4ach = -\frac{b}{2a}, \qquad k = c - \frac{b^2}{4a} = -\frac{\Delta}{4a}, \qquad \Delta = b^2 - 4ac

so y=a(x−h)2+ky = a(x - h)^2 + k (vertex form). Going the other way, b=−2ahb = -2ah and c=ah2+kc = ah^2 + k.

Focus and directrix. A parabola is the set of points at equal distance from a point (the focus) and a line (the directrix). For a vertical axis, with p=14ap = \frac{1}{4a}:

F=(h, k+p),directrix: y=k−pF = (h,\ k + p), \qquad \text{directrix: } y = k - p

The focal width (latus rectum), the chord through the focus parallel to the directrix, is ∣4p∣=1∣a∣|4p| = \frac{1}{|a|}.

Roots. From a(x−h)2+k=0a(x - h)^2 + k = 0: x=h±−k/ax = h \pm \sqrt{-k/a}, real only when −k/a≥0-k/a \ge 0 (equivalently Δ≥0\Delta \ge 0).

From the vertex and a point (x0,y0)(x_0, y_0): a=y0−k(x0−h)2a = \dfrac{y_0 - k}{(x_0 - h)^2}.

Worked example

Take y=2x2−8x+6y = 2x^2 - 8x + 6.

  • Vertex: h=−−82×2=2h = -\frac{-8}{2 \times 2} = 2 and k=6−648=−2k = 6 - \frac{64}{8} = -2, so the vertex is (2,−2)(2, -2) and the vertex form is y = 2(x − 2)² − 2.
  • Axis of symmetry x=2x = 2; a=2>0a = 2 > 0, so the parabola opens upward with a minimum of −2-2.
  • Focus: p=14×2=18p = \frac{1}{4 \times 2} = \frac{1}{8}, so F=(2,−158)F = \left(2, -\frac{15}{8}\right) and the directrix is y=−178y = -\frac{17}{8}.
  • Roots: (x−2)2=1(x - 2)^2 = 1, so x=1x = 1 or x=3x = 3; the y-intercept is 66.

Backwards: a parabola with vertex (1,4)(1, 4) passing through (3,−4)(3, -4) has a=−4−4(3−1)2=−2a = \frac{-4 - 4}{(3 - 1)^2} = -2, giving y = −2x² + 4x + 2.

What each coefficient does to the graph

Change Effect on the parabola
sign of aa opens upward (a>0a > 0) or downward (a<0a < 0)
size of ∣a∣|a| larger means narrower; the focus moves closer to the vertex
hh in a(x−h)2+ka(x - h)^2 + k shifts the graph right (h>0h > 0) or left
kk shifts the graph up or down; it is the minimum or maximum value
cc in standard form the y-intercept, (0,c)(0, c)

The vertex form makes the transformations visible at a glance, which is why it is preferred for sketching and for optimisation problems ("find the maximum area", "the highest point of the trajectory").

Why the focus matters

Every ray arriving parallel to the axis bounces off a parabolic mirror straight through the focus. That is why satellite dishes, solar cookers and car headlights are shaped as paraboloids: put the receiver, the pot or the bulb at the focus. For a dish of depth dd and diameter DD, the focal distance is p=D216dp = \frac{D^2}{16d}, which follows from y=x24py = \frac{x^2}{4p} at x=D/2x = D/2. A projectile in a uniform gravity field without air resistance also follows a parabola, with its vertex at the highest point of the flight.

Frequently asked questions

How do I find the vertex of a parabola?

Use h = −b/(2a), then substitute it back to get k = f(h). For y = 2x² − 6x + 7: h = 6/4 = 3/2 and k = 2(9/4) − 9 + 7 = 5/2, so the vertex is (3/2, 5/2).

How do I convert standard form to vertex form?

Compute h and k as above and write y = a(x − h)² + k with the same a. For y = 2x² + 4x − 4: h = −1, k = −6, so y = 2(x + 1)² − 6. Expanding the vertex form gives back the standard form.

How do I find the focus and directrix?

Compute p = 1/(4a). The focus is p units from the vertex along the axis, F = (h, k + p), and the directrix is the horizontal line y = k − p. For y = −x²/6: p = −3/2, focus (0, −3/2), directrix y = 3/2.

How do I find the equation of a parabola from its vertex and a point?

Write y = a(x − h)² + k with the known vertex, plug in the point and solve for a: a = (y₀ − k)/(x₀ − h)². The point must not be directly above or below the vertex.

Why does my parabola have no real roots?

Because it never crosses the x-axis: it opens upward with a vertex above the axis, or downward with a vertex below it. Then b² − 4ac < 0 and the roots are complex numbers.

Sources

Last updated:

More Math calculators

People also use