Saved

Press the star next to a tool's name to save it.

All my tools

Limit Calculator

Enter a function of x and the point it approaches to estimate the limit, checked from the left and the right.

Restored your last values ·

For example: sin(x)/x, (x^2-1)/(x-1) or (1+1/x)^x

A number, pi, inf or -inf.

This is a numerical estimate. Your result opens on the next page.

Estimated limit

1

Enter a function to see the limit.

What is a limit?

A limit describes the value a function gets close to as x gets close to a point, even if the function isn’t defined at that point. For example, sin(x) ÷ x has no value at x = 0, but it gets closer and closer to 1.

How this calculator works

It works numerically. It evaluates your function closer and closer to the point, from each side, and checks whether the values settle. If they settle on the same number, that’s the estimated limit.

This gives a good estimate, not a proof, and it can’t show steps. Some unusual functions can fool it, so check important answers by hand.

Examples to try

Functionx approachesLimit
sin(x)/x01
(x^2-1)/(x-1)12
(1-cos(x))/x^200.5
(1+1/x)^xinfe, about 2.718
1/x^20∞
1/x0Doesn’t exist (left and right differ)

How to type a function

  • Operators: + − * / and ^ for powers. You can also write 2x for 2 times x.
  • Functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln, log (base 10), exp, sqrt, abs.
  • Constants: pi and e. Angles are in radians.
  • Infinity: type inf or -inf as the point.

One-sided limits

A limit exists only if the left and right sides agree. Choose Left or Right to check just one side, such as 1/x from the right, which goes to ∞.

How to use the limit calculator

  1. Type the function. Enter it in the Function of x box, for example (x^2-1)/(x-1). Use brackets around a whole top or bottom so the calculator divides what you mean.
  2. Enter where x goes. In the x approaches box, type a number, pi, inf or -inf. You can also type a small expression such as pi/2.
  3. Pick a direction. Leave Direction on Both sides for an ordinary limit, or choose Left or Right for a one-sided limit.
  4. Press Find the limit. Your result opens on the next page with the estimated limit and the value found from each side.

Worked example: a hole in a graph

Take (x^2-1)/(x-1) as x approaches 1. Putting in 1 gives 0 ÷ 0, which has no value, so the calculator tests points close to 1 instead.

x from the rightValuex from the leftValue
1.12.10.91.9
1.012.010.991.99
1.0012.0010.9991.999
1.00012.00010.99991.9999
1.000012.000010.999991.99999

Both columns close in on 2, so the result shows an estimated limit of 2, with 2 from the left and 2 from the right. By algebra, the top factors to (x − 1)(x + 1), and once the (x − 1) cancels you are left with x + 1, which is 2 at x = 1.

Worked example: a limit at infinity

For (1+1/x)^x as x approaches inf, the calculator tries x = 100, 1,000, 10,000, 100,000 and 1,000,000. The values are about 2.70481, 2.71692, 2.71815, 2.71827 and 2.71828. They settle, so the result is 2.7183, shown in the row labelled As x grows. That is the number e, which NIST gives as 2.71828 18284 59045 and so on.[1] The calculator shows four decimal places here, so treat 2.7183 as e rounded, not as a different number.

How to read the result

  • A number means both sides settled on the same value.
  • ∞ or −∞ means the values kept growing in one direction without slowing down, as 1/x^2 does near 0.
  • Doesn’t exist comes with a note. Either the left and right sides approach different values, as with abs(x)/x at 0, where the left gives −1 and the right gives 1, or the values never settle, as with sin(1/x) at 0.

When the estimate can go wrong

Computer numbers keep only about 15 to 17 significant digits, and anything beyond that is rounded.[2] That is one reason the calculator stops at a step of 0.00001 rather than going closer, and why it rounds its answer.

  • Steep and slow functions. The answer comes from points close to the target, not the target itself. When the values close in by a steady factor, the calculator works out where they are heading. That is how x^2 as x approaches 3 gives exactly 9 from both sides, and sqrt(x) as x approaches 0 from the right gives 0, even though the last value it tests is still about 0.003.
  • Irregular functions. A function that wobbles, such as sin(1/x) near 0, never settles, so the calculator says the limit doesn’t exist. That is the right answer for sin(1/x), but a function that settles in a very uneven way can be reported the same way. Check the one-sided rows when that happens.
  • Points outside the domain. ln(x) and sqrt(x) have no real value for negative x, so a left-side check at 0 can’t work. Choose Right instead.

If an answer looks odd, try the limit from each side on its own, or sketch the curve with the graphing calculator.

Common mistakes with limits

  • Missing brackets. 1+1/x^x is not the same as (1+1/x)^x. Brackets decide what the power applies to.
  • Using degrees. Angles here are radians. sin(x)/x approaches 1 only when x is in radians.
  • Mixing up log and ln. log is base 10 and ln is the natural log.
  • Stopping at 0/0. A result of 0 ÷ 0 doesn’t mean the limit is 0 or that it doesn’t exist. It means you need to look closer, which is what this tool does.

To go further with calculus, try the derivative calculator and the integral calculator.

How we calculate this

This tool estimates a limit with numbers. It does not solve it by algebra. It reads your expression, for example sin(x)/x, and tests it at points that get closer and closer to the value x approaches.

For a finite point, it checks five steps away: 0.1, 0.01, 0.001, 0.0001 and 0.00001. It does this from the right side, the left side, or both. For infinity, it tries x = 100, 1,000, 10,000, 100,000 and 1,000,000.

If the last values agree closely, that value is the limit. If they keep growing in one direction, the answer is infinity or minus infinity. If the left and right limits differ, or the values do not settle, the limit is reported as not existing. Results are rounded to remove tiny estimation error. Treat the answer as an estimate.

What next

Use this often? Add Limit to your Home screen.

Frequently asked questions

How do I find a limit?

Try substituting the value first. If that gives 0/0, factor or simplify, or look at values from both sides. This calculator estimates it from both sides.

When does a limit not exist?

When the left and right sides approach different values, or when the function keeps wobbling and never settles, like sin(1/x) at 0.

What is the limit of sin(x)/x as x approaches 0?

It’s 1, even though the function has no value at x = 0.

Does this show the steps?

No. It estimates the limit numerically, so it can’t show algebra steps. Check important answers by hand.

What is the limit of (1+1/x)^x as x approaches infinity?

It is the number e, about 2.71828. This calculator shows it rounded to four decimal places as 2.7183.

Why does the calculator say a limit doesn’t exist when it does?

It works with numbers, not algebra. It projects where steadily closing values are heading, so slow cases such as sqrt(x) near 0 now come out as 0. A function that closes in very unevenly may still not pass its test. Check the one-sided rows and work the limit by hand.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools