Natural Logarithm Calculator

Runs entirely in your browser

The natural logarithm of x is the base-e logarithm of x: ln(x) = loge(x) = y. Enter a positive number and press Calculate.

Use e for scientific notation — e.g. 5e3, 4e-8, 1.45e12 — or the single letter e for Euler's number.

The result of ln(x) will appear here.

ln(x) is defined only for x > 0. ln(1) = 0, ln(e) = 1, and ln(x) grows without bound as x increases — it is the inverse of the exponential function e y = x.

How to use this natural logarithm calculator

  1. Enter a positive number x — plain decimals (2, 0.5), scientific notation (5e3, 4e-8, 1.45e12), or the single letter e for Euler’s number (2.718281828…).
  2. Press Calculate (or hit Enter). The tool shows ln(x) at full double precision and displays the interactive ln(x) graph over the surrounding decades with (x, ln x) highlighted.
  3. Explore the graph with hover crosshairs, drag horizontally to zoom in, right-click to reset the view, or press Reset to clear the form and hide the graph.

The natural logarithm ln(x) is the logarithm to base e ≈ 2.718281828 — the exponent y such that e y = x. So ln(1) = 0, ln(e) = 1, and ln(5e3) = ln(5000) ≈ 8.517193. It is defined only for x > 0: this calculator reports ln(0) and ln of a negative number as an error, since they are undefined in the real numbers. Everything runs locally in your browser — nothing is uploaded.

Worked examples: ln(2) ≈ 0.69314718, ln(10) ≈ 2.30258509, ln(4e-8) ≈ −17.03438638. More math tools are in Math & Statistics.

T
ALL TOOLS · THE CATALOG
477 single-purpose tools · no sign-up
File-processing tools run in your browser. Network and device requirements are described on each tool.