How to Use the Log Calculator: Steps and a Worked Example
Calculate logarithms in any base, plus the natural log, log base 10 and log base 2. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Log Calculator tool is free, needs no account and runs in your browser.
What you need
- Number (x), for example 1000
- Base (b), for example 10
Step by step
- Open the Log Calculator tool.
- Fill in Number (x).
- Fill in Base (b).
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Number (x): 1000
- Base (b): 10
the tool returns:
log base 10 of 1,000 = 3
log₁₀ = 3
ln = 6.90775528
log₂ = 9.96578428
A second example
Changing Number (x) 1000 to 2000 gives:
log base 10 of 2,000 = 3.30103
log₁₀ = 3.30103
ln = 7.60090246
log₂ = 10.96578428
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
The calculation is: log_b(x) = ln(x) ÷ ln(b). Enter the number and the base. Use 10 for common logs, 2 for binary logs or 2.71828 for the natural log, and read the exponent that the base needs.
Things to keep in mind
Computed in your browser with standard double-precision arithmetic unless the page says otherwise. Very large or very small values may be rounded.
Related tools
If this is not quite what you need, try Cube Root Calculator, Combination Calculator or Permutation Calculator.