Mathematics calculator

Parabola Calculator

Find the vertex, focus, directrix and symmetry axis of a vertical or horizontal parabola from its coefficients.

Calculator inputs

Enter your values

Parabola geometry
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What Is a Parabola?

A parabola is the set of points equally distant from a fixed point, the focus, and a fixed line, the directrix. Its vertex lies halfway between the focus and directrix along its symmetry axis.

This parabola calculator accepts coefficients in y = ax² + bx + c for a vertical parabola or x = ay² + by + c for a horizontal one. It returns vertex, axis, focus and directrix. It does not draw the curve, find intercepts or accept rotated parabolas with an xy term.

How to Enter a Vertical or Horizontal Parabola

  1. Choose Equation orientation. Vertical uses y = ax² + bx + c; Horizontal uses x = ay² + by + c.
  2. Enter the signed coefficients a, b and c for that form. Coefficient a must be nonzero; use 0 for a missing linear or constant term.
  3. Select Calculate. Read the featured vertex, then Symmetry axis, Focus and Directrix.
  4. Check the equation orientation before interpreting coordinate order: a horizontal parabola swaps the roles of x and y.

The calculator completes the square numerically. For a vertical curve, a positive a opens upward and a negative a downward. For a horizontal curve, those signs mean rightward and leftward.

Coordinates and line constants round to six decimal places, with trailing zeros removed. The outputs are numeric references rather than exact symbolic expressions. Very small a or very large, nearly canceling coefficients can strain numerical precision and range.

Vertex, Focus and Directrix Formulas

Let u = −b/(2a), v = c − b²/(4a), and p = 1/(4a)

Vertical: y = a(x−u)² + v; vertex (u,v)

Vertical focus (u,v+p); directrix y = v−p; axis x = u

Horizontal: x = a(y−u)² + v; vertex (v,u)

Horizontal focus (v+p,u); directrix x = v−p; axis y = u

The signed focal parameter p determines the opening direction, while |p| is the vertex-to-focus distance. The focus lies inside the opening side, and the directrix lies the same distance from the vertex on the opposite side.

The vertex forms correspond to (x−u)² = 4p(y−v) vertically and (y−u)² = 4p(x−v) horizontally. Using separate u and v symbols helps avoid treating the horizontal vertex as though its coordinates were in the vertical order.

OpenStax: The Parabola provides the underlying mathematical relationship. Input limits and display precision above describe this calculator’s implementation.

Parabola Coefficients and Geometry Results

Equation orientation
Selects which variable is squared and which variable is isolated.
Quadratic coefficient a
Nonzero signed coefficient controlling curvature and opening direction.
Linear coefficient b and constant c
Remaining signed coefficients in the selected equation form.
Vertex
Featured ordered pair (x,y), rounded to six places.
Symmetry axis
Vertical x = constant or horizontal y = constant line through the vertex.
Focus
Fixed point defining the parabola’s distance property.
Directrix
Fixed line paired with the focus; it is perpendicular to the symmetry axis.

Parabola Worked Example

Illustrative example. Choose Vertical and enter a = 0.25, b = −2 and c = 1. Then u = −(−2)/(2 × 0.25) = 4 and v = 1 − 4/(4 × 0.25) = −3. The vertex is (4, −3).

The focal parameter p = 1/(4 × 0.25) = 1. Therefore the focus is (4, −2), the directrix is y = −4 and the symmetry axis is x = 4. Completing the square gives y = 0.25(x−4)²−3. The point (6,−2) lies on this curve and is 2 units from both the focus and directrix.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Parabola Worked Example
QuantityValue
Equationy = 0.25x² − 2x + 1
Vertex(4, −3)
Signed focal parameter1
Focus(4, −2)
Directrixy = −4
Symmetry axisx = 4

Vertical and Horizontal Parabola Results

Using u = −b/(2a), v = c−b²/(4a) and p = 1/(4a), the same coefficient calculation supports two orientations. The coordinate order and line variable must follow the selected equation.

Vertical and Horizontal Parabola Results
QuantityVertical equationHorizontal equation
Equationy = ax² + bx + cx = ay² + by + c
Vertex(u,v)(v,u)
Focus(u,v+p)(v+p,u)
Directrixy = v−px = v−p
Positive a opensUpwardRightward
Negative a opensDownwardLeftward

How to Interpret the Focus and Opening Direction

The vertex is a turning point along the axis, while the focus is a different geometric point. They do not coincide for a nondegenerate parabola with finite nonzero a. The axis and directrix are lines, so their outputs are equations rather than point coordinates.

A vertical parabola need not cross the x-axis, and a horizontal one need not cross the y-axis. Focus/directrix geometry remains valid even when a related quadratic equation has no real roots. This page does not calculate those intercepts.

The sign of p, not its absolute value, places the focus on the correct side of the vertex. Use |p| only when reporting an unsigned distance. The geometric interpretation assumes a consistent Euclidean coordinate scale; unrelated axis units do not automatically define a physical focus.

Common Parabola Calculation Mistakes

  • Entering y = ax² + bx + c coefficients while Horizontal is selected.
  • Using a = 0, which removes the quadratic term.
  • Swapping the horizontal vertex coordinates.
  • Replacing signed p with |p| when locating the focus.
  • Confusing the vertex, focus and an intercept.
  • Expecting a graph, rotated-conic input or exact radical output from this form.

Frequently Asked Questions

What does the parabola calculator find?

It finds the vertex, symmetry axis, focus and directrix from coefficients of a vertical or horizontal quadratic equation. It does not plot a graph or calculate intercepts.

What equation forms can I enter?

Choose y = ax² + bx + c for a vertical parabola or x = ay² + by + c for a horizontal one, then enter the three signed coefficients. Coefficient a must be nonzero.

How do I find a parabola’s vertex?

For y = ax² + bx + c, the vertex is (−b/(2a), c−b²/(4a)). For x = ay² + by + c, reverse that coordinate order.

What is the difference between a vertex and a focus?

The vertex is the turning point on the symmetry axis. The focus is the fixed point used with the directrix to define equal distances along the curve.

How does the sign of a change the opening?

A positive a opens a vertical parabola upward or a horizontal one rightward. A negative a opens it downward or leftward, respectively.

How far is the focus from the vertex?

The unsigned distance is |1/(4a)|. Keep the signed value p = 1/(4a) when placing the focus and directrix on the correct sides of the vertex.

Why is a = 0 invalid?

Setting a to zero removes the squared term. The equation then describes a line or a degenerate case, not the parabola geometry calculated here.

Can this tool handle a rotated parabola?

No. Equations with an xy term or other rotated-conic forms need a coordinate transformation or a broader conic tool. Outputs here round to six decimal places.

Sources and References