Skip to content
TabKiwiTabKiwi

Logarithm Calculator

Logarithm of a number in any base, plus ln, log₁₀ and log₂, with a quick check of the answer.

UtilitiesRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Enter a positive number and a base to find the exponent that turns the base into that number. The common, natural and binary logarithms are shown alongside, and a check line confirms that the base raised to the result gives your number back. Invalid inputs such as zero, negatives or base 1 get a clear explanation.

How to use Logarithm Calculator

  1. Enter the number x.
  2. Enter the base b (for example 10, 2 or 2.71828).
  3. Read log_b(x) and the related logarithms.

Frequently asked questions

Why can't I take the log of 0 or a negative number?

No power of a positive base ever gives 0 or a negative number, so the logarithm is undefined there for real numbers.

How is a log in an unusual base calculated?

With the change-of-base rule: log_b(x) = ln(x) ÷ ln(b).

What's the difference between log and ln?

ln is the natural logarithm with base e ≈ 2.71828. log usually means base 10, though some fields use it for ln — check the context.

More Utilities tools

View all 78 →