Asymptote Calculator — Find Vertical, Horizontal & Slant Asymptotes Instantly

Free asymptote calculator for rational functions. Quickly calculate vertical asymptotes, horizontal asymptotes, and slant/oblique asymptotes with step-by-step explanations and example breakdowns.

Verified Formulas Instant Results Privacy First

Asymptote Calculator

Enter the numerator and denominator polynomials of a rational function to find all asymptotes.

Enter polynomial coefficients and click Calculate Asymptotes to see the result.

Asymptote Rules & Formulas

Asymptotes are lines that a rational function approaches but never touches. The three types are vertical, horizontal, and slant (oblique) asymptotes.

Vertical asymptote: x = a where denominator = 0, numerator ≠ 0
Horizontal asymptote: y = 0 if deg(num) < deg(den)
y = a/b if deg(num) = deg(den)
none if deg(num) > deg(den)
Slant asymptote: exists if deg(num) = deg(den) + 1
Found by polynomial long division: y = quotient

Key Definitions

  • Rational function — f(x) = P(x)/Q(x), where P and Q are polynomials.
  • Vertical asymptote — occurs at x-values that make Q(x)=0 but not P(x).
  • Horizontal asymptote — end‑behavior line as x → ±∞, determined by degrees.
  • Slant asymptote — diagonal line approached when numerator degree is exactly one greater than denominator degree.
  • Hole — a removable discontinuity when a factor cancels from numerator and denominator.

How to Calculate Asymptotes

Follow this systematic process to find all asymptotes of a rational function:

  1. Write the function in standard form — f(x) = P(x)/Q(x). Identify numerator and denominator degrees.
  2. Find vertical asymptotes — set Q(x)=0. For each real root, check if P(x)=0 at that point. If P(x)≠0, it's a vertical asymptote; if P(x)=0, it's a hole.
  3. Determine horizontal asymptote — compare deg(P) and deg(Q). Apply the three rules: smaller → y=0, equal → y=leading coefficient ratio, larger → no horizontal asymptote.
  4. Check for slant asymptote — if deg(P) = deg(Q)+1, perform polynomial long division of P by Q. The quotient (ignoring remainder) is the slant asymptote equation.
  5. Identify holes — cancel common factors and note the x-values removed.

Asymptote Calculator Examples

Example 1: Horizontal Asymptote

f(x) = (2x+3)/(x-1). deg(num)=1, deg(den)=1 → horizontal asymptote y=2/1 = 2. Vertical asymptote x=1.

Example 2: Slant Asymptote

f(x) = (x²-4)/(x-1). deg(num)=2, deg(den)=1 → slant asymptote. Division gives y = x+1 (slant), vertical asymptote x=1.

Example 3: Only Vertical & Horizontal

f(x) = 1/(x²-4). deg(num)=0 < deg(den)=2 → horizontal y=0. Vertical at x=2, x=-2.

Real-World Asymptote Applications

  • Engineering: Modeling system responses where outputs approach a limit (steady-state).
  • Economics: Long‑run cost curves often have horizontal asymptotes representing minimum average cost.
  • Physics: Terminal velocity of a falling object is a horizontal asymptote of the velocity‑time graph.
  • Biology: Population growth models with carrying capacity have horizontal asymptotes.
  • Computer Science: Algorithmic complexity bounds behave asymptotically.

People Also Ask

Set the denominator equal to zero and solve for x. Any real root that does not also make the numerator zero is a vertical asymptote. If the numerator is also zero at that x-value, it is a hole instead.
A horizontal asymptote is a horizontal line y = b that the graph of a function approaches as x goes to positive or negative infinity. It describes the end behavior of the function.
A rational function has a slant (oblique) asymptote when the degree of the numerator is exactly one more than the degree of the denominator. It is found by performing polynomial division; the quotient gives the slant line equation.
Yes, unlike vertical asymptotes, a function may cross its horizontal asymptote one or more times. The asymptote describes the behavior as x → ±∞, not a forbidden line.
Divide the numerator by the denominator using polynomial long division (or synthetic division if the denominator is linear). The quotient polynomial (degree 1) is the equation of the slant asymptote. Ignore the remainder.

Frequently Asked Questions

The calculator handles any polynomial degree. For denominator roots (vertical asymptotes), real roots are found up to degree 2 exactly. Higher degrees will still show horizontal/slant asymptotes.
Yes, if a real root of the denominator is also a root of the numerator (within a small tolerance), the calculator reports a hole instead of a vertical asymptote.
Absolutely. Enter any real numbers separated by commas. The calculator accepts integers, decimals, and negative values.
If the denominator is a non‑zero constant, the function is a polynomial and has no vertical, horizontal, or slant asymptotes. The calculator will indicate "no asymptotes".
A rational function cannot have both a horizontal and a slant asymptote. If deg(num) = deg(den)+1, the end behavior is linear (slant), not horizontal.

Asymptote Glossary

Asymptote

A line that a graph approaches but never touches as the input or output grows large.

Vertical Asymptote

A vertical line x = a where the function tends to ±∞. Occurs at denominator zeros not cancelled by the numerator.

Horizontal Asymptote

A horizontal line y = b that the function approaches as x → ±∞. Determined by comparing polynomial degrees.

Slant (Oblique) Asymptote

A diagonal line y = mx + b approached when the numerator degree is one greater than the denominator degree.

Hole

A point where a rational function is undefined due to a common factor that cancels, leaving a removable discontinuity.

Degree of Polynomial

The highest exponent of the variable in a polynomial. Essential for determining asymptote type.

Leading Coefficient

The coefficient of the term with the highest degree. Used in horizontal asymptote calculation.

Polynomial Long Division

A method to divide polynomials, used to find slant asymptotes when deg(num) = deg(den)+1.

Editorial Review & Methodology

This asymptote calculator was built and reviewed by the NumbrWiz Editorial Team. Asymptote rules are standard results in algebra and precalculus, verified against textbooks and curriculum standards.

  • Formula verification: All rules and division algorithms cross‑checked with authoritative mathematics references.
  • Edge case testing: Tested with constant denominators, high‑degree polynomials, common factors, and rational functions without asymptotes.
  • UX review: Designed for clarity with clear error messages and a step‑by‑step approach.

Transparency note: All calculations run in your browser. No data is collected or stored. Results are educational; verify critical work independently.

Page last reviewed: May 2026 · NumbrWiz Editorial Team