Parabola Calculator — Vertex, Focus & Directrix

AlgebraFreeNo sign-up

A parabola calculator finds the vertex, focus and directrix from the equation. For y = ax² + bx + c the vertex is at x = −b/(2a), and the focus sits p = 1/(4a) above it. For y = x² − 4x + 3: vertex (2, −1), p = 1/4, focus (2, −3/4) and directrix y = −5/4. The parabola opens upward and crosses the x-axis at 1 and 3.

Parabola calculator
y = ax² + bx + c
Integers, decimals and fractions such as 3/4 or −1/2 are all fine. Answers stay exact.
Try:
Vertex
(2, −1)

y = x² − 4x + 3 opens upward. Focus (2, −3/4), directrix y = −5/4, axis of symmetry x = 2.
Vertex(2, −1)
Focus(2, −3/4) ≈ (2, −0.75)
Directrixy = −5/4 ≈ −1.25
Axis of symmetryx = 2
Focal length p1/4 ≈ 0.25
Latus rectum (focal width)1
x-intercepts(1, 0), (3, 0)
y-intercept(0, 3)
Domain, rangeall real x; y ≥ −1
Opensupward (a > 0)
The same parabola in every form
Form Equation
Standard form y = x² − 4x + 3
Vertex form y = (x − 2)² − 1
Factored form y = (x − 1)(x − 3)
Focus–directrix (conic) form (x − 2)² = y + 1
General form x² − 4x − y + 3 = 0
Graph

Graph of y = x² − 4x + 3 with vertex (2, −1), focus (2, −3/4) and directrix y = −5/4.grid: 2 per squareVF

vertex Vfocus Fdirectrixaxis of symmetrylatus rectumintercepts
Show steps
  1. Standard form: y = x² − 4x + 3, so a = 1, b = −4, c = 3. Because a is positive, the parabola opens upward.
  2. Vertex: x = −b/(2a) = −(−4)/(2 × 1) = 2. Then y = c − b²/(4a) = 3 − (−4)²/(4 × 1) = −1. Vertex (2, −1).
  3. Completing the square gives the vertex form y = (x − 2)² − 1.
  4. Focal length: p = 1/(4a) = 1/(4 × 1) = 1/4. The focus is p units from the vertex along the axis: (2, −3/4). The directrix is p units on the other side: y = −5/4.
  5. Axis of symmetry: x = 2. Latus rectum (the chord through the focus): length |4p| = |1/a| = 1, with endpoints (3/2, −3/4) and (5/2, −3/4).
  6. x-intercepts (set y = 0): Discriminant b² − 4ac = (−4)² − 4 × 1 × 3 = 4. x = (−b ± √(b² − 4ac))/(2a) = 1 and 3. y-intercept (set x = 0): y = c = 3.
  7. Check with the focus–directrix definition: every point is as far from the focus as from the directrix, which gives (x − 2)² = y + 1 (here 4p = 1).

Parabola Calculator — Vertex, Focus & Directrix
Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

How to use the parabola calculator

  1. Choose Vertical (y = …, opens up or down) or Horizontal (x = …, opens left or right).
  2. Pick what you know: an equation (standard, vertex, factored or general form), 3 points, the vertex and one point, or the focus and directrix. Missing terms are entered as 0.
  3. Type integers, decimals or fractions such as 3/4 and press Analyze. Answers stay exact, with decimals beside any fraction.

The result lists the vertex, focus, directrix, axis of symmetry, focal length, latus rectum, intercepts, domain and range, the equation in all five forms, a graph drawn to scale, and every step of the working.

Vertex, focus and directrix formulas

Write the parabola in vertex form with p = 1/(4a), the signed distance from the vertex to the focus:

Feature Vertical: y = a(x − h)² + k Horizontal: x = a(y − k)² + h
Vertex (h, k) (h, k)
Opens up if a > 0, down if a < 0 right if a > 0, left if a < 0
Focus (h, k + p) (h + p, k)
Directrix y = k − p x = h − p
Axis of symmetry x = h y = k
Latus rectum length |4p| = |1/a| |4p| = |1/a|
Conic form (x − h)² = 4p(y − k) (y − k)² = 4p(x − h)

From standard form y = ax² + bx + c you do not need to complete the square first: h = −b/(2a) and k = c − b²/(4a). Every parabola is the set of points that are the same distance from the focus as from the directrix, which is why the focus and directrix sit at equal distances on either side of the vertex.

Converting between parabola forms

  • Standard to vertex form: complete the square. y = x² − 4x + 3 = (x − 2)² − 4 + 3 = (x − 2)² − 1.
  • Vertex to standard form: expand. b = −2ah and c = ah² + k.
  • Factored form y = a(x − r₁)(x − r₂) shows the x-intercepts r₁ and r₂. It exists over the real numbers only when the discriminant b² − 4ac is 0 or more.
  • General (conic) form Ax² + Bx + Cy + D = 0 is solved for y: divide by −C. For a horizontal parabola, Ay² + Bx + Cy + D = 0 is solved for x by dividing by −B.

Worked examples

Upward opening: y = x² − 4x + 3

Here a = 1, b = −4, c = 3. The vertex is at x = 4/2 = 2 and y = 3 − 16/4 = −1, so V(2, −1). With p = 1/(4 × 1) = 1/4, the focus is (2, −3/4) and the directrix is y = −5/4. The latus rectum has length 1, from (3/2, −3/4) to (5/2, −3/4). It factors as (x − 1)(x − 3), so the x-intercepts are 1 and 3; the y-intercept is 3.

Downward opening: y = −2x² + 8x − 3

The vertex is at x = −8/(2 × −2) = 2 and y = −3 − 64/(−8) = 5, so V(2, 5) and the vertex form is y = −2(x − 2)² + 5. Now p = 1/(4 × −2) = −1/8, so the focus is below the vertex at (2, 39/8) and the directrix is above it at y = 41/8. The discriminant is 64 − 24 = 40, so the x-intercepts are 2 ± √10/2 ≈ 0.419 and 3.581.

Through three points

Find the parabola through (−1, 8), (1, 0) and (4, 3). Substituting into y = ax² + bx + c gives a − b + c = 8, a + b + c = 0 and 16a + 4b + c = 3. Subtracting the first from the second gives b = −4, and then a + c = 4 and 16a + c = 19, so a = 1 and c = 3. The answer is y = x² − 4x + 3, the parabola from the first example.

From the focus and directrix

The focus is (0, 2) and the directrix is y = −2. The vertex is halfway between them at (0, 0), and p = 2, so a = 1/(4 × 2) = 1/8. The equation is y = x²/8, or x² = 8y in conic form, with latus rectum length 8.

A horizontal parabola in general form

Take y² − 4x − 2y + 9 = 0. Solving for x gives x = (1/4)y² − (1/2)y + 9/4 = (1/4)(y − 1)² + 2. The vertex is (2, 1), p = 1, the focus is (3, 1), the directrix is x = 1, and the parabola opens to the right.

The latus rectum and focal width

The latus rectum is the chord through the focus parallel to the directrix. Its length |4p| = |1/a| is also called the focal width, and its two endpoints are 2|p| either side of the focus. Plotting the vertex and these two endpoints gives three accurate points, which is the quickest way to sketch a parabola by hand.

Practice the graph and review a mistake

Sketch y = −2x² + 8x − 3 before you open the calculator: mark the vertex (2, 5), the axis x = 2, the y-intercept (0, −3) and its mirror image (4, −3), then join them with a smooth curve opening downward. Then enter the equation and compare your sketch with the graph.

The most common mistake is a sign error in the vertex: for y = (x + 3)² the vertex is at x = −3, not 3. Other frequent slips:

  • Putting the focus on the wrong side: when a < 0, p is negative and the focus is below the vertex.
  • Writing the directrix as a point. It is a line: y = k − p for a vertical parabola.
  • Forgetting a when completing the square. Factor a out of the x-terms first: 2x² + 12x = 2(x² + 6x).
  • Using three points with two equal x-values. No vertical parabola can pass through them; try the horizontal orientation.

Parabola practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. What is the vertex of y = x² + 6x + 5?

Found a mistake? Let us know!

2. What is the vertex of y = 2(x − 5)² − 7?

Found a mistake? Let us know!

3. What is the focus of y = x²/12?

Found a mistake? Let us know!

4. A parabola has focus (0, 3) and vertex (0, 0). What is its directrix?

Found a mistake? Let us know!

5. Which way does y = −x² + 4x open, and where is its vertex?

Found a mistake? Let us know!

6. What is the length of the latus rectum of y = 2x²?

Found a mistake? Let us know!

7. Which way does x = (1/4)y² open, and where is its focus?

Found a mistake? Let us know!

8. Which parabola passes through (0, 1), (1, 2) and (2, 5)?

Found a mistake? Let us know!

9. How many x-intercepts does y = x² + 2x + 5 have?

Found a mistake? Let us know!

10. Complete the square: x² − 8x + 10 in vertex form is

Found a mistake? Let us know!

Frequently asked questions

How do you find the vertex of a parabola?

For y = ax² + bx + c, the x-coordinate is −b/(2a). Substitute it back to get y. In vertex form y = a(x − h)² + k the vertex is simply (h, k).

How do you find the focus and directrix of a parabola?

Find the vertex (h, k) and p = 1/(4a). For a vertical parabola the focus is (h, k + p) and the directrix is y = k − p. For a horizontal parabola the focus is (h + p, k) and the directrix is x = h − p.

How do you find the equation of a parabola from three points?

Substitute each point into y = ax² + bx + c to get three linear equations in a, b and c, then solve them by elimination. If the solution gives a = 0, the points are on a line and no parabola fits.

Does every parabola have x-intercepts?

No. A vertical parabola crosses the x-axis twice when b² − 4ac > 0, touches it once when it equals 0, and misses it when it is negative. Every vertical parabola has exactly one y-intercept, (0, c).

What is the eccentricity of a parabola?

Always 1. That is what makes it a parabola rather than an ellipse (eccentricity below 1) or a hyperbola (above 1): every point is exactly as far from the focus as from the directrix.

Related calculators

More algebra calculators

Browse all 541 calculators

Related to This Article

What people say about "Parabola Calculator: Vertex, Focus, Directrix & Graph"?

No one replied yet.

Leave a Reply