How it works
The limit of f(x) as x approaches a is the value f(x) gets closer and closer to as x gets closer to a, from both sides. The calculator works through the standard methods in order:
- Substitution: if f is continuous at a, the limit is just f(a): x² at 3 is 9.
- Limit laws: the limit of a sum, product or quotient is the sum, product or quotient of the limits, when those exist and there is no division by zero.
- L’Hôpital’s rule: for 0/0 or ∞/∞, differentiate the top and the bottom separately and try again: lim sin x / x = lim cos x / 1 = 1. This works when the new limit exists.
- Rewrites: 0 · ∞ becomes a quotient; ∞ − ∞ becomes one fraction, or uses the conjugate for square roots; 1^∞, 0⁰ and ∞⁰ go through uᵛ = e^(v ln u).
- One-sided limits: if the left and right limits differ, the two-sided limit does not exist: 1/x at 0 goes to −∞ from the left and ∞ from the right.
Every answer is then compared with the values of f(x) at points closer and closer to a. If no method gives an exact answer, the calculator shows the numeric estimate and says so.
Worked example
lim (x² − 1)/(x − 1) as x → 1: substituting gives 0/0. L’Hôpital’s rule: the derivatives are 2x and 1, and 2x/1 at x = 1 is 2. (Factoring gives the same: (x − 1)(x + 1)/(x − 1) = x + 1 → 2.)
lim (3x² + 2)/(5x² − x) as x → ∞: ∞/∞, so L’Hôpital twice: 6x/(10x − 1), then 6/10 = 3/5, the ratio of the leading coefficients.
Tips
- Type ∞ as ∞, inf or infinity, and −∞ as -∞ or -inf.
- If the answer is ‘does not exist’, try one side at a time: many limits exist from one side only.
- sin x/x → 1 needs radians; the calculator always uses radians for limits.
Questions
Does this limit calculator show steps?
Yes. It shows each method it used: substitution, L’Hôpital’s rule (with the derivatives), and any rewrite, plus a numeric check from values near the point.
What does ‘does not exist’ mean?
The values of f(x) do not settle on one number: the left and right limits differ (1/x at 0), the function swings without settling (sin x as x → ∞), or it grows with changing sign.
Is the answer always exact?
When the methods above finish, yes, for example 3/5, −π/2 or e. If they don’t, the calculator gives a numeric estimate marked with ≈ and says it could not find the limit exactly.
Can it do limits at infinity?
Yes. Type ∞ or −∞ as the point. Rational functions, exponentials, logs and forms such as (1 + 1/x)ˣ are handled.
Sources
- NIST Digital Library of Mathematical Functions, §1.4 Calculus of One Variable. §1.4(iii), L’Hôpital’s Rule, equations 1.4.14–1.4.15: if f and g both tend to 0 (or ∞) as x → a, lim f/g = lim f′/g′ when the last limit exists. Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §1.4 Calculus of One Variable. §1.4(ii) Continuity: one-sided limits f(c+) and f(c−) (1.4.1, 1.4.3); f is continuous at c when both equal f(c), which is why substitution works. Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §4.4 Special Values and Limits. §4.4(iii) Limits: 4.4.14, lim x→0 of xᵃ ln x = 0 for Re a > 0 (x ln x at 0⁺); 4.4.17, lim n→∞ of (1 + z/n)ⁿ = eᶻ. Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §4.2 Definitions. §4.2(iv) Powers, equation 4.2.28: principal value zᵃ = exp(a ln z), the rewrite used for 1^∞, 0⁰ and ∞⁰ forms. Checked 22 November 2026.