Logarithm Calculator
Calculate the logarithm of a number in any base, plus the common (base 10), natural and binary logarithms at a glance.
Definition: log_b(x) = y means b^y = x. The logarithm answers the question: to what power must the base be raised to get this number?
Change of Base: log_b(x) = ln(x) / ln(b), which is how calculators evaluate any base from the natural log.
Example:
x = 100, base = 10
log_10(100) = 2, because 10^2 = 100
ln(100) = 4.6052
log_2(100) = 6.6439 (because 2^6.6439 = 100)
Frequently Asked Questions
Why can the number not be zero or negative?
No power of a positive base ever reaches zero or a negative value: 10^y is always positive, shrinking towards zero but never touching it. So logarithms of zero and negative numbers do not exist among real numbers (they exist in complex mathematics).
What is the difference between log, ln and log2?
Only the base. log usually means base 10 (engineering and science scales), ln means base e (about 2.718, growth and calculus), and log2 means base 2 (computing, where it counts doublings and bits).