Logarithm Calculator

Log of a number to base 10, 2, e or any base you pick.

How it works

A logarithm answers "what power must the base be raised to, to give this number?" log10(1000) = 3 because 10^3 = 1000. Choose base 10, 2, e (the natural log, ln) or your own base. The tool also shows all three common logs at once.

The formula

log_b(x) = ln(x) / ln(b)

Worked example

log2(8) = 3, log10(1000) = 3, ln(e) = 1, and log base 5 of 125 = 3.

Good to know

Common questions

What is the difference between log and ln?
log usually means base 10 and ln means base e (about 2.718).
What is log of 1?
0 in every base.
What is an antilog?
The inverse: raise the base to the answer. antilog10(3) = 1000.

More in Utilities.