Skip to content
TheCalcUniverse

Limit Calculator — Evaluate Limits with Step-by-Step

Compute limits of functions as x approaches any value. Evaluate left-hand, right-hand, and two-sided limits with approach tables.

✓ Tested formula & cited sources Formula verified 2026-01-15 Runs in your browser — inputs never sent anywhere

The formula

lim_{x→a} f(x) = L means: for any ε > 0, there exists δ > 0 such that 0 < |x − a| < δ ⇒ |f(x) − L| < ε

f(x)
Function
a
Approach point
L
Limit value
ε (epsilon)
Tolerance
δ (delta)
Distance
Full explanation ↓

How Limit Calc Works

lim_{x→a} f(x) = L means: for any ε > 0, there exists δ > 0 such that 0 < |x − a| < δ ⇒ |f(x) − L| < ε

The limit of a function describes the value that f(x) approaches as x gets arbitrarily close to a given point a. The formal ε-δ definition states that for any desired tolerance ε > 0, there exists a distance δ > 0 such that whenever x is within δ of a (but not equal to a), f(x) is within ε of L. A limit exists if and only if both the left-hand limit (x → a⁻) and right-hand limit (x → a⁺) exist and are equal.

f(x)
FunctionThe mathematical expression whose limit is being evaluated.
a
Approach pointThe value that the variable x approaches.
L
Limit valueThe value that f(x) approaches as x → a, if it exists.
ε (epsilon)
ToleranceAn arbitrarily small positive number representing how close f(x) must get to L.
δ (delta)
DistanceThe maximum distance from a that still guarantees f(x) is within ε of L.
The limit of f(x) as x approaches a exists if and only if the left-hand and right-hand limits both exist and are equal.

How to Use

  1. Enter a function f(x) using x as the variable. Use ^ for powers, sin(), cos(), tan(), sqrt(), pi for π, and e for Euler's number (≈ 2.71828).
  2. Enter the approach value a — the number that x gets close to. This can be any real number.
  3. Select the direction: "Both sides" checks agreement from left and right; "Left" only approaches from below; "Right" only approaches from above.
  4. The calculator evaluates f(x) at points increasingly close to a (steps: 0.1, 0.01, ..., 10⁻⁸), showing the approach sequence in the results.
  5. For "Both sides", the result also reports whether the limit exists (left ≈ right) and thus whether the function is continuous at a.

Quick Reference

lim(x→0) sin(x)/x1
lim(x→2) (x²−4)/(x−2)4
lim(x→0) (cos(x)−1)/x0
lim(x→∞) 1/x0 (numerical: approaches 0)

Common Uses

  • Analyzing function behavior near points where the function is undefined (removable singularities)
  • Determining continuity and differentiability of functions in calculus coursework
  • Computing derivatives using the limit definition: f'(x) = lim_(h→0) (f(x+h) − f(x)) / h
  • Evaluating asymptotic behavior of functions in physics and engineering applications
  • Understanding convergence of sequences and series in advanced mathematics

Understanding the Result

The concept of a limit is the foundation of all calculus. Intuitively, the limit asks: what value does f(x) get close to as x gets close to a? The function need not be defined at x = a — in fact, limits are most interesting precisely when the function is undefined at that point (e.g., sin(x)/x at x = 0). This calculator uses a numerical approach: it evaluates the function at a sequence of x-values that approach a from both sides, with incrementally smaller step sizes (0.1, 0.01, 0.001, ..., down to 10⁻⁸). By observing the trend as the step size shrinks, the calculator estimates the limit. For "removable" discontinuities (where the function has a hole but the limit exists), the left and right approaches converge to the same value. For "jump" discontinuities, they converge to different values. For "infinite" discontinuities (vertical asymptotes), the function values diverge to ±∞. A function is continuous at a if f(a) equals the limit — meaning no hole, jump, or asymptote. The formal ε-δ definition provides the rigorous mathematical foundation: for any ε > 0 (no matter how small), there must exist a δ > 0 such that whenever x is within δ of a (but not equal to a), f(x) is within ε of L. This definition captures the idea of "arbitrarily close" with mathematical precision and underlies all of limit theory, including the crucial limit laws: the limit of a sum is the sum of the limits, the limit of a product is the product of the limits, and so on — provided each individual limit exists.

Frequently Asked Questions

What does it mean for a limit to exist?
A limit exists if and only if the left-hand limit (x → a⁻) and the right-hand limit (x → a⁺) both exist and are equal. If they differ, the two-sided limit does not exist — the function has a jump discontinuity at that point. If either side diverges to infinity, the limit does not exist in the finite sense.
How is limit related to continuity?
A function is continuous at x = a when three conditions hold: f(a) is defined, the limit as x → a exists, and the limit equals f(a). In other words, there is no hole, jump, or asymptote at a. All polynomial functions are continuous everywhere; rational functions are continuous everywhere except where the denominator is zero.
Why can't we just plug in x = a directly?
Sometimes we can! If f is continuous at a, then the limit equals f(a). But many important limits involve indeterminate forms like 0/0 or ∞/∞ where direct substitution fails. For example, (x² − 1)/(x − 1) at x = 1 gives 0/0, but the limit is 2. Factoring, rationalizing, or using L'Hôpital's rule resolves these cases.
How accurate is this numerical limit calculator?
The calculator evaluates at step sizes down to 10⁻⁸ from the target. For well-behaved functions, the computed limit should match the true limit to at least 6 decimal places. However, functions that oscillate rapidly near the approach point (like sin(1/x) near 0) or have very steep slopes may require special analytical techniques beyond numerical sampling.
What do the approach table values tell me?
The approach table shows the sequence of f(x) values as x gets progressively closer to a. Watching this sequence converge to a stable number is the most intuitive way to understand limits. If the values bounce around erratically or diverge, the limit likely does not exist at that point.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Limit Calculator — Evaluate Limits with Step-by-Step." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/limit-calculator/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like