Change of base formula
Works out a logarithm in any base using the ln or log₁₀ button on a calculator.
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- Every log curve passes through (1, 0) and (b, 1). Dashed: y = bˣ, its mirror image in y = x.
- b > 1: the curve rises.
What the symbols mean
- the logarithm you want,
- the base you want (positive, not 1)
- the number (positive)
- natural log (base e)
- common log (base 10)
When to use it
Use it whenever you need a log in a base your calculator does not have, such as or (how many bits to count to 1000). Either ln or log₁₀ gives the same answer, as long as you use the same one on top and bottom.
Worked example
Find log₃ 50 (b = 3, x = 50).
Start from the formula.
Substitute = , = and work it out.
Using common logs instead gives the same answer: .
Answer log₃ 50 ≈ 3.5609
Why it works
Let , so . Take ln of both sides: , then divide by .
Common mistakes
- Putting the base on top: it is , the number over the base.
- Cancelling the logs: is not or .