Skip to content
Zesona
Natural Log CalculatorLocal

Natural Log Calculator

Compute a natural logarithm to a stated precision, with ln(1) reported as exactly 0.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

Must be greater than zero.

How many digits to show when the answer is irrational. An exact answer ignores this.

Banker’s rounding; the IEEE default

Ready

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Enter a positive number. The natural logarithm appears to the precision you set.

Questions about Natural Log Calculator

What makes e a natural base?

The function e^x is its own derivative, which makes it the base where growth and rate of growth coincide. That is why it turns up wherever a quantity grows in proportion to its own size - compound interest, radioactive decay, population models - and why calculus is simpler in base e than in any other.

Is ln(1) exactly 0?

Yes, and it is reported as exact. Any base raised to the power 0 gives 1, so the logarithm of 1 is 0 in every base. It is the only input for which the natural logarithm is rational.

How are the digits computed?

By reducing the argument into the range 1 to 2 and then using the series for the inverse hyperbolic tangent, which converges about one decimal digit per term there. The implementation is checked against mpmath at 40 digits, including for arguments as small as 0.001 and as large as 10^30.

Is my data sent anywhere?

No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.

Does the Natural Log Calculator work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Natural Log Calculator keeps working with the network switched off and nothing is ever sent to a server.

Other tools you might reach for next.