Quick Answer
log base 10 of 1000 is 3. The natural logarithm of 20 is approximately 2.9957.
Common Logarithm (Base 10)
Natural Logarithm (Base e)
Custom Base Logarithm
Common Examples
| Input | Result |
|---|---|
| log10(1000) | 3 |
| ln(20) | 2.9957 |
| log2(256) | 8 |
| log10(50) | 1.699 |
| log5(625) | 4 |
How It Works
The Formula
A logarithm is the inverse of exponentiation. If b^n = x, then:
log_b(x) = n
In words: the logarithm base b of x is the exponent n to which b must be raised to produce x.
Common Logarithm (log or log10): Uses base 10. Widely used in science, engineering, and the decibel scale. log_10(100) = 2 because 10^2 = 100.
Natural Logarithm (ln): Uses base e (approximately 2.71828). Euler’s number e is the base of natural exponential growth and appears throughout calculus, physics, and finance. ln(e) = 1 because e^1 = e.
Change-of-Base Formula: To compute a logarithm with any base using the natural log (or any other base):
log_b(x) = ln(x) / ln(b)
This formula works because if log_b(x) = n, then b^n = x, and taking ln of both sides gives n * ln(b) = ln(x), so n = ln(x) / ln(b).
Key Logarithm Properties
- Product rule: log_b(x * y) = log_b(x) + log_b(y)
- Quotient rule: log_b(x / y) = log_b(x) - log_b(y)
- Power rule: log_b(x^n) = n * log_b(x)
- Identity: log_b(b) = 1 and log_b(1) = 0
Worked Example
To find log_2(256): using the change-of-base formula, log_2(256) = ln(256) / ln(2) = 5.5452 / 0.6931 = 8. This checks out because 2^8 = 256.
To find log_10(50): log_10(50) = ln(50) / ln(10) = 3.912 / 2.3026 = 1.699. Verification: 10^1.699 = 50.
To find ln(100): ln(100) = 4.6052. Verification: e^4.6052 = 100.
CalculateY