CalcWorldHub
Free online calculator · no signup

Parabola focus and directrix calculator

Find a parabola’s focus, directrix, and equation from its vertex and signed focal parameter.

4,000 tools
Parabola focus and directrix calculator — Vertex x-coordinate h, Vertex y-coordinate k, Signed focal parameter p and calculation method
Parabola focus and directrix calculator: inputs and calculation method.

How to use this calculator

Find a parabola’s focus, directrix, and equation from its vertex and signed focal parameter.

  1. Enter Vertex x-coordinate h, Vertex y-coordinate k, Signed focal parameter p, Axis direction. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Math guide

How this calculation works

(x−h)²=4p(y−k)
Diagram cue for the quantities in the formula.

The vertex fixes the parabola’s center, while the signed focal parameter gives the vertex-to-focus distance. The selected axis determines whether that distance is vertical or horizontal; changing the sign reverses the opening direction.

Inputs and meanings

h — Vertex x-coordinate h
Enter the x-coordinate of the vertex.
k — Vertex y-coordinate k
Enter the y-coordinate of the vertex.
p — Signed focal parameter p
Use a nonzero signed distance from vertex to focus.
axis — Axis direction
Choose the direction of the parabola axis.

Formula and method

Vertical axis: (x−h)²=4p(y−k), focus (h,k+p), directrix y=k−p. Horizontal axis swaps x and y.

The signed value p measures the vertex-to-focus distance. Its sign determines whether the parabola opens up/right or down/left for the selected axis.

Worked example

For vertex (1,−2), p=2, and a vertical axis, the focus is (1,0), the directrix is y=−4, and the equation is (x−1)²=8(y+2).

Assumptions and limits

The vertex coordinates and p use the same unit. p cannot be zero because that would collapse the parabola.

Frequently asked questions

What does p represent?

Its magnitude is the distance from the vertex to the focus; its sign sets the opening direction along the chosen axis.

Can p be negative?

Yes. A negative p opens downward for a vertical axis or leftward for a horizontal axis.

How is this different from a quadratic vertex calculator?

That tool finds a vertex from quadratic coefficients. This one starts with a vertex and focal parameter and returns focus, directrix, and standard form.

How do I use the Parabola focus and directrix calculator?

Enter Vertex x-coordinate h, Vertex y-coordinate k, Signed focal parameter p, Axis direction. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Parabola focus and directrix?

For vertex (1,−2), p=2, and a vertical axis, the focus is (1,0), the directrix is y=−4, and the equation is (x−1)²=8(y+2).