Overview
A logarithm answers the question: what power must the base be raised to in order to get this number? Since 10³ = 1,000, log₁₀(1,000) = 3.
Enter a number and a base. The natural log (base e) and binary log (base 2) are shown too.
Worked examples
| Inputs | Result |
|---|---|
| Number1,000Base10 | log base 10 of 1,000 = 3Natural log (ln): 6.90776Common log (log₁₀): 3Binary log (log₂): 9.96578 |
Show 3 more examples
| Number100Base10 | log base 10 of 100 = 2Natural log (ln): 4.60517Common log (log₁₀): 2Binary log (log₂): 6.64386 |
| Number64Base2 | log base 2 of 64 = 6Natural log (ln): 4.15888Common log (log₁₀): 1.80618Binary log (log₂): 6 |
| Number20Base2.718282 | log base 2.71828 of 20 = 2.995732274Natural log (ln): 2.99573Common log (log₁₀): 1.30103Binary log (log₂): 4.32193 |
Logarithm by base
With the calculator's starting values, the result is 3. The table shows how it changes with the base.
| Base | Logarithm |
|---|---|
| 6 | 3.855291627 |
| 8 | 3.321928095 |
| 10starting value | 3 |
| 12 | 2.779885224 |
| 14 | 2.617508609 |
Other inputs: Number: 1,000. Change them in the calculator above for your own numbers.
How it works
Any logarithm can be computed with the change-of-base rule: log_b(x) = ln(x) ÷ ln(b).
The formula
| x | The number (must be positive) |
| b | The base (positive, not 1) |
Practical tips
- Logarithms turn multiplication into addition: log(ab) = log a + log b.
- Decibels, pH and the Richter scale are all logarithmic.
Frequently asked questions
What is log base 2 of 1,024?
10.
Why can I not take the log of zero or a negative number?
No power of a positive base can give zero or a negative result.