MyInternships.in

Free online graphing tool

Hyperbola Graph Calculator — Plot x²/a² − y²/b² = 1

A hyperbola is the conic you get when the two squared terms are subtracted rather than added. Instead of a closed loop it has two separate branches, each racing away along a pair of straight asymptotes.

The graph below plots both branches of x²/a² − y²/b² = 1 along with the asymptotes y = ±(b/a)x, so you can see how the curve hugs those lines without ever touching them.

Key points of y = 3 sqrt(x^2/16 - 1) inside the visible window (-12 ≤ x ≤ 12). Pan or zoom to search a different range.

Roots (x-intercepts)

  • x = 4

y-intercept

x = 0 is outside the window

Turning points

No maximum or minimum here

Intersections

  • (-4, 0)

Enter a value of x

This curve is undefined somewhere in the window — gaps in the line are intentional.

What is a hyperbola graph calculator?

A hyperbola graph calculator plots x²/a² − y²/b² = 1 as two separate branches. The vertices are at (±a, 0), the asymptotes are the straight lines y = ±(b/a)x, and the foci sit at (±c, 0) with c = √(a² + b²). Unlike an ellipse, a hyperbola is unbounded and its eccentricity is always greater than 1.

Key facts at a glance

Standard equationx²/a² − y²/b² = 1 (opens left and right)
Vertical formy²/b² − x²/a² = 1 (opens up and down)
Vertices(±a, 0)
Asymptotesy = ±(b/a)x
Foci(±c, 0) with c = √(a² + b²)
Eccentricitye = c/a, always greater than 1
Rectangular hyperbolaxy = k, which is y = k/x — asymptotes are the axes
Defining propertyThe two distances to the foci always differ by 2a

How to plot hyperbola graphs — step by step

  1. 1

    Plot both branches

    Use y = b sqrt(x^2/a^2 - 1) and its negative. The square root is undefined for |x| < a, which is exactly why the middle gap appears.

  2. 2

    Add the asymptotes

    Plot y = (b/a)x and y = -(b/a)x as straight lines. The branches approach them but never touch.

  3. 3

    Read the vertices

    They are the innermost points of each branch, at (±a, 0) — here (±4, 0).

  4. 4

    Try the rectangular form

    Type y = 1/x. This is the hyperbola xy = 1, rotated 45°, with the coordinate axes as its asymptotes.

Hyperbola examples you can plot right now

Copy any equation into the calculator above, or open it in the full calculator with one click.

Right and left branches

y = 3 sqrt(x^2/16 - 1)

Upper halves of both branches; vertices at (±4, 0).

Plot this →

Lower halves

y = -3 sqrt(x^2/16 - 1)

Add to the above to complete the hyperbola.

Plot this →

Asymptote

y = 0.75x

b/a = 3/4, so this line and its mirror bound the curve.

Plot this →

Rectangular hyperbola

y = 1/x

The simplest hyperbola of all, with the axes as asymptotes.

Plot this →

Vertical hyperbola

y = 3 sqrt(1 + x^2/16)

Opens upwards and downwards instead of sideways.

Plot this →

Understanding the hyperbola graph

Why the middle is empty
For |x| < a the expression under the square root is negative, so no real y exists. That gap between the vertices is a genuine feature of the curve, not a drawing error.
Asymptotes come from dropping the 1
For very large x, x²/a² − y²/b² = 1 is almost x²/a² = y²/b², which rearranges to y = ±(b/a)x. That is why the branches settle onto those lines.
Ellipse vs hyperbola
An ellipse adds the distances to the two foci; a hyperbola takes their difference. One sign change turns a closed loop into two unbounded branches.

Hyperbola graph — frequently asked questions

How do I graph a hyperbola online?

Plot the two halves as square roots: y = b sqrt(x^2/a^2 - 1) and its negative. Both are loaded above, together with the two asymptotes.

What are the asymptotes of a hyperbola?

For x²/a² − y²/b² = 1 they are the straight lines y = (b/a)x and y = −(b/a)x. Plotting them alongside the curve makes the shape far easier to sketch by hand.

Why is there a gap between the two branches?

Because for |x| < a the square root has a negative argument, so no real point exists there. The vertices at (±a, 0) mark the edges of that gap.

What is a rectangular hyperbola?

One whose asymptotes are perpendicular, like xy = k. Written as y = k/x it is the familiar reciprocal graph, with the coordinate axes as its asymptotes.

How do I find the foci of a hyperbola?

Use c = √(a² + b²) — note the plus, unlike the ellipse. For a = 4 and b = 3 that gives c = 5, so the foci are at (±5, 0).

How do I plot a hyperbola that opens up and down?

Use the vertical form: y = b sqrt(1 + x^2/a^2) and its negative. The branches then open upwards and downwards rather than left and right.

Every graph type

Hiring engineering or analytics talent in India?

MyInternships.in connects 1,20,000+ students and freshers — from IITs, NITs, IIITs and every major engineering and commerce college in India — with 5,000+ companies. Post an internship or fresher role in minutes, screen candidates by skill, campus and graduation year, and hire without any commission.

Free to use, no signup. Part of the MyInternships.in free tools for students.