Logarithm Calculator

Compute the logarithm of a number in any base, plus natural log (ln), log₁₀ and log₂.

Results

log_b(x)—
ln(x)—
log₁₀(x)—
log₂(x)—

How to use the Logarithm Calculator

  1. Enter or select: Number x, Base b.
  2. The results (log_b(x), ln(x), log₁₀(x), log₂(x)) are calculated instantly as you type.
  3. Use “Copy link” to share the calculation with the same input values.

Formula

  • log_b(x) = ln(x) / ln(b)