Parabola Calculator (Vertex, Focus & Directrix)

Find the vertex, focus, directrix, axis of symmetry and latus rectum of a parabola from y = ax² + bx + c, vertex form or (x − h)² = 4p(y − k).

For a sideways parabola swap x and y: x = ay² + by + c, x = a(y − k)² + h or (y − k)² = 4p(x − h).
Must not be 0.

Results

Vertex (h, k)
(2, −1)
Focus
(2, −0.75)
Directrix
y = −1.25
Axis of symmetry
x = 2
Opens
Upward
Focal length p (vertex to focus)
0.25
Latus rectum length |4p|
1.00
Latus rectum endpoints
(1.5, −0.75) and (2.5, −0.75)
Standard form
y = x² − 4x + 3
Vertex form
y = (x − 2)² − 1
Conic (focus) form
(x − 2)² = y + 1
Completing the square
y = x² − 4x + 3 Half of −4 is −2; add and subtract its square, 4: y = (x² − 4x + 4) − 4 + 3 Write the perfect square: y = (x − 2)² − 1 p = 1 ÷ (4a) = 0.25: the focus is 0.25 units from the vertex, inside the curve, and the directrix the same distance on the other side.

How it’s calculated

A parabola is the set of points the same distance from a fixed point (the focus) and a fixed line (the directrix). The vertex is halfway between them, a distance p from each.

y = ax² + bx + c → vertex h = −b ÷ 2a, k = c − b² ÷ 4a y = a(x − h)² + k ⇔ (x − h)² = 4p(y − k), with p = 1 ÷ 4a focus (h, k + p), directrix y = k − p, axis x = h latus rectum: length |4p|, endpoints (h ± 2p, k + p)

For a parabola that opens sideways, swap the roles of x and y: (y − k)² = 4p(x − h) has focus (h + p, k) and directrix x = h − p. It opens right when p > 0 and left when p < 0.

Converting from y = ax² + bx + c to vertex form is completing the square: factor out a, add and subtract the square of half the x-coefficient, then write the perfect square.

Example: y = x² − 4x + 3. Half of −4 is −2, and (−2)² = 4, so y = (x² − 4x + 4) − 4 + 3 = (x − 2)² − 1. The vertex is (2, −1). With a = 1, p = 1 ÷ 4 = 0.25, so the focus is (2, −0.75), the directrix is y = −1.25 and the latus rectum has length 1, from (1.5, −0.75) to (2.5, −0.75).

Frequently asked questions

How do I find the focus of y = ax² + bx + c?

Find the vertex (h, k) with h = −b ÷ 2a and k = c − b² ÷ 4a, then p = 1 ÷ 4a. The focus is (h, k + p) and the directrix is y = k − p.

What is the latus rectum?

The chord through the focus parallel to the directrix. Its length is |4p| and its endpoints are 2|p| either side of the focus. It shows how wide the parabola is at the focus.

How do I enter x² − 8x − 28y − 208 = 0?

Complete the square to get (x − 4)² = 28(y + 8), then choose conic form with h = 4, k = −8 and 4p = 28. Or solve for y: y = x²/28 − 2x/7 − 52/7, and use standard form.

What does a negative p mean?

The parabola opens downward (or to the left for a sideways parabola), so the focus lies below (or left of) the vertex.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator