Conic Sections: Locating the Focus and Directrix of a Parabola

Every parabola hides a point and a line inside it. Here's how to find them from the equation, why they're always the same distance from the vertex, and why a thrown ball has a focus too.

By Petrus Sheya

August 4, 2026 · 5 min read

You already know what a parabola looks like. That U-shaped curve from algebra class, the arc a thrown ball traces, the dish on someone's roof. But hiding inside every single parabola is a specific point and a specific line that most people never learn to find.

That point is called the focus. That line is called the directrix. Given any parabola's equation, you can locate both of them in a couple of steps. Let's see where they come from, then find them.


What actually makes a curve a parabola?

Here's the definition, and it's simpler than it sounds: a parabola is every point that's the same distance from a fixed point as it is from a fixed line.

That fixed point is the focus. That fixed line is the directrix. Pick any point on the curve, measure its distance to the focus, then measure its distance to the directrix. They match. Move to a totally different point on the curve and measure again. They still match.

Drag the gold point anywhere along the curve. Its distance to the focus (blue) and its distance to the directrix (rose) never stop matching.

directrixF
PF (to focus)62.0
PD (to directrix)62.0
|PF - PD|0.000

Drag that point anywhere along the curve. PF and PD keep landing on the same number, down to the decimal. That's not a coincidence you're watching, it's the rule that built the curve in the first place. Every point that satisfies "distance to F equals distance to the line" belongs on the parabola, and nothing else does.

We write that balance as an equation:

PF=PDPF = PD

Simple statement. But it's the entire reason a parabola has the shape it does.


The vertex sits exactly halfway between them

Now zoom out. The vertex is the tip of the parabola, the point where it turns around. And here's the pattern worth noticing: the vertex always sits exactly halfway between the focus and the directrix.

That means one number tells you everything. Call it pp, the distance from the vertex to the focus. The directrix sits that same distance pp away, on the opposite side.

Slide p, or flip the orientation. The focus and the directrix always sit the same distance p from the vertex, on opposite sides.

vertexF
Vertex → Focus45
Vertex → Directrix45
Focus(45, 0)
Directrixx = -45

Slide pp and watch both the focus and the directrix move together, always mirrored across the vertex. Flip the orientation and the same rule holds no matter which way the parabola opens. Find pp, and you've found both.

For a parabola opening rightward with its vertex at the origin, we write this relationship as:

y2=4pxy^2 = 4px

The focus sits at (p,0)(p, 0). The directrix is the vertical line x=px = -p. Rotate that same idea 90 degrees and you get x2=4pyx^2 = 4py, opening upward, focus at (0,p)(0, p), directrix y=py = -p.


But real equations rarely come in that clean form

Textbook parabolas love y2=4pxy^2 = 4px. Real ones show up as something like y=0.05x24x+11y = 0.05x^2 - 4x + 11. No pp in sight. So how do you actually locate the focus from an equation like that?

First, rewrite it in vertex form:

y=a(xh)2+ky = a(x - h)^2 + k

Here (h,k)(h, k) is the vertex, and aa controls how narrow or wide the curve is. Once it's in this form, pp falls right out of aa:

p=14ap = \frac{1}{4|a|}

If aa is positive, the parabola opens upward: focus at (h,k+p)(h,\, k + p), directrix y=kpy = k - p. If aa is negative, it opens downward and the two just swap sides: focus at (h,kp)(h,\, k - p), directrix y=k+py = k + p.

Drag the vertex anywhere. Dial the steepness. The focus and directrix update live from the equation itself.

Fy = 0.030(x + 15.0)² + 20.0
p8.3
Focus(-15.0, 28.3)
Directrixy = 11.7

Drag the vertex, dial the steepness. Notice the focus and directrix don't need a fresh calculation, they just track hh, kk, and aa automatically. That's the whole procedure for locating a focus from a real equation.

Try it by hand on a small one. Take y=0.05(x2)23y = 0.05(x - 2)^2 - 3. Here a=0.05a = 0.05, so p=1/(4×0.05)=5p = 1/(4 \times 0.05) = 5. It opens upward, so the focus is at (2,3+5)=(2,2)(2,\, -3 + 5) = (2, 2), and the directrix is y=35=8y = -3 - 5 = -8. That's it. Four numbers read off the equation, no guessing.


Even a thrown ball has a focus

Here's the part that surprises people: a parabola isn't just an algebra shape. Throw a ball, and gravity bends its path into an exact parabola. Which means that arc has a focus and a directrix too.

Press play, then sweep the launch angle. The arc changes shape completely, but the directrix line never moves.

directrix, fixed at v² / 2gF
Range58.8
Max height14.7
Focus(29.4, -0.0)
Directrix height29.4

Sweep the launch angle and watch the whole arc reshape itself, wider and flatter at low angles, tall and narrow near vertical. But keep an eye on the gold line. It never moves. No matter what angle you launch at, the directrix sits at the exact same height every time.

That height turns out to be v2/(2g)v^2 / (2g), which is also the maximum height the ball would reach if you fired it straight up. The directrix isn't just some abstract line, it's a ceiling the geometry sets in advance, before you even pick an angle.


The short version

A parabola is the set of points equidistant from a focus and a directrix. That single rule generates the entire curve, and you can check it works at every point, not just special ones.

The vertex always sits exactly halfway between the two, at distance pp. Find pp and you've located both. For a real equation, rewrite it in vertex form y=a(xh)2+ky = a(x-h)^2 + k, compute p=1/(4a)p = 1/(4|a|), then step that distance from the vertex in the direction the parabola opens for the focus, and the opposite direction for the directrix.

One point, one line, one distance connecting them. Once you can see pp inside any parabola's equation, you can always find where they're hiding.