Limit Calculator

Estimate the limit of a function as x approaches a value (from both sides, the left or the right) or infinity, with a table of values. Watch two points slide in toward a and the graph zoom with them, even where the function itself has a hole.

Use x, + − * / ^, parentheses, pi, e and sin, cos, tan, sqrt, abs, ln, log, exp. Type ∞ or inf for infinity.

Answer

lim x→a of sin(x)/x, a = 0

1

From the left1
From the right1
f(a) itselfundefined
xf(x)
−0.10.998334166
−0.010.999983333
−0.0010.999999833
−0.00010.999999998
−0.000011
0.10.998334166
0.010.999983333
0.0010.999999833
0.00010.999999998
0.000011

A numerical estimate from values close to a; it can be fooled by functions that change extremely fast. Check tricky cases algebraically.

Closing in on x = 0

0.644911.02a = 0−1.51.5f(a − h) = 0.9588511f(a + h) = 0.9588511h = 10.0001h = 0.5Close in ▸

The blue and orange points sit at a − h and a + h. Drag the red handle toward 0.0001 (or press Close in): the view zooms in with them and their values close in on the limit. An open circle marks a hole where f(a) is undefined.

Why this answer

  1. Approach, don’t arrive. A limit asks what f(x) gets close to as x gets close to a, ignoring the value at a itself (which may not exist).
  2. Both sides. The two-sided limit exists only if the left and right approaches agree: here 1 and 1.
  3. Estimate. Values at a ± 0.1, 0.01, … 0.0000001 settle down to 1 (refined by extrapolation).

Why it works

What is a limit?

0.238311.043a = 0−2.42.4f(a − h) = 0.8966951f(a + h) = 0.8966951h = 10.0001h = 0.8Close in ▸

Step 1 of 3

Sneak up on zero

f(x) = sin(x)/x can’t be computed at x = 0 (that’s 0/0). But we can get close. Drag the red handle to shrink h, the distance from 0. Now h = 0.8.
Shrink h to 0.001 or less.

Put it to use

Why limits matter

Limits are the foundation of calculus: a derivative is the limit of average rates of change over shorter and shorter intervals, and an integral is the limit of sums of thinner and thinner rectangles (see the Riemann Sum Calculator). They also describe long-run behavior, like compound interest approaching continuous growth: (1 + 1/n)ⁿ → e.

How it works

The limit calculator estimates the limit of a function f(x) as x approaches a value a, from both sides, from the left or right, or as x grows without bound.

It evaluates f at points ever closer to a (a ± 0.1, 0.01, … 0.0000001), checks that the values settle, refines the estimate by extrapolation, and compares the left and right sides. If they disagree, or the values keep oscillating, the limit does not exist; if they grow without bound, the limit is ±∞.

The limit describes where f is heading, not its value at a: functions like sin(x)/x have a limit at 0 even though they're undefined there.

lim f(x) as x → a = LTwo-sided limit exists ⇔ left limit = right limitlim sin x / x = 1 (x → 0)lim (1 + 1/x)ˣ = e (x → ∞)

Worked example: lim (x² − 1)/(x − 1) as x → 1

  1. At x = 1 it's 0/0: undefined.
  2. Factor: (x − 1)(x + 1)/(x − 1) = x + 1 for x ≠ 1.
  3. As x → 1, x + 1 → 2.
  4. The limit is 2 (a hole in the graph at (1, 2)).

Common mistakes

  • Assuming the limit equals f(a), which may be undefined or different.
  • Checking only one side.
  • Concluding a 0/0 form has no limit (it often does).
  • Trusting a numerical table blindly for functions that oscillate fast.

Frequently asked questions

What is a limit in calculus?

The value f(x) approaches as x gets closer and closer to a, whether or not f(a) exists.

When does a limit not exist?

When the left and right limits differ, when f oscillates without settling (like sin(1/x) at 0), or when it grows without bound in different directions.

What is a one-sided limit?

The limit as x approaches a only from values below a (left, x → a⁻) or above a (right, x → a⁺).

What is the limit of sin(x)/x as x approaches 0?

1.

What is a limit at infinity?

The value f(x) approaches as x grows without bound; for example (1 + 1/x)^x → e.