Evaluate Limits of Functions
Last reviewed: April 2026
A limit calculator evaluates the limit of a mathematical function as the input approaches a specified value. It handles standard limits, indeterminate forms (like 0/0), one-sided limits, and limits at infinity — a foundational concept in calculus.
A limit describes the value a function approaches as the input gets close to a specific value. Written lim x\u2192a f(x) = L, limits are the foundation of calculus. This calculator uses numerical approximation, evaluating the function at increasingly close values from both sides. For integration, see our Integral Calculator, and for derivatives, our Derivative Calculator.
A limit does not exist if the function approaches different values from left and right, oscillates infinitely near the point, or approaches infinity without agreement from both sides. For example, lim x\u21920 of 1/x does not exist because it goes to +\u221e from the right and -\u221e from the left. This calculator checks both sides numerically.
When direct substitution gives 0/0 or \u221e/\u221e, the limit may still exist. L'Hopital's Rule resolves these by differentiating numerator and denominator separately. The classic example: lim x\u21921 of (x\u00b2-1)/(x-1) = 2, found by factoring. Try it in the calculator! For equation solving, see our Equation Solver.
| Limit Expression | Value | Type |
|---|---|---|
| lim(x→0) sin(x)/x | 1 | Indeterminate 0/0 |
| lim(x→∞) (1+1/x)ˣ | e ≈ 2.718 | Indeterminate 1^∞ |
| lim(x→0) (eˣ-1)/x | 1 | Indeterminate 0/0 |
| lim(x→∞) 1/x | 0 | Standard |
| lim(x→0⁺) ln(x) | -∞ | Unbounded |
Calculus uses several types of limits, each with its own notation and interpretation. A two-sided limit, written lim f(x) as x approaches a, requires f(x) to approach the same value from both sides. Left-hand limits (x approaches a from below) and right-hand limits (x approaches a from above) allow analysis from one direction only. Limits at infinity describe the long-run behavior of a function, revealing horizontal asymptotes. Infinite limits describe what happens when the output grows without bound, indicating vertical asymptotes. Each type plays a specific role in understanding function behavior.
Epsilon-delta definitions formalize the concept: lim f(x) = L means for every positive epsilon there exists a positive delta such that whenever the distance from x to a is less than delta, the distance from f(x) to L is less than epsilon. While this rigorous definition rarely appears in practical computation, it forms the logical foundation on which all of calculus rests. The numerical approach used by this calculator approximates this process by evaluating the function at points progressively closer to the target value.
Limit laws provide a systematic toolkit for evaluating complex limits by breaking them into simpler pieces. The sum law states that the limit of a sum equals the sum of the limits, provided both limits exist. The product law says the limit of a product is the product of the limits. The quotient law divides limits, provided the denominator limit is not zero. The power law raises a limit to a constant exponent. The constant multiple law pulls constants outside the limit operation.
These laws apply only when the individual limits exist as finite numbers. When they lead to indeterminate forms like 0/0, infinity minus infinity, or 0 times infinity, alternative techniques are needed. Factoring and cancellation work for many polynomial expressions. Rationalization handles expressions involving square roots. The squeeze theorem bounds a function between two simpler ones whose limits are known. L'Hopital's Rule applies specifically to 0/0 and infinity/infinity forms by differentiating the numerator and denominator. For derivatives themselves, see our Derivative Calculator.
Limits appear throughout science and engineering, often without being called by name. In physics, instantaneous velocity is the limit of average velocity as the time interval shrinks to zero. In economics, marginal cost is the limit of the change in total cost divided by the change in quantity. In computer science, algorithm complexity analysis uses limits to describe behavior as input size grows toward infinity. Population models use limits to find carrying capacity, the population level a species approaches as time grows.
| Application | Limit Expression | What It Represents |
|---|---|---|
| Instantaneous velocity | lim (delta t to 0) delta s / delta t | Speed at a single moment |
| Marginal cost | lim (delta q to 0) delta C / delta q | Cost of one more unit |
| Compound interest | lim (n to infinity) (1 + r/n)^(nt) | Continuous compounding |
| Population growth | lim (t to infinity) K / (1 + e^(-rt)) | Carrying capacity K |
| Signal processing | lim (T to infinity) integral over T | Average signal power |
A function is continuous at a point when three conditions hold: the function is defined at that point, the limit exists at that point, and the limit equals the function value. When any condition fails, the function has a discontinuity. Removable discontinuities occur when the limit exists but the function is either undefined or has a different value at the point. Jump discontinuities occur when left and right limits exist but disagree. Infinite discontinuities arise when at least one side approaches infinity.
The intermediate value theorem, one of the most powerful results in calculus, relies on continuity. It guarantees that a continuous function on a closed interval takes every value between its endpoints. This theorem proves that equations have solutions, that temperature must be equal at two antipodal points on Earth, and that a table can be stabilized by rotating it on an uneven floor. Continuity transforms limits from abstract theory into a practical analytical tool. Explore related mathematical foundations with our Statistics Calculator and Probability Calculator.
Limits extend naturally to sequences and series. A sequence converges if its terms approach a finite limit as the index grows without bound; otherwise it diverges. The sequence 1/n converges to 0, while the sequence (-1)^n oscillates between -1 and 1 and diverges. An infinite series is the limit of partial sums: the sum 1 + 1/2 + 1/4 + 1/8 ... converges to 2 because each partial sum gets closer to 2 without exceeding it. The harmonic series 1 + 1/2 + 1/3 + 1/4 ... diverges despite its terms approaching zero, a result that surprises many students encountering it for the first time.
Convergence tests help determine whether a series converges without computing the actual sum. The ratio test compares consecutive terms: if the ratio approaches a value less than 1, the series converges. The comparison test bounds the series against a known convergent or divergent series. The integral test connects series convergence to the convergence of an associated improper integral. These techniques are essential in Taylor series analysis, Fourier series, and numerical methods throughout science and engineering. Try computing specific values with our Integral Calculator and explore related combinatorial math with our Combination Calculator.
Asymptotes describe the long-range behavior of functions through limits. A horizontal asymptote at y = L means lim f(x) as x approaches infinity equals L. Rational functions have horizontal asymptotes determined by comparing the degrees of numerator and denominator: same degree gives the ratio of leading coefficients, lower numerator degree gives zero, higher numerator degree means no horizontal asymptote. Vertical asymptotes occur where the denominator equals zero and the function grows without bound. Oblique (slant) asymptotes arise when the numerator degree is exactly one more than the denominator degree, found by polynomial long division. Identifying asymptotes is essential for sketching accurate graphs and understanding function behavior across their entire domain.
Limits have practical applications far beyond abstract mathematics. In physics, instantaneous velocity is defined as the limit of average velocity as the time interval approaches zero — this is precisely the derivative, which is itself defined using limits. In economics, marginal cost and marginal revenue are limits that describe the cost or revenue change from producing one additional unit, foundational to optimal pricing and production decisions. In computer science, algorithm analysis uses limits to classify time complexity — Big-O notation describes the limiting behavior of a function as input size grows toward infinity. In engineering, control theory uses limits to analyze system stability — a system is stable if its output approaches a finite limit as time goes to infinity. In probability, the Central Limit Theorem states that the distribution of sample means approaches a normal distribution as sample size approaches infinity, regardless of the underlying population distribution.
See also: Binomial Probability Calculator · Pythagorean Theorem Calculator · Significant Figures Calculator · Triangle Calculator · Logarithm Calculator
→ A limit describes where a function is heading, not where it is. f(x) = (x²-1)/(x-1) is undefined at x=1, but its limit as x→1 is 2. The function approaches 2 from both sides without ever equaling it at x=1. This distinction — approaching vs. arriving — is the foundation of calculus.
→ Indeterminate forms (0/0, ∞/∞) require algebraic simplification or L'Hôpital's Rule. If direct substitution gives 0/0, try factoring, rationalizing, or applying L'Hôpital's Rule (take the derivative of numerator and denominator separately). The indeterminate form doesn't mean the limit doesn't exist — it means more work is needed to find it.
→ One-sided limits reveal asymptotes and discontinuities. If lim(x→a⁻) = -∞ and lim(x→a⁺) = +∞, there's a vertical asymptote at x=a. If the two one-sided limits exist but differ, there's a jump discontinuity. Both pieces of information are essential for graphing. Try related math with our Derivative Calculator.
→ Squeeze theorem handles tricky oscillating functions. If g(x) ≤ f(x) ≤ h(x) near a point and lim g(x) = lim h(x) = L, then lim f(x) = L too. The classic example: lim(x→0) x·sin(1/x) = 0 because -|x| ≤ x·sin(1/x) ≤ |x| and both bounds approach 0.
See also: Derivative Calculator · Equation Solver · Probability Calculator · Scientific Notation Calculator
Limits are the foundational concept underlying all of calculus. The derivative is defined as the limit of the difference quotient as the interval approaches zero: f′(x) = lim(h→0) [f(x+h) - f(x)] / h. The definite integral is defined as the limit of Riemann sums as the partition becomes infinitely fine. Continuity itself is defined through limits: a function is continuous at a point c if the limit as x approaches c equals f(c). Understanding limits therefore is not merely a prerequisite to calculus — it is the language in which calculus is expressed at every level of rigor.
Practical limit evaluation employs several strategies depending on the form of the expression. Direct substitution works when the function is continuous at the point. Factoring, rationalizing (multiplying by a conjugate), or algebraic simplification resolves many indeterminate forms like 0/0. L’Hôpital’s rule handles indeterminate forms (0/0 or ∞/∞) by taking the ratio of derivatives. The squeeze theorem (sandwich theorem) establishes limits by bounding a function between two others with known limits. For limits at infinity, dividing numerator and denominator by the highest power of x reveals the asymptotic behavior. This calculator automates the symbolic evaluation, but developing proficiency with these techniques builds the mathematical reasoning skills essential for more advanced analysis, differential equations, and applied mathematics.