Parabola Graph, Focus & Directrix Calculator

Enter an oblique line or an off-axis focus. Compare the rotated Cartesian plot with an aligned view, then inspect the tangent, focal chord and exact distances.

Conic geometry

Build a parabola from its focus

Construction

Given geometry
Focus
Directrix ax + by + c = 0

Use t = 0 to see the vertex or t = ±1 for the endpoints of the focal chord. Enter a fraction or decimal from −4 to 4.

Parabola diagram

Plot frame
Parabola in Cartesian orientationThe circle shows a curve point at (-37/16, 23/4). The distance to the diamond focus equals the distance to the square perpendicular foot. Each distance is 125/16.1 focal lengthx → · y ↑
  • Vertex
  • Focus
  • Probe
  • Foot on directrix
  • Solid directrix
  • Dashed axis and focal chord
  • Dotted equal distances
  • Short tangent

The window follows the construction and preserves its x–y orientation and equal axis scales.

Exact equation

16x² − 24xy + 9y² − 388x − 334y + 321 = 0

Vertex
(2, -1)
Focal length
5
Aligned form
u² = 4w

Equal-distance proof

Probe (-37/16, 23/4)

To the focus
125/16
To the directrix
125/16
Exact geometry and CSV
Vertex
(2, -1)
Focus
(5, 3)
Opening vector W
(3, 4)
Across vector T
(-4, 3)
Axis foot on directrix
(-1, -5)
Focal chord endpoint at t = -1
(13, -3)
Focal chord endpoint at t = 1
(-3, 9)
Focal length squared
25
Focal chord length squared
400
Directrix
3x + 4y + 23 = 0
Axis of symmetry
4x − 3y − 11 = 0
Cartesian equation
16x² − 24xy + 9y² − 388x − 334y + 321 = 0
Probe parameter t
3/4
Probe point
(-37/16, 23/4)
Probe foot on directrix
(-7, -1/2)
Focus distance squared
15625/256
Directrix distance squared
15625/256
Tangent at probe
96x + 28y + 61 = 0

How to use this calculator

  1. Enter a focus and the three coefficients of a directrix ax + by + c = 0, or switch to the focus and vertex constructor.
  2. Compare the Cartesian and axis-aligned diagram. A square marks the foot on the directrix and the dotted segments show the two equal distances.
  3. Set a probe parameter t. Use t = 0 at the vertex or t = ±1 at the ends of the chord through the focus.
  4. Read the exact equation and open the geometry ledger to inspect each landmark or download the proof as CSV.

The Formula

The mathematical logic powering this calculation is:

Let F be the focus and let D be its perpendicular projection onto the directrix. The vertex V is (F + D)/2. Conversely, when V and F are supplied, D = 2V − F and the directrix passes through D perpendicular to the opening vector W = F − V.

Let T = (−Wᵧ,Wₓ) and p² = W·W. For a point P, the coordinates u = T·(P − V)/p² and w = W·(P − V)/p² measure displacement in units of the focal length. In this frame, F = (0,1) and the directrix is w = −1. The distance condition gives u² + (w − 1)² = (w + 1)², so u² = 4w. Clearing denominators in [T·(P − V)]² = 4p²[W·(P − V)] gives the exact Cartesian equation.

The probe P(t) = V + 2tT + t²W lands on the parabola. Its perpendicular foot is V + 2tT − W. Both squared distances are p²(1 + t²)². The line through P(t) with normal W − tT is tangent to the parabola. The focal chord runs between t = −1 and t = 1 and has length 4p.

Inputs may be signed decimals with up to six decimal places or fractions with a positive denominator of up to six digits. Coordinates and line coefficients are within ±1,000,000 and the diagram accepts t from −4 to 4. The focus cannot lie on the directrix or coincide with the vertex. The plot keeps equal scale in both directions and uses approximate screen coordinates. Equations and proof distances use rational arithmetic.

Worked Example

If you input:

  • Focus: (5, 3)
  • Directrix: 3x + 4y + 23 = 0
  • Probe t: 3/4

Result:

The vertex is (2, −1) and the focal length is 5. The probe (−37/16, 23/4) is 125/16 units from both the focus and the directrix.

Frequently Asked Questions

Can the parabola open in any direction?

Yes. The opening direction runs from the vertex toward the focus. An oblique directrix generally produces a Cartesian equation with an xy term.

What happens when the focus lies on the directrix?

The focus-to-directrix distance is zero. The distance condition then describes a line through the focus perpendicular to the directrix, so the worksheet asks for a nondegenerate construction.

What does the probe parameter mean?

In the aligned frame, the across and opening coordinates are 2t and t². Changing the sign of t reflects the probe across the symmetry axis.

What is the focal chord or latus rectum?

It joins the two curve points on the line through the focus parallel to the directrix. In this worksheet its endpoints are at t = −1 and t = 1, separated by four focal lengths.

Why can my equation use different coefficients?

Any nonzero multiple gives the same curve. This worksheet uses integer coefficients with no common factor and makes the first nonzero coefficient positive.

Why does the diagram label use focal lengths?

One focal length is the distance from the vertex to the focus. Scaling the diagram in those units keeps both sides of the equal-distance proof visible even for very small or large constructions.

Similar Calculators