Plotline

Logarithm

Loading…

Graph a Logarithmic Function

The graph of y = log_b(x) crosses the x-axis at (1, 0), rises slowly to the right, and has a vertical asymptote at x = 0, because logarithms are only defined for x > 0.

Graphs of y = ln x and y = log x, both crossing the x-axis at (1, 0) and approaching the y-axis as an asymptote.
y = ln x (purple) and y = log₁₀ x (red), both through (1, 0).

At a glance

What it isGraph y = ln(x) and y = log(x) online. See the x-intercept (1, 0), the vertical asymptote x = 0 and the domain x > 0. Free graphing calculator.
TypeInteractive guide with a calculator
LevelHigh school and college
PriceFree, with no account or sign-up
Works offlineYes, after the first visit; installs as an app
Made byAalok (aalok.builds@gmail.com)
Last updated1 November 2026

Key facts

x-intercept(1, 0) for every base
Vertical asymptotex = 0
Domain / rangex > 0 / all real numbers
Key pointsln: (1, 0) and (e, 1); log₁₀: (1, 0) and (10, 1)
Inverse ofThe exponential y = bˣ

What is the difference between ln and log?

ln(x) is the natural logarithm, base e ≈ 2.718. log(x) usually means base 10. Any base can be written with either: log_b(x) = ln(x) ÷ ln(b).

How to use it in Plotline

  1. The graph of y = ln(x) and y = log(x) is already loaded above. Edit the equation in the list to change it.
  2. Drag the graph to move around, scroll or pinch to zoom, and tap the crosshair to reset the view.
  3. Hover over or tap the curve to read the coordinates of any point.
  4. Press Enter to add another equation and compare graphs in different colors.

Frequently asked questions

Why is log(0) undefined?

No power of a positive base equals 0, so log(0) has no value. The graph approaches the asymptote x = 0 but never reaches it.

Is it free?

Yes. The graphing calculator is free with no account and no sign-up: plot as many equations as you like, use sliders, save graphs in your browser and share them by link. It installs as an app and keeps working offline.

Learn more

Related

Free calculators

Plotline is an independent project and is not affiliated with Desmos, Texas Instruments or Casio.