Logarithmic Graphing Calculator

Graph y = a·logb(x − h) + k for any valid base, including the natural log (b = e) and common log (b = 10). See the domain, vertical asymptote, x-intercept and key points, and how each parameter moves the curve.

Logarithmic function

Type e for the natural log, 10 for the common log.

How the Logarithmic Graphing Calculator works

  1. Enter. y = log₂(x − 1) + 1
  2. Graph. The tool samples the function in your browser and draws it without connecting across breaks.
  3. Read the result. Domain x > 1; range all reals; Vertical asymptote x = 1; x-intercept (1.5, 0).
Graph of y equals log base 2 of x minus 1, plus 1, with vertical asymptote x = 1 and x-intercept (1.5, 0).
Example: what you enter, the graph the logarithmic graphing calculator draws, and the results it reports.

Examples to load

Key features of a log graph

Featurey = a·logb(x − h) + k
Domainx > h
RangeAll real numbers
Vertical asymptotex = h
Reference points(h + 1, k) and (h + b, a + k)
x-interceptx = h + b−k⁄a
Increasing or decreasingIncreasing when b > 1 and a > 0 (or b < 1 and a < 0); otherwise decreasing

Worked example: y = log₂(x − 1) + 1

  1. Domain: x − 1 > 0, so x > 1. The vertical asymptote is x = 1.
  2. Reference points: (h + 1, k) = (2, 1) and (h + b, a + k) = (3, 2).
  3. x-intercept: solve log₂(x − 1) = −1, so x − 1 = 2⁻¹ = ½ and x = 1.5.
  4. Shape: base 2 > 1 and a = 1 > 0, so the curve rises slowly to the right and drops steeply toward the asymptote.

Common mistakes

  • Shifting the wrong way. log(x − 3) moves the graph 3 units right, not left.
  • Plotting negative inputs. There is no real log of zero or a negative number; the graph stops at the asymptote.
  • Confusing ln and log. ln(100) ≈ 4.605, while log(100) = 2.

Guides: how to graph logarithmic functions and natural log vs common log.

Questions

What is the domain of a log function?

You can only take the logarithm of a positive number, so for y = a·log_b(x − h) + k the domain is x > h. The graph has a vertical asymptote at x = h.

Is log the same as ln?

No. ln is the natural log, base e ≈ 2.718. On this site log(x) means base 10. Enter b = e for ln and b = 10 for log.

Why does every basic log graph pass through (1, 0)?

Because b⁰ = 1 for any valid base, so log_b(1) = 0. After shifting, that point moves to (h + 1, k).

How are log and exponential graphs related?

They are inverse functions: y = log_b(x) is the reflection of y = bˣ in the line y = x. The exponential’s horizontal asymptote y = 0 becomes the log’s vertical asymptote x = 0.

Guides that use this calculator

Functions

How to Graph Logarithmic Functions

Graph y = log_b(x) and its transformations: domain, vertical asymptote, key points (1, 0) and (b, 1), and how the log graph mirrors the exponential.

2 min read·

Related calculators

Graphing Calculator

Plot several functions, points and inequalities; find roots, intersections and turning points.