Logarithm Calculator

Compute the logarithm of a number to any base.

Last updated: 25 Aug 2026

Quick answer

A logarithm answers "what power gives this number?" — logₐ(x). For example, log₁₀(1000) = 3 and log₂(8) = 3. Enter the number and base above.

Compute a logarithm to any base: logₐ(x) = ln(x) ÷ ln(a). Use base 10 for common log, or ~2.71828 for natural log.

How to calculate a logarithm

  1. 1 Enter the number.
  2. 2 Enter the base (10 for common log).
  3. 3 We compute the logarithm.

Frequently asked questions

What is a logarithm?
The power a base must be raised to in order to get a number — log₁₀(1000) = 3 because 10³ = 1000.
What is natural log (ln)?
A logarithm with base e (≈2.71828); enter 2.71828 as the base to approximate it.
What is log base 2 used for?
Common in computing and information theory (bits).

Related checkers