Math & Education
Limit Calculator
Find the limit of a function as x approaches a number or infinity — checks the left- and right-hand limits and spots infinite limits and limits that don't exist.
How to use
- 1Type the function, e.g. sin(x)/x or (x^2-1)/(x-1).
- 2Enter the value x approaches (a number, inf or -inf).
How it's calculated
The function is evaluated ever closer to the point from both sides, and the sequence is extrapolated (Richardson) to the limit. Nice values (integers, simple fractions, π, e) are recognized.
Frequently asked questions
Is this symbolic like L'Hôpital's rule?
No — it's a high-precision numerical estimate, which agrees with the exact limit for ordinary functions. Always show your own working for homework.
When does a limit not exist?
When the left- and right-hand limits differ (e.g. |x|/x at 0) or the function oscillates (sin(1/x) at 0).
How do I enter infinity?
Type inf or -inf in the 'x approaches' box.
A worked example of an indeterminate form
sin(x)/x at x = 0 can't be evaluated directly — it's 0/0. Instead of symbolic rules like L'Hôpital's, this tool evaluates the function at points very close to 0 from both sides (10⁻², 10⁻³, 10⁻⁴...) and extrapolates the trend using Richardson extrapolation, which cancels out the leading error term in the sequence of estimates. That numerical approach converges to exactly 1 — matching the well-known textbook limit — without ever symbolically simplifying the expression.
When the left and right sides disagree
For |x|/x as x → 0, approaching from the left (negative x) gives −1, and approaching from the right (positive x) gives 1. Since those two one-sided limits don't match, the two-sided limit is reported as 'Does not exist' — a case where blindly plugging in a tiny number from one direction only would give a misleadingly confident answer.
Recognizing 'nice' values, and the limits that oscillate
A numerical result close to 0.5 near a limit like (1 − cos x)/x² at x = 0 is displayed as '1/2 ≈ 0.5' rather than a raw decimal, since the tool checks whether the estimate is close to a simple fraction, or a multiple of π or e, to make the answer more recognizable. Not every function settles down, though — something like sin(1/x) near 0 oscillates faster and faster rather than approaching any single value, which the tool detects by checking whether successive estimates keep disagreeing rather than converging, and reports as 'Oscillates' instead of guessing a number.
1/x² at zero is infinity, and 1/x at zero is not
From each side, your formula is tried at a hundredth, a thousandth, a ten-thousandth, a hundred-thousandth, and a millionth. The last three of those have to be huge and still growing — each bigger than 10,000, each more than twice the one before it, and the last two the same sign — before that side is called infinite. 1/x^2 at 0 does this on both sides, so both say ∞ and the limit is ∞. 1/x at 0 grows the same way with opposite signs, so the left side is −∞, the right side is ∞, and the two-sided limit is Does not exist. Type inf and the samples jump outward instead, from one thousand up to ten million, and the separate left-hand and right-hand lines are left off.
A real value at the point can become the limit
Each side is estimated from the readings a hundred-thousandth and a ten-thousandth away: ten times the closer reading, minus the farther one, all divided by 9, then checked again one step closer. If those two estimates disagree by more than about a tenth of a percent, and the raw readings disagree by that much too, that side says Oscillates. If your formula has an ordinary value at the point you named, and that value sits within about a hundredth of a percent of both sides, both sides are replaced by it. x^2 at 3 therefore reports exactly 9. sin(x)/x at 0 has no ordinary value there — it is zero over zero — so you see the estimated limit, which is 1.
Related tools
- Derivative Calculator
Differentiate any function of x symbolically — polynomials, trig, exponentials, logs and products — and evaluate the derivative at a point.
- Equation Solver (Linear & Quadratic)
Solve linear and quadratic equations in x — typed naturally like 3x + 5 = 2x - 7 or x^2 - 5x + 6 = 0 — with the discriminant, vertex and real or complex roots.
- Integral Calculator (Definite & Antiderivative)
Compute definite integrals of any function numerically to high precision, and get the exact antiderivative of polynomials — the area under a curve in seconds.
- Polynomial Factoring Calculator
Factor polynomials with integer coefficients — common factors, rational roots, difference of squares and irreducible quadratics — and list all the roots.
- Small Claims Court Limits & Guide (All 50 States, 2026)
Check the 2026 small claims court limit in your state, whether your claim fits, and the steps to file — demand letter, where to sue, fees, serving the defendant, preparing evidence and collecting a judgment.
- Email & App File Size Limits
Check whether your files fit — attachment and upload limits for Gmail, Outlook, WhatsApp, Discord, Telegram, Slack and more, with how much you need to shrink.