How to use the calculator
- Type the coefficients for your quadratic function in the inputs labeled Coefficient a, Coefficient b, and Coefficient c.
- Click Compute Features.
- Read the results in the table (vertex, focus, directrix, axis of symmetry, and focal distance).
- Optional: click Copy Result to copy a plain-text summary for notes, homework, or a lab report.
Tip: a cannot be 0. If , the equation is linear and does not represent a parabola.
If the parabola opens upward; if
it opens downward.
For with
, the calculator uses the standard relationships below.
They come from converting the quadratic to vertex form and then applying the focus/directrix definition.
Key expressions for a vertical parabola
| Feature |
Expression |
| Vertex |
|
| Axis of symmetry |
where
|
| Focal parameter |
Distance from vertex to focus is .
|
| Focus |
|
| Directrix |
|
Where do h and k come from? Completing the square rewrites the quadratic as
.
In this form, the vertex is clearly .
The parameter tells you how far the focus is from the vertex along the axis of symmetry.
Sign matters: if , then is positive and the focus is above the vertex.
If , then is negative and the focus is below the vertex.
The calculator also reports as a nonnegative distance.
Worked example (step-by-step)
Suppose you have
.
Then ,
,
and .
-
Vertex x-coordinate:
.
-
Vertex y-coordinate:
.
So the vertex is .
-
Focal parameter:
.
-
Focus:
becomes .
-
Directrix:
becomes .
If you enter a = 2, b = -8, c = 3 in the form, the results panel will show the same values (rounded to 4 decimals).
Notice that because a is positive, the parabola opens upward and the focus is slightly above the vertex.
Second example (downward opening)
Here is a quick example where the parabola opens downward:
.
In this case ,
,
.
Compute the vertex:
.
Then
.
So the vertex is (4, 7).
Now compute :
.
Because is negative, the focus is below the vertex:
focus = (4, 6.5), and the directrix is
= 7.5.
Interpreting the results
The vertex is the turning point of the parabola. If the parabola opens upward, the vertex is the minimum; if it opens downward, the vertex is the maximum.
The axis of symmetry is the vertical line through the vertex. Points on the left and right of this line mirror each other.
The focus and directrix provide a geometric definition of the curve. Any point on the parabola is equally distant from the focus and the directrix.
For vertical parabolas, the directrix is always a horizontal line. If the parabola opens upward, the focus is above the vertex and the directrix is below it; if it opens downward,
the focus is below the vertex and the directrix is above it.
The calculator also reports the distance from vertex to focus as .
This distance is closely related to the width of the parabola: a larger absolute value of makes the parabola narrower and makes
smaller. A smaller absolute value of makes the parabola wider and increases
.
How to sketch the parabola from the output
Even without a graphing tool, you can sketch accurately using the computed features:
- Plot the vertex (h, k).
- Draw the axis of symmetry as a light vertical line x = h.
- Plot the focus on the axis of symmetry.
- Draw the directrix as a light horizontal line y = k − p.
-
Pick one or two x-values near the vertex (for example, h ± 1), compute y from the original equation, and plot those points.
Reflect them across the axis of symmetry to get matching points on the other side.
This method is especially helpful in algebra and precalculus courses because it connects the symbolic equation to a geometric picture.
It also makes it easier to catch sign mistakes: if the focus ends up on the wrong side of the vertex compared with the opening direction, re-check the value of a.
Optional distance check (focus vs directrix)
If you want to verify the definition of a parabola numerically, you can do a quick distance check with any point on the curve.
Choose an x-value, compute y from , and call the point (x, y).
Then:
-
Distance to the focus (h, k + p) is
dfocus = √((x − h)² + (y − (k + p))²)
.
-
Distance to the directrix line y = k − p is the vertical distance
ddirectrix = |y − (k − p)|
.
For a true point on the parabola, these distances match (up to rounding). This is a good classroom exercise because it reinforces both the distance formula and the idea of a locus.
Why focus/directrix matters (applications)
Focus and directrix are not just abstract geometry. They explain why parabolas appear in optics, engineering, and physics.
In a parabolic reflector (like a satellite dish or a flashlight reflector), rays that enter parallel to the axis of symmetry reflect through the focus.
That is why the bulb or receiver is placed at the focus: it concentrates energy at a single point.
In projectile motion under uniform gravity (ignoring air resistance), the path of an object is a parabola. While the focus/directrix description is not the usual physics approach,
the same quadratic structure appears: the coefficient a relates to how quickly the height changes with horizontal distance.
In architecture, parabolic arches distribute forces efficiently, and in design, parabolic curves are used for smooth transitions.
In analytic geometry, being able to move between standard form and vertex form is a core skill. This calculator effectively performs that conversion and then reports the geometric features
that are easiest to interpret visually.
Limitations and assumptions
-
Vertical parabolas only: This tool is for equations in the form
.
It does not compute focus/directrix for horizontal parabolas such as
.
-
Floating-point rounding: Results are rounded for display (up to 4 decimals). Extremely large or tiny coefficients can introduce small rounding differences.
-
Not a graphing tool: The calculator reports key features but does not draw the parabola. Use the vertex and axis of symmetry to sketch accurately.
-
Domain context: The formulas assume a real-valued quadratic function. If you are working in a specialized context (units, scaling, or coordinate transforms), interpret the output accordingly.
FAQ
What if my equation is already in vertex form?
If you have y = a(x − h)² + k, you can still use this calculator by expanding to standard form and entering the resulting a, b, c.
Alternatively, read off the vertex directly as (h, k) and compute using
.
Why is the directrix horizontal here?
Because the input form is y as a function of x with an x² term. That describes a parabola whose axis of symmetry is vertical.
A horizontal directrix is perpendicular to that axis. For a sideways parabola (x as a function of y), the axis is horizontal and the directrix would be vertical.
Does the sign of p matter if the calculator also shows |p|?
Yes. The sign of determines whether the focus is above or below the vertex.
The value is reported as a distance (always nonnegative), which is useful for comparing how wide different parabolas are.
Is any data sent to a server?
No. The computations run entirely in your browser using JavaScript. Your coefficient values stay on your device.
How accurate are the results?
The underlying calculations use standard floating-point arithmetic. The displayed values are formatted to up to 4 decimal places.
For typical classroom numbers, this is more than enough. If you need exact fractions, consider doing the algebra symbolically (for example, keeping h, k, and p as fractions).
Additional notes for students and teachers
When learning conic sections, it helps to connect multiple representations: standard form, vertex form, a sketch, and the focus/directrix definition.
One effective activity is to compute the vertex and focus, draw the directrix, and then pick several points on the curve to confirm the equal-distance property.
This turns a memorized formula into a geometric fact you can test.
Another teaching tip is to compare two parabolas with the same vertex but different a-values. Students can see that changing a changes the focal distance and therefore the tightness of the curve.
For example, with the same vertex, a = 1 gives p = 1/4, while a = 4 gives p = 1/16, placing the focus much closer to the vertex.
That visual comparison makes the parameter p feel meaningful rather than mysterious.
Finally, remember that the axis of symmetry is a powerful graphing shortcut. Once you have the vertex and one point on the parabola, you automatically get a second point by reflection.
The calculator’s axis output is designed to make that step immediate.