Parabola Calculator
Find a parabola's vertex, axis, focus, directrix, discriminant and x-intercepts from its three coefficients, with vertex form checked against the constant.
Parabola Calculator
Find a parabola's vertex, axis, focus, directrix, discriminant and x-intercepts from its three coefficients, with vertex form checked against the constant.
How this page computes
Completing the square gives h = −b/2a and k = c − b²/4a. The focal distance is 1/(4a), which places the focus and directrix on either side of the vertex.
The discriminant b² − 4ac decides the intercepts: two roots, one repeated root, or none. The vertex form is evaluated at x = 0 and compared with c as the check.
The calculation runs entirely in this browser tab; nothing is uploaded.
For y = x² − 4x + 3 the vertex is (2, −1), the axis is x = 2, and the parabola opens upward. The page prints the focus at (2, −0.75) and the directrix at y = −1.25, which are the two facts that define the curve rather than merely describe it.
The x-intercepts are 1 and 3, from the discriminant 4. When the discriminant is negative the page says there are no real roots instead of printing a complex number in a field labelled intercepts.
How to use Parabola Calculator
Enter the three coefficients and press Run. A coefficient of 0 is refused, because y = bx + c is a line, not a parabola.
The output gives the equation, the vertex, the axis, the opening direction, the focus, the directrix, the focal length, the discriminant, both intercepts and the vertex-form check.
Completing the square, and what the focal length is
Completing the square rewrites ax² + bx + c as a(x − h)² + k with h = −b/2a and k = c − b²/4a. The point (h, k) is the vertex, and the check substitutes x = 0 to recover c, which is where the algebra would show a sign error.
A parabola is the set of points equidistant from its focus and its directrix, and that distance is 1/(4a) from the vertex. The focus and directrix printed are derived from that definition, not from a separate formula.
What to Expect
Best for
- The vertex and axis of a parabola
- Its focus and directrix
- The x-intercepts and the discriminant
Not ideal for
- A parabola opening sideways, which is x = ay² + by + c
- A parabola given by focus and directrix, which this page does not invert
- A coefficient of zero, which is a line
What this tool keeps
- All three coefficients exactly as typed
What may need cleanup
- Nothing: every derived value is exact or stated to six decimals
Common errors
- A coefficient a of zero is refused as a line
- A negative discriminant is reported as no real roots
Example use cases
- Find the vertex of y = x^2 - 4x + 3
- Get the focus and directrix of that parabola
- See a parabola with no x-intercepts
Sample input
y = x^2 - 4x + 3
Sample output
vertex (2, -1), focus (2, -0.75), directrix y = -1.25, roots 1 and 3
Who this is for
- Students meeting parabolas
- Readers checking a quadratic model
Frequently asked questions
Why is the focus 1/(4a) from the vertex?
Because a parabola is the locus of points equidistant from the focus and the directrix. Setting that distance up in vertex form gives a focal distance of 1/(4a), so the focus and directrix follow from the same definition.
What if the discriminant is negative?
The parabola does not cross the x-axis, so it has no real x-intercepts. The page says so and prints the negative discriminant rather than fabricating roots.
What does the sign of a tell me?
Whether the parabola opens upward or downward, which the page states with the coefficient. It also decides whether the focus is above or below the vertex.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.