Limit Calculator

Enter a function and the value x approaches, and this limit calculator evaluates the limit step by step. It resolves 0/0 forms by factoring, rationalizing or L'Hôpital's rule, handles limits at infinity, and compares left and right limits.

Tip: drag a photo here or paste a screenshot (Ctrl+V)
How are solve allowances used?

Math, physics, chemistry and all AI tools share your plan allowance.

Each successful standard AI submission uses one standard solve. Deep reasoning uses one deep solve instead. Both count toward the daily solve limit.

Photos and selected PDF pages also use one daily photo solve per submission. Uploading a file or selecting a page does not start a solve. PDF upload requires Plus or Pro.

Local calculations, worked examples, hints, copying answers and cached answers use no solves.

Technical failures return the reserved solve. An automatic retry is included in the same submission. A new successful AI submission counts again, even if it follows an earlier answer.

Try:

Worked example

Step-by-step solution

limx−>3(x2−9)/(x−3)lim x->3 (x^2 - 9)/(x - 3)

Step 1 / 4

Try direct substitution

Both the numerator and the denominator are 0, an indeterminate form.

32−93−3=00\frac{3^2 - 9}{3 - 3} = \frac{0}{0}

How to use the Limit Calculator

  1. Type the limit, for example lim x->3 (x^2 − 9)/(x − 3). Write x->0+ or x->0- for a one-sided limit and x->infinity for a limit at infinity.
  2. Press Solve it. The first step tries direct substitution to see whether the limit is immediate or an indeterminate form such as 0/0.
  3. Follow the method named in the step titles: factoring, rationalizing, dividing by the highest power or L’Hôpital’s rule.
  4. Read the answer: a number, ∞ or −∞, or “does not exist” with the reason, such as different left and right limits.

What a limit means and how to evaluate one

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

The limit of f(x) as x approaches a is the value f(x) gets close to when x gets close to a, from both sides. It describes what happens near a, not at a, so a limit can exist even where the function is undefined, such as (x² − 9)/(x − 3) at x = 3.

Start with direct substitution. If it gives a number and the function is continuous there, that number is the limit. If it gives 0/0 or ∞/∞, the form is indeterminate: simplify by factoring and cancelling, multiply by a conjugate to rationalize, or apply L’Hôpital’s rule, which replaces f/g by f′/g′ when the form is 0/0 or ∞/∞.

A two-sided limit exists only when the left-hand and right-hand limits are equal. For 1/x at 0, the right-hand limit is ∞ and the left-hand limit is −∞, so the two-sided limit does not exist. Limits at infinity describe end behaviour and give the horizontal asymptotes of a graph.

Limit calculator example: one-sided limits of 1/x

lim⁡x→0+1x=+∞,lim⁡x→0−1x=−∞\lim_{x \to 0^+} \frac{1}{x} = +\infty,\qquad \lim_{x \to 0^-} \frac{1}{x} = -\infty

As x approaches 0 from the right, x is a small positive number such as 0.01, so 1/x is a large positive number such as 100. The values grow without bound, so the right-hand limit is +∞. From the left, x is a small negative number such as −0.01, so 1/x is −100 and the left-hand limit is −∞.

Because the two one-sided limits are different, the two-sided limit of 1/x as x → 0 does not exist. The graph has a vertical asymptote at x = 0. Writing “the limit is infinity” for the two-sided case would be wrong here, since the function heads in opposite directions on each side.

Limits at infinity and horizontal asymptotes

lim⁡x→∞3x2+1x2−5=lim⁡x→∞3+1/x21−5/x2=3\lim_{x \to \infty} \frac{3x^2 + 1}{x^2 - 5} = \lim_{x \to \infty} \frac{3 + 1/x^2}{1 - 5/x^2} = 3

Divide the numerator and the denominator by the highest power of x in the denominator, here x². As x grows, 1/x² and 5/x² both approach 0, which leaves 3/1 = 3. The graph therefore has a horizontal asymptote at y = 3.

For rational functions, compare the degrees. If the numerator and denominator have the same degree, the limit is the ratio of the leading coefficients. If the denominator has the higher degree, the limit is 0. If the numerator has the higher degree, the function grows without bound and the limit is +∞ or −∞.

L'Hôpital's rule for 0/0 and ∞/∞

lim⁡x→0ex−1x=lim⁡x→0ex1=1\lim_{x \to 0} \frac{e^x - 1}{x} = \lim_{x \to 0} \frac{e^x}{1} = 1

Direct substitution in (eˣ − 1)/x gives (1 − 1)/0 = 0/0, an indeterminate form, and the expression does not factor. Both the numerator and the denominator are differentiable, so L’Hôpital’s rule applies: differentiate them separately to get eˣ/1, then substitute x = 0 to get 1.

Check the conditions before using the rule. It only applies to 0/0 or ∞/∞ forms, and you differentiate the top and bottom separately, not with the quotient rule. For limits such as sin(x)/x as x → 0, your course may expect the squeeze theorem instead, because that limit is used to prove the derivative of sin x in the first place.

Frequently asked questions

What does 0/0 mean when I substitute?

It means the limit is indeterminate, not that it is zero or does not exist. Simplify the expression first, for example by factoring and cancelling a common factor, then substitute again.

When can I use L'Hôpital's rule?

Only when direct substitution gives 0/0 or ∞/∞ and both functions are differentiable near the point. Differentiate the numerator and denominator separately, not as a quotient, then take the limit again.

When does a limit not exist?

A two-sided limit does not exist when the left and right limits differ, when the function grows without bound in different directions, or when it oscillates, as sin(1/x) does near 0.

Does the function value at the point matter?

No. The limit depends only on values near the point. If the limit equals the function value, the function is continuous there; if not, there is a hole or a jump.

Should trigonometric limits use radians?

Yes. Standard results such as sin(x)/x → 1 as x → 0 hold only when x is measured in radians.

Have a different kind of math problem? Try the free math solver. Use the subject menu for physics and chemistry.