Limit Calc
Compute limits of functions as x approaches any value. Evaluate left-hand, right-hand, and two-sided limits with approach tables.
Use x as the variable. Supports + - * / ^, implicit products (3x, 2(x+1)), sin cos tan asin acos atan sinh cosh tanh exp ln log (base 10) sqrt abs, and the constants pi and e (Euler's number). Example: (x^2-4)/(x-2) or sin(pi*x)/x.
The finite value that x approaches. The limit is estimated numerically near this point.
Whether to approach from the left, right, or both sides. "Both sides" checks if left and right limits agree.
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
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)
- Function — The mathematical expression whose limit is being evaluated.
- a
- Approach point — The value that the variable x approaches.
- L
- Limit value — The value that f(x) approaches as x → a, if it exists.
- ε (epsilon)
- Tolerance — An arbitrarily small positive number representing how close f(x) must get to L.
- δ (delta)
- Distance — The maximum distance from a that still guarantees f(x) is within ε of L.
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.
How to Use
- 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).
- Enter the approach value a — the number that x gets close to. This can be any real number.
- Select the direction: "Both sides" checks agreement from left and right; "Left" only approaches from below; "Right" only approaches from above.
- The calculator samples f at x = a ± 0.1, 0.05, 0.025, ... (down to about 10⁻⁸ from a) and extrapolates the sequence to the limit (Richardson and Aitken extrapolation), so cancellation near the point does not distort the answer. A short table of f near a is shown as well.
- For "Both sides", the limit exists only when the left and right limits agree (two equal finite values, or both ∞ / both −∞). The result also reports whether f is continuous at a (limit = f(a)).
Quick Reference
| lim(x→0) sin(x)/x | 1 |
| lim(x→2) (x²−4)/(x−2) | 4 |
| lim(x→0) (cos(x)−1)/x | 0 |
Frequently Asked Questions
- What is the limit of sin(x)/x as x approaches 0?
- The limit is 1, even though sin(x)/x is undefined at x = 0 itself (it gives 0/0). This is one of the most important limits in calculus — it's the basis for proving that the derivative of sin(x) is cos(x). You can verify it numerically: as x shrinks toward 0 (0.1, 0.01, 0.001, ...), sin(x)/x gets closer and closer to 1 from both sides. Try entering sin(x)/x with approach value 0 above to see the approach table converge.
- 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?
- It is a numerical estimate, not a symbolic proof. The sample sequence is extrapolated to the limit and the answer is rounded to 10 significant digits (and snapped to 0 or a whole number when it is within the estimated error), so smooth functions are usually accurate to 7+ digits. Limits that diverge are reported as ∞ or −∞, and functions that do not settle (like sin(1/x) near 0) are reported as not existing. Functions with very sharp features closer than 0.1 to the point may need a symbolic technique.
- 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.
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
Cite this calculator
TheCalcUniverse. "Limit Calculator — Evaluate Limits Step by Step." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/limit-calculator/. Accessed October 25, 2026.
Embed this calculator on your site
You may also like
-
Mathematics
Derivative Calc
Compute derivatives of polynomial expressions using the power rule. Get step-by-step differentiation and evaluate at any point.
Open calculator → -
Mathematics
Integral Calc
Calculate definite integrals numerically using Simpsons rule with step-by-step formula breakdown. Supports polynomial, trig, and exponential functions.
Open calculator → -
Mathematics
Taylor Series
Compute Taylor series of common functions like e^x, sin(x), cos(x) around any center point. Adjust the expansion order for accurate polynomial approximation.
Open calculator → -
Mathematics
Series Sum
Sum mathematical series from any start to end value. Supports expressions with n, exponents, and common mathematical functions.
Open calculator → -
Mathematics
Factoring Calc
Factor quadratic polynomials (ax² + bx + c) into their factored form with step-by-step work. Find the factors and zeros of any quadratic expression.
Open calculator →