Hyperbola Calculator (Foci, Vertices & Asymptotes)

Find the center, vertices, foci, asymptotes, eccentricity and directrices of a hyperbola from its standard or general equation.

Results

Standard form
(x − 2)²/36 − (y + 5)²/81 = 1
Center (h, k)
(2, −5)
Transverse axis
Horizontal, along y = −5 (opens left and right)
a (center to vertex)
6.00
b (center to co-vertex)
9.00
c = √(a² + b²) (center to focus)
10.81665383
c = 3√13
Vertices
(−4, −5) and (8, −5)
Co-vertices
(2, −14) and (2, 4)
Foci
(−8.816653826, −5) and (12.81665383, −5)
Exactly (2 ± 3√13, −5).
Asymptotes
y = ±(3/2)(x − 2) − 5
Slopes ±1.5.
Eccentricity e = c/a
1.802776
Always greater than 1 for a hyperbola.
Transverse and conjugate axis lengths (2a, 2b)
12 and 18
Directrices
x = −1.328201177 and x = 5.328201177
At distance a²/c from the center, between the center and each vertex.

How it’s calculated

A hyperbola is the set of points whose distances to two fixed points (the foci) differ by a constant. In standard form the positive term tells you the direction of the transverse axis, the axis through the vertices and foci.

(x − h)²/a² − (y − k)²/b² = 1 (opens left and right) vertices (h ± a, k), co-vertices (h, k ± b), foci (h ± c, k), c² = a² + b² asymptotes y = ±(b/a)(x − h) + k eccentricity e = c/a > 1, directrices x = h ± a²/c

For (y − k)²/a² − (x − h)²/b² = 1 the hyperbola opens up and down: the vertices and foci are (h, k ± a) and (h, k ± c), and the asymptotes are y = ±(a/b)(x − h) + k. Unlike an ellipse, a is not necessarily bigger than b; a always belongs to the positive term.

Example: 9x² − 4y² − 36x − 40y − 388 = 0. Completing the square gives 9(x − 2)² − 4(y + 5)² = 324, so (x − 2)²/36 − (y + 5)²/81 = 1. Then a = 6, b = 9 and c = √(36 + 81) = √117 = 3√13 ≈ 10.817. The center is (2, −5), the vertices are (−4, −5) and (8, −5), the foci are (2 ± 3√13, −5) and the asymptotes are y = ±(3/2)(x − 2) − 5.

Frequently asked questions

How do I find the asymptotes of a hyperbola?

They pass through the center with slopes ±b/a when the x term is positive, or ±a/b when the y term is positive. For x²/36 − y²/81 = 1 they are y = ±(3/2)x.

How do I find the foci of a hyperbola?

Use c² = a² + b² (a plus sign, unlike an ellipse). The foci are c units from the center along the transverse axis.

How can I tell a hyperbola from an ellipse in general form?

Look at the x² and y² coefficients. Opposite signs give a hyperbola; the same sign gives an ellipse or circle. Only one squared term gives a parabola.

What if completing the square leaves 0 on the right?

Then the equation describes two straight lines crossing at the center (a degenerate hyperbola), so there are no vertices or foci.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator