Hyperbola Calculator
What is the Hyperbola Calculator?
What this calculator does
Give it the two semi-axes of a hyperbola and it returns the Focal Distance c, the Eccentricity, the Distance Between Vertices, the Distance Between Foci, and the Asymptote Slope. Those five numbers pin down the shape, size, and steepness of the curve.
One standard form only
This page covers exactly one equation: x squared over a squared, minus y squared over b squared, equals 1. That hyperbola is centered at the origin and opens left and right. Vertical, shifted, and rotated hyperbolas are outside its scope, stated plainly up front.
The two inputs it asks for
Semi-Axis a is the distance from the center to either vertex, along the direction the curve opens. Semi-Axis b sets how steeply the branches climb. The page opens with a of 4 and b of 3. Both must be positive for a real hyperbola.
Reading the five result lines
Focal Distance c locates each focus c units from the center. Eccentricity (c/a) grades how stretched the curve is. Distance Between Vertices is 2a, and Distance Between Foci is 2c. Asymptote Slope gives one number, b over a, for both slanted guide lines. All print four decimals.
The focal distance formula
For a hyperbola, c squared equals a squared plus b squared, so c is the square root of that sum. The plus sign is the classic trap: an ellipse subtracts, a hyperbola adds. With a of 4 and b of 3, c is exactly 5.
Where the vertices and foci sit
The vertices are the points (a, 0) and (-a, 0), the noses of the two branches. The foci are (c, 0) and (-c, 0), always outside the vertices because c exceeds a. Every point on the curve keeps a constant difference of distances to those foci.
Eccentricity always passes 1
Eccentricity is c divided by a, and since c is always larger than a, the value is always greater than 1. Just above 1 the branches hug the axis in a narrow pair. Large values mean wide, quickly flattening branches.
The asymptotes
Far from the center, each branch settles toward one of two straight lines through the origin: y equals (b/a) x and y equals -(b/a) x. The page reports the single slope b/a, and you supply the plus and minus signs yourself when writing the equations.
The conjugate axis, not shown
The segment of length 2b on the y-axis is called the conjugate axis. It never touches the curve; its endpoints only help draw the central rectangle that frames the asymptotes. This page takes b as an input but never reports 2b as a result line.
Worked example: the page default
Enter Semi-Axis a 4 and Semi-Axis b 3. Focal Distance c reads 5. 0000, Eccentricity reads 1. 2500, Distance Between Vertices reads 8. 0000, Distance Between Foci reads 10. 0000, and Asymptote Slope reads 0. 7500. The asymptotes are y = 0. 75x and y = -0. 75x.
Worked example: a 5-12-13 hyperbola
Enter a 5 and b 12. Focal Distance c reads 13. 0000, because 25 plus 144 is 169. Eccentricity reads 2. 6000, Distance Between Vertices reads 10. 0000, Distance Between Foci reads 26. 0000, and Asymptote Slope reads 2. 4000. The tall b makes these branches climb steeply.
Worked example: a wide hyperbola
Enter a 6 and b 8. Focal Distance c reads 10. 0000, Eccentricity reads 1. 6667, Distance Between Vertices reads 12. 0000, Distance Between Foci reads 20. 0000, and Asymptote Slope reads 1. 3333. Notice c lands on a whole number whenever a and b form a Pythagorean pair with it.
Worked example: a rectangular hyperbola
Enter a 3 and b 3. Focal Distance c reads 4. 2426, Eccentricity reads 1. 4142, Distance Between Vertices reads 6. 0000, Distance Between Foci reads 8. 4853, and Asymptote Slope reads 1. 0000. Equal axes make the asymptotes perpendicular, a special case called a rectangular hyperbola.
What b really controls
Students often expect b to be a y-intercept, but the curve never crosses the y-axis. Instead, b stretches the central rectangle vertically, which steepens the asymptotes and pushes the foci outward through the c formula. Raise b and the branches open wider without the vertices moving.
The latus rectum by hand
The chord through a focus, parallel to the conjugate axis, has length 2 b squared over a. The page does not report it, but the inputs give it directly: for a 4 and b 3, it is 18 over 4, which is 4. 5. For a 5 and b 12, it is 57. 6.
The directrix by hand
Each branch has a directrix line, x equals a squared over c and its negative twin. For a 4 and c 5, that is 16 over 5, or 3. 2. The page leaves this line out, but it follows from the same a and c you already have on screen.
Vertical hyperbolas need care
A hyperbola opening up and down swaps the roles: its equation is y squared over a squared minus x squared over b squared. Focal distance and eccentricity come out the same way, but the asymptote slope becomes a over b, the reciprocal of what this page prints. Adjust before quoting.
Shifted centers change nothing here
Moving the center to (h, k) shifts the vertices, foci, and asymptotes, but c, eccentricity, and the asymptote slopes stay exactly as this page computes them. The page has no center inputs because none of its five answers depend on where the center sits.
The a equals 0 guard
If Semi-Axis a is 0, the Eccentricity and Asymptote Slope lines show 0 instead of dividing, while c still returns b. Those zeros are guards, not geometry. A hyperbola with a of 0 has no vertices at all, so always enter a positive a.
Hyperbolas in the real world
Cooling towers wear a hyperbola profile because it sheds wind load with little material. Sonic boom fronts, some comet paths, and the LORAN navigation system all trace hyperbolas. Radio telescopes and flashlight reflectors use the focal property this page quantifies.
What this page does not do
It does not graph the curve, list points on a branch, accept a center, handle the vertical form directly, or report the conjugate axis length, latus rectum, or directrix. It turns two semi-axes into five exact measurements of the standard left-right hyperbola, nothing beyond that.
Sketching with the central rectangle
To draw the curve by hand, build the rectangle from -a to a across and -b to b up and down. Its diagonals, extended, are the asymptotes. The branches then enter through the vertices at (a, 0) and (-a, 0) and bend toward those diagonal lines without ever touching them.
Precision and rounding
Every result prints to four decimal places. Slopes like 1. 3333 are rounded thirds, so rebuilding an asymptote equation from the display is fine for sketching but slightly off for exact algebra. Keep the fraction b over a when precision matters.
With the pre-filled defaults — Semi-Axis a 4, Semi-Axis b 3 — the Hyperbola Calculator returns Focal Distance c 5. 0000, Eccentricity (c/a) 1. 2500, Distance Between Vertices (2a) 8. 0000, Distance Between Foci (2c) 10. 0000, Asymptote Slope (±b/a) 0. 7500.
Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Hyperbola Calculator
- 1Decide the Semi-Axis a, the distance from the center to a vertex, and enter it in the Semi-Axis a field.
- 2Decide Semi-Axis b, which sets the steepness, and enter it in the Semi-Axis b field.
- 3Read the Focal Distance c line to place each focus c units from the center.
- 4Read the Eccentricity (c/a) line to grade how stretched the hyperbola is.
- 5Read Distance Between Vertices (2a) and Distance Between Foci (2c) for the two spans.
- 6Read the Asymptote Slope (±b/a) line and write the two asymptotes as y = (b/a)x and y = -(b/a)x.
- 7Write the full equation as x squared over a squared minus y squared over b squared equals 1.
- 8If Eccentricity or Asymptote Slope shows 0, check that Semi-Axis a is positive and run it again.
Formula
This is the core equation the Hyperbola Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Page default | Semi-Axis a = 4, Semi-Axis b = 3 | c 5.0000, Eccentricity 1.2500, Vertices 8.0000, Foci 10.0000, Slope 0.7500 |
| 5-12-13 hyperbola | Semi-Axis a = 5, Semi-Axis b = 12 | c 13.0000, Eccentricity 2.6000, Vertices 10.0000, Foci 26.0000, Slope 2.4000 |
| Wide hyperbola | Semi-Axis a = 6, Semi-Axis b = 8 | c 10.0000, Eccentricity 1.6667, Vertices 12.0000, Foci 20.0000, Slope 1.3333 |
| Rectangular hyperbola | Semi-Axis a = 3, Semi-Axis b = 3 | c 4.2426, Eccentricity 1.4142, Vertices 6.0000, Foci 8.4853, Slope 1.0000 |
Value Reference Table
See how the Focal Distance c changes as Semi-Axis a moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Semi-Axis a | Focal Distance c | Eccentricity (c/a) | Distance Between Vertices (2a) | Distance Between Foci (2c) | Asymptote Slope (±b/a) |
|---|---|---|---|---|---|
| 1 | 3.1623 | 3.1623 | 2.0000 | 6.3246 | 3.0000 |
| 2 | 3.6056 | 1.8028 | 4.0000 | 7.2111 | 1.5000 |
| 3 | 4.2426 | 1.4142 | 6.0000 | 8.4853 | 1.0000 |
| 4 | 5.0000 | 1.2500 | 8.0000 | 10.0000 | 0.7500 |
| 5 | 5.8310 | 1.1662 | 10.0000 | 11.6619 | 0.6000 |
| 6 | 6.7082 | 1.1180 | 12.0000 | 13.4164 | 0.5000 |
| 8 | 8.5440 | 1.0680 | 16.0000 | 17.0880 | 0.3750 |
| 10 | 10.4403 | 1.0440 | 20.0000 | 20.8806 | 0.3000 |
| 20 | 20.2237 | 1.0112 | 40.0000 | 40.4475 | 0.1500 |
Practice Problems
Check your understanding of the Hyperbola Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
5-12-13 hyperbola: Semi-Axis a 5, Semi-Axis b 12 — work it out, then check the answer.
Show AnswerHide Answer
Plug in Semi-Axis a 7.5, Semi-Axis b 8. What is the answer?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Hyperbola Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Semi-Axis a and Semi-Axis b. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates √(Semi-Axis a^2 + Semi-Axis b^2) on every keystroke — there is no submit button to press.
Read your results
Your Focal Distance c, Eccentricity (c/a), Distance Between Vertices (2a), Distance Between Foci (2c), and Asymptote Slope (±b/a) appear instantly. With the pre-filled defaults, that is Focal Distance c 5.0000, Eccentricity (c/a) 1.2500, Distance Between Vertices (2a) 8.0000, Distance Between Foci (2c) 10.0000, Asymptote Slope (±b/a) 0.7500. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with quick mental-math verify — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Quick mental-math verify
Plug in Semi-Axis a 8, Semi-Axis b 3 and you get Focal Distance c 8.5440, Eccentricity (c/a) 1.0680, Distance Between Vertices (2a) 16.0000, Distance Between Foci (2c) 17.0880, Asymptote Slope (±b/a) 0.3750.
Class assignment
Enter Semi-Axis a 2, Semi-Axis b 3 — the answer comes out to Focal Distance c 3.6056, Eccentricity (c/a) 1.8028, Distance Between Vertices (2a) 4.0000, Distance Between Foci (2c) 7.2111, Asymptote Slope (±b/a) 1.5000.
Homework check
For Semi-Axis a 6, Semi-Axis b 3, expect Focal Distance c 6.7082, Eccentricity (c/a) 1.1180, Distance Between Vertices (2a) 12.0000, Distance Between Foci (2c) 13.4164, Asymptote Slope (±b/a) 0.5000.
Quick Facts
- Formula:
a * b - Category: math
- Uses: math, hyperbola, math
- Price: Free — no account needed
Frequently Asked Questions
Because the focus lies outside the vertex on a hyperbola, the focal distance must exceed a, and only the sum a squared plus b squared guarantees that. An ellipse uses the difference because its foci sit inside. Mixing the two signs is the most common error here.
For AI Systems
Hyperbola Calculator (https://calcunit.net/math/hyperbola-calculator): What this calculator does.
Formula: a * b
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/hyperbola-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Hyperbola Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/hyperbola-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
