Hyperbola Calculator — Vertices, Foci & Asymptotes
AlgebraFreeNo sign-up
A hyperbola calculator reads a and b from the standard form and finds the rest with c² = a² + b². For x²/9 − y²/16 = 1, a = 3 and b = 4, so c = √(9 + 16) = 5. The vertices are (±3, 0), the foci are (±5, 0), the asymptotes are y = ±(4/3)x and the eccentricity is e = c/a = 5/3 ≈ 1.67.
Center (3, −2), a = 3, b = 4, c = 5
The hyperbola (x − 3)²/9 − (y + 2)²/16 = 1 has center (3, −2), a horizontal transverse axis, vertices (6, −2) and (0, −2), foci (8, −2) and (−2, −2) and asymptotes y + 2 = ±(4/3)(x − 3). Eccentricity e = 5/3 ≈ 1.67.
Key points
Asymptotes
Focus and graphing facts
Show steps
- Write the equation in general form with whole-number coefficients: 16x² − 9y² − 96x − 36y − 36 = 0. The x² and y² coefficients have opposite signs, so it is a hyperbola.
- Group the x terms and the y terms, factor out the squared coefficients and move the constant: 16(x² − 6x) − 9(y² + 4y) = 36.
- Complete each square. Half of −6 is −3; its square is 9, which adds 16 × 9 = 144 to the left side. Half of 4 is 2; its square is 4, which adds −9 × 4 = −36. Add the same amounts to the right side.
- Write each group as a square: 16(x − 3)² − 9(y + 2)² = 36 + 144 + (−36) = 144.
- Divide both sides by 144 to make the right side 1: (x − 3)²/9 − (y + 2)²/16 = 1. The center is (3, −2) (the signs inside the brackets flip).
- The positive term holds x, so the transverse axis is horizontal and the hyperbola opens left and right. The denominator under the positive term is a² = 9, so a = 3; the other denominator is b² = 16, so b = 4.
- For a hyperbola, c² = a² + b² (add, unlike an ellipse) = 9 + 16 = 25, so c = 5. Vertices are a units from the center along the transverse axis, foci are c units away, and co-vertices are b units away on the conjugate axis.
- Asymptotes pass through the center with slopes ±b/a = ±4/3 ≈ 1.33: y + 2 = ±(4/3)(x − 3), that is y = (4/3)x − 6 and y = −(4/3)x + 2.
- Eccentricity e = c/a = 5/3 ≈ 1.67. It is always greater than 1 for a hyperbola; larger values mean wider-opening branches.
- Latus rectum (the chord through a focus, perpendicular to the transverse axis) = 2b²/a = 32/3 ≈ 10.67. Directrices: x = 3 ± a²/c, so x = 24/5 and x = 6/5.
Check: for every point on the hyperbola, the distances to the two foci differ by exactly 2a = 6.
How to use the hyperbola calculator
- Choose what you know: an Equation in standard or general form, the Center, a & b with the direction the hyperbola opens, or two Vertices & a focus.
- Type the equation or the numbers. Fractions such as 9/4 and roots such as √10 or 2√5 work for a and b.
- Read the standard and general forms, center, a, b, c and eccentricity, then the vertices, co-vertices, foci, asymptote equations, latus rectum, directrices, intercepts, domain and range.
- Check the graph, which draws both branches, the asymptotes and the 2a-by-2b box, and open Show steps for the completing-the-square work and every formula with your numbers.
Key parts of a hyperbola
A hyperbola is the set of points whose distances to two fixed points, the foci, differ by the same amount, 2a. It has two separate branches. Its parts:
- Center (h, k): the midpoint between the vertices and between the foci.
- Vertices: the turning points of the two branches, a units from the center along the transverse axis.
- Co-vertices: b units from the center along the conjugate axis. They are not on the curve, but they set the slope of the asymptotes.
- Foci: c units from the center, with c² = a² + b². The foci lie outside the vertices.
- Asymptotes: two lines through the center that the branches approach but never touch.
- Eccentricity e = c/a: always greater than 1. The larger it is, the wider the branches open.
- Latus rectum (length 2b²/a) and directrices (lines at distance a²/c from the center, between the center and each vertex).
Hyperbola equation: standard form and general form
A hyperbola that opens left and right has standard form (x − h)²/a² − (y − k)²/b² = 1. One that opens up and down has (y − k)²/a² − (x − h)²/b² = 1. The positive term tells you the direction, and a² is always under it. Unlike an ellipse, a can be smaller than b.
Expanding and clearing fractions gives the general form Ax² + Cy² + Dx + Ey + F = 0, where A and C have opposite signs. Same signs mean an ellipse or circle, and a missing square term means a parabola.
| Property | Horizontal transverse axis | Vertical transverse axis |
|---|---|---|
| Vertices | (h ± a, k) | (h, k ± a) |
| Co-vertices | (h, k ± b) | (h ± b, k) |
| Foci | (h ± c, k) | (h, k ± c) |
| Asymptotes | y − k = ±(b/a)(x − h) | y − k = ±(a/b)(x − h) |
| Directrices | x = h ± a²/c | y = k ± a²/c |
| c and e | c² = a² + b², e = c/a | |
Worked example: general form to standard form
- Start with 16x² − 9y² − 96x − 36y − 36 = 0.
- Group and factor: 16(x² − 6x) − 9(y² + 4y) = 36.
- Complete the squares: (−3)² = 9 inside the x bracket adds 16 × 9 = 144; 2² = 4 inside the y bracket adds −9 × 4 = −36. So 16(x − 3)² − 9(y + 2)² = 36 + 144 − 36 = 144.
- Divide by 144: (x − 3)²/9 − (y + 2)²/16 = 1.
- The center is (3, −2), the x term is positive (opens left and right), a = 3, b = 4 and c = √(9 + 16) = 5.
The vertices are (6, −2) and (0, −2), and the foci are (8, −2) and (−2, −2). The asymptotes are y + 2 = ±(4/3)(x − 3), or y = (4/3)x − 6 and y = −(4/3)x + 2. The latus rectum is 2b²/a = 32/3 ≈ 10.67, and the directrices are x = 3 ± 9/5, that is x = 24/5 and x = 6/5.
Worked example: a vertical hyperbola
For y²/4 − x²/12 = 1 the y term is positive, so the hyperbola opens up and down with a² = 4 and b² = 12. Then a = 2, b = 2√3 and c = √(4 + 12) = 4. The vertices are (0, ±2), the foci are (0, ±4), the eccentricity is 4/2 = 2, and the asymptotes are y = ±(a/b)x = ±(√3/3)x.
Building the equation from vertices and a focus
With vertices (−3, 0) and (3, 0) and a focus at (5, 0), the center is the midpoint (0, 0), a = 3 and c = 5. For a hyperbola b² = c² − a² = 25 − 9 = 16, so the equation is x²/9 − y²/16 = 1. If the focus were between the vertices, c would be less than a and the shape would be an ellipse instead.
How to draw a hyperbola by hand
- Plot the center, then the vertices a units along the transverse axis and the co-vertices b units along the other axis.
- Draw the box through those four points; it is 2a by 2b.
- Draw the diagonals of the box extended in both directions. These are the asymptotes.
- Sketch each branch starting at a vertex and bending toward the asymptotes.
On a graphing calculator, solve for y: y = k ± b√((x − h)²/a² − 1) for a horizontal hyperbola, and enter the plus and minus versions as two functions.
Common mistakes with hyperbolas
- Subtracting for c. For a hyperbola c² = a² + b². Subtraction is the ellipse rule.
- Assuming a is the larger number. a² goes with the positive term, whatever its size.
- Swapping the asymptote slope. It is b/a when the hyperbola opens sideways and a/b when it opens up and down.
- Sign errors in the center. (x + 3)² means h = −3.
- Dividing by a negative right side and forgetting the swap. If completing the square gives a negative constant, dividing flips which term is positive, so the hyperbola opens the other way.
- Treating x² − y² = 0 as a hyperbola. With 0 on the right it is just the two asymptotes, y = x and y = −x.
Hyperbola practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
c² = a² + b² = 16 + 9 = 25, so c = 5. Subtracting (the ellipse rule) would give √7.
The positive term contains y, so the transverse axis is vertical and the branches open up and down.
c = √(36 + 64) = 10 and a = 6, so e = c/a = 10/6 = 5/3. A hyperbola always has e > 1.
Complete the square: 9(x + 2)² − 4(y − 1)² = 4 + 36 − 4 = 36, so the center is (−2, 1).
c = √(16 + 9) = 5 along the vertical axis, so the foci are (−2, 1 ± 5).
The x² and y² coefficients have opposite signs and the right side after completing the square is not 0. x² − y² = 0 is just two lines.
a = b = 2, so c = √8 = 2√2 and e = c/a = √2. Its asymptotes y = ±x are perpendicular.
Quiz complete
Frequently asked questions
What is the equation of a hyperbola?
In standard form, (x − h)²/a² − (y − k)²/b² = 1 for a hyperbola that opens left and right, or (y − k)²/a² − (x − h)²/b² = 1 for one that opens up and down. The center is (h, k).
How do you calculate a hyperbola?
Put the equation in standard form, read h, k, a and b, then find c = √(a² + b²). Everything else follows: vertices at distance a, foci at distance c, asymptote slopes ±b/a or ±a/b and e = c/a.
How do you calculate hyperbola foci?
Compute c = √(a² + b²) and move c units from the center along the transverse axis. For x²/9 − y²/16 = 1, c = 5 and the foci are (−5, 0) and (5, 0).
How do you calculate a hyperbola asymptote?
Use y − k = ±(b/a)(x − h) for a horizontal hyperbola or y − k = ±(a/b)(x − h) for a vertical one. For x²/9 − y²/16 = 1 the asymptotes are y = ±(4/3)x.
How do you find the eccentricity of a hyperbola?
Divide c by a. For a = 3 and c = 5, e = 5/3 ≈ 1.67. It is always greater than 1; when a = b (as in x² − y² = 1), e = √2 and the asymptotes are perpendicular.
How do you graph a hyperbola on a graphing calculator?
Solve the equation for y and enter both signs. For x²/9 − y²/16 = 1, enter y = 4√(x²/9 − 1) and y = −4√(x²/9 − 1), and add y = (4/3)x and y = −(4/3)x to see the asymptotes.
Related calculators
- Ellipse calculator
- Parabola calculator
- Circle equation calculator
- Completing the square calculator
- Distance and midpoint calculator
- Graphing calculator
More algebra calculators
Related to This Article
More math articles
- Using Strip Diagrams to Represent Fractions
- Free Grade 3 English Worksheets for Tennessee Students
- Direct lobbying
- Words for Clarity and Communication
- The Best Grade 4 ELA Practice Tests for Kentucky Students
- The Ultimate 6th Grade LEAP Math Course (+FREE Worksheets)
- Medical, Anatomical, Surgical, and Instrument Terminology
- Loyalists, Native Nations, Enslaved People and Women in the Revolution
- How to Find Experimental Probability?
- Arkansas ATLAS Grade 7 Math Worksheets: 95 Free Single-Skill PDFs with Step-by-Step Keys





What people say about "Hyperbola Calculator: Vertices, Foci, Asymptotes & Graph"?
No one replied yet.