The Limit Calculator is a free online tool that evaluates limits of mathematical functions step-by-step, with full symbolic working, numerical verification, and an interactive graph. It handles limits at a finite point, limits at positive or negative infinity, and one-sided (left- or right-hand) limits, and it works on the most common types of expressions you will meet in a first or second calculus course: polynomial and rational functions, trigonometric and inverse trig functions, exponentials and logarithms, square roots and other radicals, and compositions of all of these. Whether you are studying for an exam, double-checking your homework, or trying to understand the behavior of a function near a tricky point, this calculator gives you the answer plus the reasoning that produced it.
Conceptually, a limit answers a single question: as the input variable gets arbitrarily close to a target value, what value (if any) does the output approach? The intuitive picture is geometric — you are watching points on the graph of y = f(x) as x slides toward x = a, and asking whether the y-values cluster around a single number. The formal ε–δ definition (the limit equals L if for every ε > 0 there exists δ > 0 such that 0 < |x − a| < δ implies |f(x) − L| < ε) makes this picture precise, but in practice you almost never need to invoke it directly. Instead you use a small toolbox of techniques: direct substitution, algebraic simplification, special limits, L’Hôpital’s rule, the Squeeze Theorem, and growth-rate comparison.
Limits split naturally into a few categories that determine the right technique. **Limits at a defined point** are the easiest: if f is continuous at a, simply substitute and you are done. **Removable indeterminate limits** of the form 0/0 typically arise from a removable discontinuity — the function is not defined at the target value but its graph has a small "hole" that can be filled in by simplifying the algebraic expression. The classic example is (x² − 4)/(x − 2) at x = 2: factor the numerator as (x − 2)(x + 2), cancel the common factor, and the limit becomes the limit of (x + 2) at x = 2, which is 4. **Limits at infinity** describe end behavior: as x grows without bound, what does f(x) tend toward? For rational functions this reduces to comparing degrees of numerator and denominator. For mixed expressions involving exponentials, logarithms, and powers, you compare growth rates: any polynomial grows faster than any logarithm, any exponential grows faster than any polynomial, and any factorial grows faster than any exponential. **One-sided limits** restrict the approach to one side and are used to test continuity of piecewise functions, characterize behavior at vertical asymptotes (where left and right limits often diverge to opposite infinities), and analyze functions that are real-valued only on one side of the target (such as sqrt(x) at x = 0).
The seven classical indeterminate forms — 0/0, ∞/∞, 0·∞, ∞ − ∞, 1^∞, 0⁰, and ∞⁰ — are all handled by transforming them into a form to which L’Hôpital’s rule applies. L’Hôpital’s rule states that if f(x)/g(x) is of the form 0/0 or ∞/∞ near x = a, and f and g are differentiable with g′(x) ≠ 0 near a, then the limit equals the limit of f′(x)/g′(x) (provided the latter exists). The rule may need to be applied multiple times. The exponential forms (1^∞, 0⁰, ∞⁰) are handled by taking the natural logarithm of the expression, which converts them into a 0·∞ form; then rewrite the product as a quotient and apply L’Hôpital’s rule. The most famous result of this technique is the limit (1 + 1/x)^x → e as x → ∞, which is the constant e’s defining limit and the foundation of continuous compounding.
Several **special limits** appear so often that you should learn them by heart. The most important is lim_{x→0} sin(x)/x = 1, which is the cornerstone of differentiating trigonometric functions and follows from the Squeeze Theorem applied to a geometric inequality on the unit circle. Closely related are lim_{x→0} tan(x)/x = 1, lim_{x→0} (1 − cos(x))/x² = 1/2, and lim_{x→0} (1 − cos(x))/x = 0. From the exponential and logarithmic family come lim_{x→0} (e^x − 1)/x = 1, lim_{x→0} ln(1+x)/x = 1, lim_{x→0} (a^x − 1)/x = ln(a), and lim_{x→∞} ln(x)/x = 0 (logarithm grows slower than any polynomial). Each of these can be derived from L’Hôpital’s rule, but recognizing them by sight makes a huge difference in speed during exams.
This calculator combines symbolic computation with numerical verification to give you a robust answer. The symbolic engine attempts to apply known limit laws — factor cancellation for 0/0 cases, leading-term analysis for ∞/∞ at infinity, L’Hôpital’s rule when derivatives are tractable, conjugate multiplication for square-root indeterminate forms, and a library of known special limits. In parallel, the numerical engine evaluates the function at points h = 10⁻¹, 10⁻², …, 10⁻⁶ on each side of the target (or 10¹, 10², …, 10⁷ for limits at infinity), applies Aitken Δ² extrapolation to accelerate convergence of slowly-converging sequences (such as ln(x)/x at infinity), and recognizes whether the values converge to a finite number, diverge to ±∞, or fail to settle. The two answers are cross-checked: if they match, the symbolic answer is shown with high confidence; if they disagree by more than a small relative tolerance, the calculator reports the numerical estimate and warns you about the discrepancy. The numerical table you see in the result panel shows exactly the samples that were used so you can sanity-check the convergence yourself.
Limits underpin most of single- and multi-variable calculus. The derivative of f at x = a is defined as lim_{h→0} (f(a + h) − f(a))/h — this is by construction a 0/0 indeterminate form, and the entire theory of differentiation is built on resolving it for various function families. Definite integrals are defined as the limit of Riemann sums as the partition mesh shrinks to zero. Continuity at a point is defined by the equation lim_{x→a} f(x) = f(a). Vertical asymptotes correspond to one- or two-sided limits diverging to ±∞; horizontal asymptotes correspond to finite limits at infinity; oblique (slant) asymptotes appear when the difference f(x) − (mx + b) has a finite limit at infinity. In a more applied direction, limits formalize "instantaneous" behavior in physics (instantaneous velocity, instantaneous current), the long-run behavior of dynamical systems, and the convergence of infinite series and improper integrals.
To use this calculator effectively: type your expression, choose the variable and the value it approaches, optionally pick a one-sided direction, then click Calculate. The result panel shows the final answer in closed form, the method used, and any cross-check warnings. The Step-by-Step Solution panel breaks the work into clearly-labeled stages with the relevant LaTeX equations rendered inline. The Numerical Verification table shows the function value at each sample point so you can watch the convergence happen. The Graph panel plots the function around the limit point with reference lines marking the limit and the target value. Common pitfalls to watch for: indeterminate forms can hide inside compositions (always check what direct substitution gives before applying L’Hôpital’s rule); one-sided limits are not the same as the two-sided limit unless they agree; growth-rate comparisons at infinity always trump algebraic complexity; and a numerical value alone (without a symbolic check) can be fooled by floating-point precision around the limit point. The cross-check built into this calculator is designed precisely to catch those mistakes.