Limit Calculator: Conquer Any Limit Free in 2 Steps

Limit Calculator lim

Find the limit of a function as x approaches a value (or infinity), from either side.

Limit
Left limit
Right limit
Show working (LaTeX)

Type infinity (or inf) for x→∞. Use * for multiply and ^ for powers. Computed numerically.

This free limit calculator evaluates the limit of a function as x approaches any value — or infinity — from the left, the right or both sides, with the result shown step by step.

How to use the limit calculator

Type your function, the value x approaches and a direction, then press Find limit. The limit calculator evaluates the function as x gets arbitrarily close to the point and reports the left limit, the right limit and the two-sided limit. As a limit solver and limit of a function calculator, it handles removable holes, one-sided limits and limits at infinity.

limit calculator graph showing a function approaching a value with a hole at the point
As x approaches a, the function value approaches the limit — even where there is a hole.

What is a limit?

A limit is the value a function gets close to as the input approaches a certain point. It is the foundation of calculus — derivatives and integrals are both defined with limits. Start with our guide to what is a limit in calculus, or see the limit reference.

Definition. $\lim_{x\to a} f(x)=L$ means $f(x)$ can be made as close to $L$ as we like by taking $x$ close enough to $a$ (but not equal to $a$).

Limit notation

$$\lim_{x\to a} f(x)=L,\qquad \lim_{x\to a^-}f(x)\ \text{(left)},\qquad \lim_{x\to a^+}f(x)\ \text{(right)}$$

The two-sided limit exists only when the left and right limits are equal.

How to find a limit step by step

  1. Try substituting the value directly into the function.
  2. If you get a number, that is the limit; if you get 0/0, simplify (factor or cancel) first.
  3. Check the left and right sides agree — or read it off the calculator above.
⚠️ The 0/0 caseA result of 0/0 is “indeterminate” — it does not mean the limit fails. Factor and cancel, as in the example below, or use L’Hôpital’s rule.

Worked example

Evaluate $\lim_{x\to 2}\frac{x^2-4}{x-2}$. Direct substitution gives 0/0, but factoring gives $\frac{(x-2)(x+2)}{x-2}=x+2$, so the limit is $2+2=4$.

One-sided limits and limits at infinity

A one-sided limit looks at the approach from only the left or right — useful at jumps and piecewise boundaries. A limit at infinity describes long-run behaviour; for example $\lim_{x\to\infty}\frac{1}{x}=0$. The limit calculator handles both: type infinity for the point, or pick a direction.

LimitValue
$\lim_{x\to 0}\frac{\sin x}{x}$1
$\lim_{x\to\infty}\frac{1}{x}$0
$\lim_{x\to 0^+}\ln x$$-\infty$
$\lim_{x\to\infty}\left(1+\frac{1}{x}\right)^x$$e$

Why limits matter in machine learning

Limits underpin the calculus behind machine learning for beginners: the derivative is defined as a limit, and gradient descent depends on those derivatives. Continuity, built on limits, is what keeps a loss function smooth enough to optimise — see limits and continuity for ML.

🤖 ML insight

The derivative — the heart of training — is literally a limit: $f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}$.

Tips for tricky limits

If direct substitution gives a finite number, you are done — most polynomials and continuous functions are that easy. The interesting cases are indeterminate forms like 0/0 or ∞/∞, where you factor, rationalise, or apply L’Hôpital’s rule by differentiating the top and bottom.

Watch the sides separately near vertical asymptotes and piecewise breaks: if the left and right limits disagree, the two-sided limit does not exist even though each one-sided limit might. A numerical tool like the one above is a fast way to confirm your algebra and to spot when a limit blows up to infinity.

Frequently asked questions

What does this limit calculator do?
It evaluates two-sided, left, right and infinite limits of a function numerically.
How do I enter a limit at infinity?
Type infinity or inf as the value x approaches.
What does “does not exist” mean?
The left and right limits disagree, so the two-sided limit does not exist.
Can it handle 0/0?
Yes — it evaluates numerically near the point, so removable 0/0 limits return the correct value.
Is the limit calculator free?
Yes, completely free and browser-based.

Limit calculator: summary

This limit calculator evaluates two-sided, one-sided and infinite limits with the working shown. Pair it with the derivative calculator and the integral calculator.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top