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
- Logs only exist for numbers above zero.
- Change of base: log_b(x) = ln(x) / ln(b). That is how the tool does any base.
- log2 is used in computer science (bits, binary search), ln in calculus and growth.
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.
Add or Subtract Days
Find the date that is some days, weeks, months, years or working days from a date, and see the weekday and week number.
OPEN →Age CalculatorYour exact age in years, months and days, the day you were born, your next birthday, and the age gap with another person.
OPEN →Area ConverterConvert square metres, square feet, acres, hectares and more.
OPEN →