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.