Hyperbola Calculator
- c² = a² + b² = 9.00 + 16.00 = 25.00, so c = 5.00.
- The transverse axis is horizontal, so the foci sit on the x-axis at (5.00, 0) and (-5.00, 0), and the vertices at (3.00, 0) and (-3.00, 0).
- Eccentricity e = c / a = 5.00 / 3.00 = 1.67 — always above 1 for a hyperbola.
- Asymptotes are y = 1.33x and y = -1.33x; the latus rectum (the chord through a focus) is 2b²/a = 10.67.
A hyperbola calculator works out the key geometric features of a hyperbola from its semi-transverse axis a and semi-conjugate axis b. For a centred hyperbola, the focal distance is c = √(a² + b²) and the eccentricity is e = c/a, always greater than 1. The calculator returns the foci, vertices, eccentricity, asymptote equations, and latus rectum. For example, when a = 3 and b = 4, it gives c = 5.00, eccentricity 1.67, foci at (±5.00, 0), vertices at (±3.00, 0), asymptotes y = ±1.33x, and a latus rectum of 10.67. For a vertical hyperbola with a = 5 and b = 12, it gives c = 13.00, eccentricity 2.60, asymptotes y = ±0.42x, and a latus rectum of 57.60. When a = 8 and b = 6, the result is c = 10.00 and eccentricity 1.25 — and the closer e is to 1, the narrower and more pointed the branches.
These results follow directly from the standard definitions of conic sections, where the focal distance formula c = √(a² + b²) and the eccentricity ratio e = c/a are the universally accepted relationships for hyperbolas. The asymptotes of a horizontal hyperbola are y = ±(b/a)x; for a vertical hyperbola they are y = ±(a/b)x. A rectangular hyperbola has a = b and eccentricity exactly √2 ≈ 1.41. Hyperbolas describe everything from cooling-tower profiles to the paths of objects escaping a planet's gravity. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result yourself.
Worked examples
The 3-4-5 hyperbola
Primary result: 1.67 — c lands exactly on 5.00, so the foci sit at (±5.00, 0). (Horizontal (opens left–right) · 3 · 4)
| Eccentricity (e) | 1.67 |
| Focal distance (c) | 5.00 |
| Foci | (5.00, 0) and (-5.00, 0) |
| Vertices | (3.00, 0) and (-3.00, 0) |
| Asymptotes | y = 1.33x and y = -1.33x |
| Latus rectum | 10.67 |
A tall, narrow branch pair
Primary result: 2.60 — vertical opening with c = 13.00 and steep asymptotes. (Vertical (opens up–down) · 5 · 12)
| Eccentricity (e) | 2.60 |
| Focal distance (c) | 13.00 |
| Foci | (0, 13.00) and (0, -13.00) |
| Vertices | (0, 5.00) and (0, -5.00) |
| Asymptotes | y = 0.42x and y = -0.42x |
| Latus rectum | 57.60 |
A flatter curve
Primary result: 1.25 — with a = 8 the eccentricity drops toward the rectangular-hyperbola end of the scale. (Horizontal (opens left–right) · 8 · 6)
| Eccentricity (e) | 1.25 |
| Focal distance (c) | 10.00 |
| Foci | (10.00, 0) and (-10.00, 0) |
| Vertices | (8.00, 0) and (-8.00, 0) |
| Asymptotes | y = 0.75x and y = -0.75x |
| Latus rectum | 9.00 |
The anatomy of a hyperbola
A hyperbola is made up of two separate curves called branches, which mirror each other across the center of the figure. Two key measurements define its size and proportions: the semi-transverse axis (a) runs along the line connecting the two vertices, while the semi-conjugate axis (b) runs perpendicular to it. The vertices are the points where each branch turns closest to the center, and the foci are two fixed points inside each branch that govern the hyperbola's shape. For a centered hyperbola, the focal distance is c = √(a² + b²), and the eccentricity is e = c/a, which is always greater than 1.
The values of a and b together set the overall look of the branches. The asymptotes are straight lines that the branches approach but never touch, and they depend directly on the ratio of a to b. For a horizontal hyperbola, the asymptotes are y = ±(b/a)x; for a vertical hyperbola, they are y = ±(a/b)x. The eccentricity also reveals how open or pointed the branches are. When a = 8 and b = 6, the result is c = 10.00 and eccentricity 1.25 — the closer e is to 1, the narrower and more pointed the branches become.
A hyperbola calculator uses these same relationships to return every key value at once. With a = 3 and b = 4, the tool gives c = 5.00, eccentricity 1.67, foci at (±5.00, 0), vertices at (±3.00, 0), asymptotes y = ±1.33x, and a latus rectum of 10.67. Switching to a vertical hyperbola with a = 5 and b = 12 produces c = 13.00, eccentricity 2.60, asymptotes y = ±0.42x, and a latus rectum of 57.60. A special case arises when a = b: this is called a rectangular hyperbola, and it has an eccentricity of exactly √2, or about 1.41.
Hyperbolas are not just abstract curves. They describe everything from cooling-tower profiles to the paths of objects escaping a planet's gravity. Understanding how a, b, c, and e relate makes it easier to interpret the results from any hyperbola calculator and to predict how the branches will look before you plot them.
Finding c and the foci
For a centered hyperbola with semi-transverse axis a and semi-conjugate axis b, the focal distance follows directly from the Pythagorean relationship: c = √(a² + b²). The two foci always lie along the transverse axis at distance c from the center, so a horizontal hyperbola has foci at (±c, 0) and a vertical one places them at (0, ±c). The eccentricity, defined as e = c/a, is always greater than 1 for every hyperbola. This sets hyperbolas apart from ellipses, whose eccentricity stays below 1, and from parabolas, whose eccentricity equals 1 exactly.
The 3-4-5 right triangle provides the simplest illustration. When a = 3 and b = 4, the formula gives c = √(9 + 16) = √25 = 5.00, producing an eccentricity of 1.67. A hyperbola calculator using these values returns foci at (±5.00, 0), vertices at (±3.00, 0), asymptotes y = ±1.33x, and a latus rectum of 10.67. The same 3-4-5 structure also works in reverse: a = 8 and b = 6 give c = 10.00 with an eccentricity of 1.25. The closer e is to 1, the narrower and more pointed the branches become, so the 8-6-10 case produces a noticeably tighter curve than the 3-4-5 case.
A vertical hyperbola flips the roles of a and b in its asymptote equations. The asymptotes of a horizontal hyperbola are y = ±(b/a)x, but for a vertical hyperbola they are y = ±(a/b)x. The 5-12-13 Pythagorean triple demonstrates this clearly: with a = 5 and b = 12, the focal distance is c = 13.00 and the eccentricity rises to 2.60. Because the hyperbola is vertical, its asymptotes follow y = ±(5/12)x, which rounds to y = ±0.42x, and the latus rectum reaches 57.60. The foci in this case sit at (0, ±13.00) rather than along the x-axis.
A special case worth noting is the rectangular hyperbola, where a = b and the eccentricity equals exactly √2, or approximately 1.41. The two families of asymptotes become perpendicular to each other, giving the curve its characteristic right-angle opening. Whether modeling cooling-tower profiles or the paths of objects escaping a planet's gravity, the same c = √(a² + b²) relationship governs where the foci sit and how sharply the branches spread.
Worked examples
The following worked examples show how a hyperbola calculator handles three verified configurations, each with a different eccentricity. For every centred hyperbola with semi-transverse axis a and semi-conjugate axis b, the focal distance is c = √(a² + b²) and the eccentricity is e = c/a, always greater than 1. The asymptotes of a horizontal hyperbola follow y = ±(b/a)x, while for a vertical hyperbola they are y = ±(a/b)x. These relationships hold whether the branches open sideways or upward and downward.
The first case is a horizontal hyperbola with a = 3 and b = 4. Running these values through the formulas gives c = 5.00 and an eccentricity of 1.67. The foci sit at (±5.00, 0) and the vertices at (±3.00, 0), with asymptotes y = ±1.33x and a latus rectum of 10.67. The second case flips to a vertical hyperbola with a = 5 and b = 12, producing c = 13.00 and a much higher eccentricity of 2.60. Its asymptotes are y = ±0.42x and its latus rectum measures 57.60, reflecting the steeper, more elongated shape that comes with a larger eccentricity.
The third example uses a = 8 and b = 6, yielding c = 10.00 and an eccentricity of 1.25. The closer e is to 1, the narrower and more pointed the branches become, so this hyperbola looks noticeably tighter than the first two. For comparison, a rectangular hyperbola has a = b and an eccentricity exactly equal to √2, which is approximately 1.41 — sitting between the 1.25 and 1.67 values shown below. These three examples span a practical range that a hyperbola calculator might encounter, from gently curved to sharply elongated forms.
Hyperbolas describe everything from cooling-tower profiles to the paths of objects escaping a planet's gravity, so being able to verify each parameter matters. The table below collects the key results for all three configurations side by side, making it easy to compare how eccentricity, focal distance, and the latus rectum change as a and b shift.
| Orientation | a | b | c | Eccentricity (e) | Asymptotes | Latus rectum |
|---|---|---|---|---|---|---|
| Horizontal | 3 | 4 | 5.00 | 1.67 | y = ±1.33x | 10.67 |
| Vertical | 5 | 12 | 13.00 | 2.60 | y = ±0.42x | 57.60 |
| Horizontal | 8 | 6 | 10.00 | 1.25 | — | — |
Eccentricity: how open the branches are
Eccentricity, written as e, is the single number that tells you how open or how narrow a hyperbola's branches are. For a centered hyperbola with a semi-transverse axis a and a semi-conjugate axis b, the focal distance is c = √(a² + b²) and the eccentricity is e = c/a. This value is always greater than 1, and the reason is built into the formula: since c is the hypotenuse of a right triangle with legs a and b, it is always longer than a alone, so the ratio c/a can never drop to 1 or below.
When e sits just above 1, the branches are narrow and pointed, hugging the transverse axis tightly. A verified example makes this concrete: with a = 8 and b = 6, the focal distance is c = 10.00 and the eccentricity is 1.25. That small value above 1 produces a shape that looks almost like two sharp arrows shooting outward. Compare that to a case where the branches open more, such as a = 3 and b = 4. Here c = 5.00, the eccentricity rises to 1.67, and the hyperbola calculator returns foci at (±5.00, 0), vertices at (±3.00, 0), asymptotes y = ±1.33x, and a latus rectum of 10.67. The larger gap between a and b widens the angle the branches make as they flare outward along their asymptotes.
Push the eccentricity higher and the branches open dramatically. A vertical hyperbola with a = 5 and b = 12 gives c = 13.00 and an eccentricity of 2.60. The asymptotes here are y = ±0.42x, and the latus rectum stretches to 57.60. Because the asymptotes of a horizontal hyperbola follow y = ±(b/a)x while those of a vertical hyperbola follow y = ±(a/b)x, swapping the roles of a and b changes the slope of the guide lines and therefore the whole visual character of the curve, even though the eccentricity formula e = c/a stays the same.
The dividing line between these tendencies is the rectangular hyperbola, where a = b. In that case the eccentricity is exactly √2 ≈ 1.41. This is the balanced middle ground: the branches are neither tightly pinched nor widely flared, and the asymptotes meet at a right angle. Hyperbolas describe everything from cooling-tower profiles to the paths of objects escaping a planet's gravity, so understanding where e falls relative to √2 helps you picture the shape before you plot a single point.
Asymptotes and the latus rectum
Asymptotes are the straight guide lines that a hyperbola's branches approach but never touch, no matter how far they extend. For a horizontal hyperbola, these lines follow the equations y = ±(b/a)x, passing through the center with slopes determined by the ratio of the semi-conjugate axis b to the semi-transverse axis a. When you enter a = 3 and b = 4 into a hyperbola calculator, the asymptotes come out as y = ±1.33x. For a vertical hyperbola, the roles reverse: the asymptotes are y = ±(a/b)x, reflecting the fact that the branches open along the vertical axis. The verified vertical example with a = 5 and b = 12 produces asymptotes of y = ±0.42x, much flatter than the horizontal case because a is small relative to b.
The latus rectum is the chord that passes through a focus and runs perpendicular to the transverse axis, with a length of 2b²/a. It provides a concrete measure of how wide each branch is at the level of the focus. For the horizontal example with a = 3 and b = 4, the latus rectum equals 2(16)/3, which rounds to 10.67. For the vertical example with a = 5 and b = 12, the latus rectum equals 2(144)/5, which rounds to 57.60. This chord length grows quickly when b is large relative to a, which helps explain why steep, narrow branches can still have substantial width at their focal points.
Eccentricity ties these features together. Defined as e = c/a, where c = √(a² + b²) is the focal distance, eccentricity is always greater than 1 for a hyperbola. When e sits close to 1, the branches are narrow and pointed, as the verified case with a = 8 and b = 6 confirms: c equals 10.00 and e equals 1.25. As e increases, the branches open more widely and the asymptotes fan outward. The horizontal example with a = 3 and b = 4 yields c = 5.00 and e = 1.67, while the vertical example with a = 5 and b = 12 yields c = 13.00 and e = 2.60.
A rectangular hyperbola represents the special boundary case where a equals b and the eccentricity is exactly √2, approximately 1.41. Its asymptotes are perpendicular to each other, forming a perfect cross through the center. Hyperbolas in general describe a wide range of real-world curves, from the profiles of cooling towers to the paths of objects escaping a planet's gravity, so understanding their asymptotes and latus rectum helps make sense of those applications.
- Horizontal asymptotes: y = ±(b/a)x — example with a = 3 and b = 4 gives y = ±1.33x
- Vertical asymptotes: y = ±(a/b)x — example with a = 5 and b = 12 gives y = ±0.42x
- Latus rectum length: 2b²/a — equals 10.67 for a = 3 and b = 4, and 57.60 for a = 5 and b = 12
- Eccentricity e = c/a is always greater than 1; values closer to 1 produce narrower, more pointed branches
Hyperbolas in the real world
Hyperbolas show up far more often in everyday life than most people realize. The classic example is the cooling tower at a power plant, whose inward-curving waist follows a hyperbolic profile. That shape is not just for looks — it helps air flow efficiently while keeping the structure strong. When you use a hyperbola calculator to model these curves, you can see how the two branches mirror each other and how the asymptotes set the overall direction of the sweep.
Another dramatic example appears overhead: the sonic boom from a supersonic jet. As an aircraft breaks the sound barrier, the shock wave spreads out along a cone, and where that cone meets the ground it traces a hyperbola. Everything inside that curve experiences the boom at nearly the same moment, which is why people sometimes call it a "sonic-boom carpet." The shape tightens or widens depending on the plane's speed and altitude, and the eccentricity tells you how stretched the carpet is. The closer the eccentricity is to 1, the narrower and more pointed the branches become.
Hyperbolas also power older navigation systems such as LORAN. A ship or plane receives radio signals from two fixed stations at slightly different times. Because radio waves travel at a known speed, that time difference translates into a distance difference, and every point sharing the same distance difference from two stations lies on a hyperbola. By comparing signals from a second pair of stations, the navigator gets a second hyperbola, and the crossing point of the two curves pinpoints the location.
Out in space, hyperbolas describe the paths of objects that are moving too fast to be captured by a planet's gravity. Unlike a closed ellipse, a hyperbolic orbit is unbound — the object swings past the planet once and never returns. A rectangular hyperbola, where the semi-transverse and semi-conjugate axes are equal, has an eccentricity of exactly √2, or about 1.41. Whether the curve is wide and gentle or narrow and sharp depends on the relationship between those axes and the foci, and a hyperbola calculator lets you explore each of these real-world shapes by simply entering the values for a and b.
FAQs
How do you find the foci of a hyperbola?
Compute c = √(a² + b²) and place the foci c units from the centre along the transverse axis. For example, when a = 3 and b = 4, c equals 5.00. This calculation gives you the exact distance from the center to each focus point along the transverse axis.
What is the eccentricity of a hyperbola?
Eccentricity is e = c/a, and it is always greater than 1 for a hyperbola. The verified examples give values of 1.67, 2.60, and 1.25. Because the eccentricity exceeds 1, the hyperbola is more open than a circle or ellipse, reflecting its distinct geometric shape.
What are the asymptotes of a hyperbola?
For a horizontal hyperbola, the asymptotes are y = ±(b/a)x. When a = 3 and b = 4, the asymptotes are y = ±1.33x. These straight lines show the path the hyperbola approaches but never reaches as it extends outward from the center.
What is the latus rectum of a hyperbola?
The latus rectum is the chord through a focus perpendicular to the transverse axis, with length 2b²/a. In the a = 3, b = 4 example, the length is 10.67. This chord provides a useful measure of the hyperbola's width at each focus point.
What is a rectangular hyperbola?
A rectangular hyperbola is one with a = b. Its eccentricity is exactly √2 ≈ 1.41, and its asymptotes are perpendicular to each other. Because a equals b, the two branches of the hyperbola have a symmetric, balanced shape that makes this form especially easy to identify.
How is a hyperbola different from an ellipse?
The hyperbola's defining difference of distances is constant and c² = a² + b², while the ellipse's sum is constant and c² = a² − b². This fundamental distinction in the distance relationship and the equation for c separates the two conic sections in both geometry and calculation.