The number must be greater than 0.
The base must be greater than 0 and cannot be 1.
log₁₀(1000)
-
--
--
--
--
Common logarithm values
| Number | log₁₀ | ln | log₂ |
|---|
What is a logarithm?
A logarithm answers the question: "What power must I raise the base to, to get this number?" If b^y = x, then the logarithm of x to base b is y, written log_b(x) = y. For example, 10³ = 1,000, so log₁₀(1,000) = 3.
log_b(x) = y means b^y = x
Change of base: log_b(x) = ln(x) ÷ ln(b) = log₁₀(x) ÷ log₁₀(b)
Antilogarithm: antilog_b(y) = b^y
Change of base: log_b(x) = ln(x) ÷ ln(b) = log₁₀(x) ÷ log₁₀(b)
Antilogarithm: antilog_b(y) = b^y
The three common bases
- Base 10 is the common logarithm, written log or log₁₀. log₁₀(100) = 2.
- Base e (e ≈ 2.71828) is the natural logarithm, written ln. ln(e) = 1.
- Base 2 is the binary logarithm, written log₂ or lb. log₂(8) = 3.
In some school books and programming languages, "log" on its own means the natural logarithm instead of base 10. This calculator labels the base every time, so there is no doubt.
Examples
- log₅(125) = 3, because 5³ = 125.
- log₃(81) = 4, because 3⁴ = 81.
- log₁₀(0.001) = −3, because 10⁻³ = 0.001.
- log₁₀(2) ≈ 0.30103. This is not a whole number, because 2 is not an exact power of 10.
Useful rules
- log_b(x × y) = log_b(x) + log_b(y)
- log_b(x ÷ y) = log_b(x) − log_b(y)
- log_b(x^n) = n × log_b(x)
- log_b(1) = 0 and log_b(b) = 1
Things to remember
- You can only take the logarithm of a number greater than 0. Zero and negative numbers have no real logarithm.
- The base must be greater than 0 and cannot be 1.
- The logarithm of a number between 0 and 1 is negative.
- The antilogarithm undoes the logarithm. It is the same as raising the base to a power.
- Logarithms are used for quantities that span a very wide range of values, such as pH, decibels and earthquake magnitudes, and for working out how long growth takes.
To see logarithms at work in growth, try the Compound Interest Calculator. For other maths tools, use the Cube Root Calculator or the Factorial Calculator.
