Hyperbola Calculator
Compute a hyperbola's vertices, co-vertices, foci, asymptotes and eccentricity from its two semi-axes, with c² = a² + b² printed as the check.
Hyperbola Calculator
Compute a hyperbola's vertices, co-vertices, foci, asymptotes and eccentricity from its two semi-axes, with c² = a² + b² printed as the check.
How this page computes
The focal distance is the square root of a² + b², computed once and used for both foci. The eccentricity is that distance over a.
The asymptotes are y = ±(b/a)x from the same equation with the constant replaced by zero. The identity c² = a² + b² is printed with the substituted values.
The calculation runs entirely in this browser tab; nothing is uploaded.
For x²/9 − y²/16 = 1 the vertices are at ±3 on the x-axis and the foci at ±5, because a hyperbola has c² = a² + b² — the opposite sign from an ellipse, which is the single fact most often got wrong.
The asymptotes are y = ±(4/3)x and the eccentricity is 5/3. The page prints all of them together so the shape can be sketched from the output rather than from memory.
How to use Hyperbola Calculator
Enter the two semi-axes and press Run. Both must be above zero, since a zero semi-axis collapses the hyperbola to a pair of rays.
The output gives the standard equation, both vertices, both co-vertices, both foci, the c² identity, the two asymptotes, the eccentricity and both axis lengths.
Why the signs differ from an ellipse
On a hyperbola the difference of the distances to the two foci is constant, and writing that condition in coordinates gives c² = a² + b². On an ellipse the sum is constant and the same derivation gives c² = a² − b².
The asymptotes come from the same equation with the 1 replaced by 0, which factorises into the two lines y = ±(b/a)x. That is why they pass through the centre and why the hyperbola approaches them without meeting them.
What to Expect
Best for
- Vertices, foci and asymptotes of a hyperbola
- Seeing why c² = a² + b² here
- The eccentricity, which is always above 1
Not ideal for
- A vertical hyperbola, where the y term is positive
- A shifted hyperbola whose centre is not the origin
- A zero semi-axis, which collapses the curve
What this tool keeps
- Both semi-axes exactly as typed
What may need cleanup
- Nothing: every derived value is exact or stated to six decimals
Common errors
- A zero or negative semi-axis is refused
- A non-numeric input is refused by name
Example use cases
- Describe x^2/9 - y^2/16 = 1
- Get the asymptotes of a hyperbola
- Check the eccentricity of a 3-4 hyperbola
Sample input
a = 3, b = 4
Sample output
vertices at +/-3, foci at +/-5, asymptotes y = +/-1.3333333333x
Who this is for
- Students meeting conic sections
- Readers sketching a hyperbola
Frequently asked questions
Why is c larger than a here when it is smaller for an ellipse?
Because the defining condition is different. A hyperbola fixes the difference of distances to the foci, which yields c² = a² + b², so c is the largest of the three. An ellipse fixes the sum, which yields c² = a² − b².
Where do the asymptotes come from?
Replacing the 1 with 0 gives x²/a² = y²/b², which factorises into the two lines through the centre. The hyperbola approaches them as the coordinates grow.
What is the eccentricity?
c divided by a, which is always greater than 1 for a hyperbola. For a = 3 and b = 4 it is 5/3, and it measures how far the foci sit beyond the vertices.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.