Logarithm Calculator – log, ln, log₂ and Any Base, plus Antilog

Calculate logarithms in any base – common log (base 10), natural log (ln, base e), binary log (base 2) or a custom base – and the antilog. The answer comes with change-of-base working, and the log rules are listed for quick revision.

Log rules

How to calculate a logarithm

  1. Choose Logarithm, enter the number x and pick the base.
  2. Read the answer and the change-of-base working. log₁₀, ln and log₂ are always shown too.
  3. Use Antilog to go back: it calculates b raised to the power y.

What is a logarithm?

A logarithm answers "what power do I raise the base to, to get this number?" Since 10³ = 1000, log₁₀(1000) = 3. Logs turn multiplication into addition, which is why they're used for pH, decibels, earthquakes (Richter scale) and compound interest.

Frequently asked questions

What is ln?

ln is the natural logarithm, with base e ≈ 2.71828. It appears naturally in growth, decay and calculus.

Why is log of a negative number undefined?

A positive base raised to any real power is always positive, so no real power gives a negative number or zero.