About this tool
A logarithm answers “to what power must the base be raised to get x?”. Common choices are base 10, base e (ln) and base 2.
How to use the Logarithm Calculator
- Enter the x and base.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
The change-of-base formula converts any base to natural logs.
Formula
log_b(x) = ln(x) / ln(b)
Frequently asked questions
What is log₂(1024)?
10.