Logarithm Graph Maker — Free Online (y = a·log_b(x) + c)

Free online tool to graph y = a·log_b(x) + c. Enter coefficient a, base b, and shift c for an instant plot. Automatically computes x-intercept and vertical asymptote. Only defined for x > 0.

What Is This Logarithmic Function Graph Tool?

This logarithmic graph tool draws a function of the form y = a·log_b(x) + c automatically once you enter the coefficient a, the base b and the shift c. It also computes the characteristic features — the x-intercept and the vertical asymptote — and marks them on the graph.

Because you can change a coefficient and watch the curve respond immediately, it works both as a teaching aid for the properties of logarithms and as a quick way to produce a graph for a report or a set of slides.

Steps to Draw a Logarithmic Graph

  1. Enter the coefficient a, base b and shift c Type each value of y = a·log_b(x) + c into the input fields.
  2. Set the range of x to display Specify the range of x shown on the graph (xMin and xMax).
  3. Check the graph and its key features Alongside the curve, the x-intercept, the vertical asymptote and whether the function increases or decreases are shown automatically.
  4. Look up the y value for any x Enter a value of x and the y value at that point is calculated individually.

Tips for getting more out of it

  • The logarithmic function is only defined for x > 0. The graph approaches the vertical asymptote x = 0 but never crosses it.
  • When b > 1 the function increases (rises to the right). When 0 < b < 1 it decreases. A negative a flips this.
  • Enter b ≈ 2.71828 to graph the natural logarithm y = ln(x). Enter b = 10 for the common logarithm y = log₁₀(x).
  • The x-intercept is where y = 0, which occurs at x = b^(−c/a) (when a ≠ 0). It appears as a green dot on the graph.

When a Logarithmic Graph Comes in Handy

Illustrating a lesson or homework

Seeing the shape of a logarithmic function on a graph helps make sense of increase, decrease and what an asymptote actually means.

Comparing different coefficients

Change a, b and c a little at a time, compare several curves, and you can grasp how each coefficient shapes the graph.

Inserting a graph into a report

Use the graph on screen to prepare a figure for a handout or an independent research project without extra work.

Comparing common and natural logarithms

Enter 10 or e (the base of natural logarithms) as the base and compare the two shapes side by side for yourself.

Logarithmic Function Terms

Logarithmic Function
A function of the form y = log_b(x). It is the inverse of the exponential function.
Base
The number the logarithm is taken with respect to. It must satisfy b > 0 and b ≠ 1.
x-Intercept
The point where the graph crosses the x-axis — that is, the value of x for which y = 0.
Asymptote
A straight line the graph approaches indefinitely without ever meeting. For a logarithmic function, x = 0 is the vertical asymptote.
Natural Logarithm (ln)
The logarithm whose base is Napier's constant e (≈ 2.71828). It arises naturally in analysis, in differentiation and integration.
Common Logarithm (log₁₀)
The logarithm whose base is 10. It is used to gauge orders of magnitude and in measures such as decibels and earthquake magnitude.

FAQ

The real-valued logarithm is only defined for positive numbers. log(0) = −∞ (undefined) and log(x) for x < 0 produces a complex (non-real) number.

log₁(x) would mean solving 1^y = x, but 1^y = 1 for all y — so no solution exists for x ≠ 1. The base-1 logarithm is undefined.

The common logarithm uses base 10 — enter b = 10. The natural logarithm uses base e ≈ 2.71828 — enter b = 2.71828.
Tool-kun

Side Note — Logarithms in decibels and earthquake magnitude

Logarithms are embedded in everyday measurement. The decibel (dB) scale for sound uses the base-10 logarithm: every 10 dB increase represents a 10× increase in sound energy. A sound jumping from 30 dB to 60 dB feels moderately louder but carries 1,000 times more energy.

The Richter scale for earthquakes is also logarithmic — a difference of 1 magnitude unit corresponds to roughly 31.6× more seismic energy. Logarithms are indispensable whenever a measurement spans many orders of magnitude.