Logarithm Calculator
Calculate the logarithm of a number in any base, plus ln, log₁₀ and log₂.
How to use the Logarithm Calculator
- Enter or choose the number.
- Enter or choose the base.
- Results update instantly as you type — press Calculate any time to refresh.
Formula
log_b(x) = ln(x) ÷ ln(b).
About this calculator
A logarithm answers "to what power must the base be raised to get this number?" Calculate logs in any base, along with natural log (base e), common log (base 10) and binary log (base 2).
Frequently asked questions
What is the natural log?
The logarithm with base e ≈ 2.71828, written ln.
Why can't I take the log of a negative number?
No real power of a positive base gives a negative result.