This limit calculator finds the value a function approaches as its input gets close to a specific point. Type in a function, choose the variable, set the point you are approaching (including infinity), and pick whether you want a left-hand, right-hand, or two-sided limit. The tool works through the problem the same way a student would on paper and shows every step along the way, not just the final number.
How Does This Limit Calculator Work?
Using the calculator only takes a few steps.
1. Enter your function using standard notation, fractions, roots, trig terms, or logs. You can type it directly or use the on-screen math keyboard if the notation feels awkward to type out.
2. Pick the variable. Most problems use x, but the calculator also accepts t, y, z, and other letters, since not every course sticks to x.
3. Set the point you want x to approach. This can be a regular number or infinity.
4. Choose the direction: left hand, right hand, or two-sided.
5. Hit calculate.
Once you submit, the calculator tries direct substitution first, since that works whenever the function is continuous at the point in question. If substitution produces an indeterminate result like 0 over 0, it automatically switches to factoring, rationalizing, L'Hopital's rule, a trigonometric identity, or a Taylor series expansion, whichever fits the problem. The result includes the full set of steps, so you can see exactly which method was used and why, not just the final answer.
What Is a Limit in Calculus?
A limit describes the value a function gets close to as its input nears a certain point. It does not require the function to actually reach that value, or even to be defined there at all.
Take the function f(x) = x squared plus 3x. As x gets closer and closer to 2, f(x) gets closer and closer to 10. We write this as lim (x approaches 2) of (x squared plus 3x) equals 10.
This might feel obvious for a simple polynomial, since you could just plug in 2 directly. Limits earn their keep in trickier cases, like a function with a hole in its graph at a certain point. The function itself is undefined there, but the limit still exists, because a limit only cares about what happens near the point, not exactly at it. Think of it as patching that hole with the value the graph is clearly heading toward from both sides.
What Are the Different Types of Limits?
Limits usually fall into a few categories, and knowing which one you are dealing with makes it much easier to pick the right method.
Type | Notation | What It Means |
One sided (left hand) | lim (x to a-) f(x) | The value f(x) approaches as x nears a from below |
One sided (right hand) | lim (x to a+) f(x) | The value f(x) approaches as x nears a from above |
Two sided | lim (x to a) f(x) | Exists only when the left hand and right hand limits are equal |
Finite | lim (x to a) f(x) = L | The function settles on a specific, defined number |
Infinite | lim (x to a) f(x) = infinity | The function grows without bound as x nears a |
At infinity | lim (x to infinity) f(x) = L | Describes what happens as x itself grows without bound |
A quick example of the one sided case: if f(x) equals 1 for x less than 2 and f(x) equals 3 for x greater than or equal to 2, the left hand limit at x = 2 is 1 and the right hand limit is 3. Since they do not match, the two sided limit at x = 2 does not exist, even though both one sided limits exist individually.
How Do You Calculate a Limit Step by Step?
Most limit problems can be solved by working through a short list of techniques in order.
Technique | When It Applies |
Direct substitution | Always try this first. Works whenever the function is continuous at the target point. |
Factoring | Substitution gives 0/0 and the numerator or denominator can be factored and simplified. |
Rationalizing | The expression involves a square root and substitution gives 0/0. |
L'Hopital's rule | The form is 0/0 or infinity/infinity. Take the derivative of the top and bottom separately, then try again. |
Trigonometric identities | The expression involves sin, cos, or tan and matches a known special limit. |
Comparing degrees | For a limit at infinity of a rational function, compare the highest powers in the numerator and denominator. |
Here is a factoring example. For lim (x approaches 3) of (x squared minus 9) over (x minus 3), plugging in x = 3 gives 0/0, which is indeterminate. Factor the numerator: x squared minus 9 equals (x minus 3)(x plus 3). Cancel the (x minus 3) term from top and bottom, leaving x plus 3. Now substitution works cleanly: 3 plus 3 equals 6. That cancellation is valid under a limit because the limit only depends on values near x = 3, not on x = 3 itself.
If you would rather see the algebraic route than L'Hopital's rule for a given problem, the calculator can show either path, since some instructors want one method over the other.
When Does a Limit Not Exist?
A limit fails to exist for one of three reasons.
β The left hand and right hand limits do not agree. This is the most common case and usually shows up as a jump in the graph.
β The function oscillates without settling near the point, the way sin(1/x) does as x approaches 0. It keeps bouncing between values instead of closing in on one.
β The function grows without bound in a way that is not a clean infinite limit.
It is worth separating two ideas that get mixed up constantly: saying a limit equals infinity is different from saying a limit does not exist. Both can be correct answers depending on the problem, so read the question carefully before deciding which one applies.
How Do Limits Connect to Derivatives and Integrals?
Limits are not just their own isolated topic. They are the foundation two of the biggest ideas in calculus are built on. A derivative is defined as the limit of a difference quotient as h approaches 0, which is really just the slope between two points on a graph as those points get infinitely close together. A definite integral is defined as the limit of a sum of rectangle areas as the number of rectangles grows without bound.
In other words, once you are comfortable finding limits, you already have the core building block both derivatives and integrals depend on.
How Is a Derivative Calculated Using Limits?
A derivative comes from the difference quotient: f prime of x equals the limit as h approaches 0 of [f(x plus h) minus f(x)] over h. This is the same limit process covered above, just applied to a specific setup.
If you want to see this worked through in full with more examples, the derivative calculator walks through it step by step.
How Is a Definite Integral Related to Limits?
A definite integral is the limit of a sum of rectangle areas as the number of rectangles approaches infinity, which ties directly back to the limits at infinity covered earlier on this page. For the full walkthrough, including how the sum is set up and evaluated, check the integral calculator.
How Does L'Hopital's Rule Solve Indeterminate Limits?
L'Hopital's rule only applies to 0/0 or infinity/infinity forms. It works by taking the derivative of the numerator and the derivative of the denominator separately, then evaluating the new limit. For example, lim (x approaches 0) of (e to the x minus 1) over x gives 0/0 at first glance. Taking derivatives turns it into lim (x approaches 0) of e to the x over 1, which evaluates cleanly to 1.
One common mistake is applying this rule to a limit that was never actually indeterminate in the first place. Always check the form before differentiating anything. For more worked examples and the algebraic alternatives, visit the L'Hopital's rule calculator.
How Does a Limit Apply to a Sequence or Series?
A sequence has a limit the same way a function does. It describes the value its terms get close to as the index grows toward infinity. For example, 1/n approaches 0 as n grows larger and larger. This same idea is what allows an infinite series to add up to a finite total instead of growing forever. If you are working with sequences or series rather than a single continuous function, the series calculator covers that ground in more detail.
How Do You Find the Asymptotes of a Function Using Limits?
A vertical asymptote shows up wherever a one sided limit heads toward infinity. A horizontal asymptote shows up wherever the limit as x approaches infinity settles on a fixed number. Take f(x) equals 1 over (x minus 2): as x approaches 2, the function shoots off toward infinity, giving a vertical asymptote at x = 2, and as x approaches infinity, the function settles toward 0, giving a horizontal asymptote at y = 0.
For a full breakdown of finding both types on any function, the asymptote calculator can take you through it.
Frequently Asked Questions
What is a one sided limit?
A one sided limit looks at what a function approaches from only one direction, either the left side or the right side of a point. A two sided limit only exists when both one sided limits agree.
What is the difference between a limit and an asymptote?
An asymptote is a line a graph gets close to but never quite touches. A limit is the value describing that behavior, either at a specific point or as x grows without bound.
What is an indeterminate form?
It is a result like 0/0 or infinity/infinity that cannot be evaluated by direct substitution alone. Factoring, rationalizing, or L'Hopital's rule usually resolve it.
Can a limit exist if the left and right limits are different?
No. A two sided limit only exists when the left hand and right hand limits are equal. If they differ, the limit does not exist at that point.
Can a limit be infinite?
Yes. A limit is infinite when a function's value grows without bound as the input nears a point, such as 1/x as x approaches 0. This is different from a limit at infinity, where it is the input, not the output, that grows without bound.

