A little context. A clearer answer.
When this calculator is useful
Reconstruct a horizontal or vertical parabola from its focus and directrix, explore a vertex-and-p form, or convert quadratic coefficients. The moving probe demonstrates why points on the curve have equal distances to the focus and directrix. For a related calculation, try Quadratic equation calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Input method | Input method | Vertex and focal parameter p |
| Axis orientation | Vertical uses a horizontal directrix y = d; horizontal uses a vertical directrix x = d. | Vertical · y = ax² + bx + c |
| Vertex x · h | Vertex x · h | 0 |
| Vertex y · k | Vertex y · k | 0 |
| Signed focal parameter p | Signed vertex-to-focus distance; cannot be zero. | 2 |
| Focus x | Focus x | — |
| Focus y | Focus y | — |
| Directrix coordinate | Enter d in y = d or x = d according to the selected axis. | — |
| Quadratic coefficient a | Quadratic coefficient a | — |
| Linear coefficient b | Linear coefficient b | — |
| Constant c | Constant c | — |
| Probe offset · multiples of |p| | Signed offset from the vertex across the axis, measured in multiples of |p|. The other coordinate is calculated on the parabola. | 2 |
How the calculation works
- Choose the axis and enter vertex plus p, focus plus directrix, or quadratic coefficients.
- Read the canonical equation and check the focus, axis, opening direction and chord endpoints.
- Change the probe offset to compare perpendicular distance to the directrix with distance to the focus.
(x−h)² = 4p(y−k) or (y−k)² = 4p(x−h); p ≠ 0A worked example
For y² = 24x, choose horizontal, h = k = 0, p = 6. The focus is (6,0), directrix x = −6, and latus rectum endpoints (6,−12) and (6,12).
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
No rotated conics or xy terms. The focal parameter and quadratic coefficient must be nonzero. Very small focal distances relative to large coordinates may exceed reliable floating-point precision.
Frequently asked questions
What does a negative p mean?
The focus lies below the vertex for a vertical axis, or left of it for a horizontal axis. The parabola opens toward the focus.
How do coefficients become geometry?
For y = ax² + bx + c, h = −b/(2a), k = c − b²/(4a), and p = 1/(4a). For x = ay² + by + c the roles of x and y swap.
Does this solve quadratic roots?
This page focuses on conic geometry. Use the related quadratic calculator for roots and discriminants.