What the Logarithm Calculator does
A logarithm answers the question “what power do I raise the base to, to get this number?” The Logarithm Calculator finds the common log (base 10), the natural log (base e, written ln), the binary log (base 2) or a log to any base you choose. Switch to antilog to go the other way and raise the base to a power. Logs turn multiplication into addition, which is why they appear in the pH scale, decibels, the Richter scale and compound growth.
How to use it
- Choose logarithm or antilog.
- Choose the base, or Other base and type it.
- Enter the number and read the result with its meaning and the change-of-base working.
Example
log₁₀ 1000 is 3, because 10³ = 1000. log₂ 8 is 3, because 2³ = 8. ln 1000 is about 6.9078. The antilog base 10 of 2.5 is 10^2.5 ≈ 316.23.
Change of base
Calculators usually have only log and ln keys. To find a log to any other base, divide: log_b x = ln x ÷ ln b. For example, log₃ 81 = ln 81 ÷ ln 3 = 4.3944 ÷ 1.0986 = 4.
Useful laws: log(xy) = log x + log y, log(x ÷ y) = log x − log y, and log(xⁿ) = n log x. Logs are defined only for numbers greater than zero, and the base must be positive and not 1.
Questions people ask
Is anything I enter sent anywhere?
No. The calculator works entirely in your browser, so your numbers stay on your device.
What is e?
e ≈ 2.71828 is the base of natural logarithms. It appears naturally in continuous growth and decay, such as interest compounded continuously.
Why is the log of a negative number undefined?
A positive base raised to any real power is always positive, so no power gives zero or a negative number. Logs of zero and negative numbers have no real answer.
What is log base 2 used for?
Counting doublings and bits. log₂ 1024 = 10 means 1,024 is ten doublings of 1, and a number up to 1,024 needs 10 binary digits.