Logarithm Change of Base

log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}

Worked example: log₂(32) → 5 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

Solving for time →

Grade 11Grade 11 Math — Functions & Applications

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning.

See your Report Card
Compete with your friends
share your results
Learning zone

Logarithm Change of Base explained

Lxlogb x

Calculators carry two logarithm buttons, base 10 and base e, but questions arrive in every base — so change of base rewrites log⁡bx\log_b x as a ratio of logs you can actually press. Any common base works, because the conversion factors cancel: log₂32 = ln 32 / ln 2 = log₁₀32 / log₁₀2 = 5 either way. Solving in the other direction identifies an unknown base: if log⁡b1000=3\log_b 1000 = 3, then b=10001/3=10b = 1000^{1/3} = 10.

Logarithms exist for exactly this reason — to trade hard arithmetic for easy arithmetic. John Napier published Mirifici Logarithmorum Canonis Descriptio in 1614 after twenty years of hand calculation, and Laplace later said the invention, "by shortening the labours, doubled the life of the astronomer." Every slide rule, every log table, and every decibel, pH and Richter reading descends from it. The traps are domain traps: x must be strictly positive (no real power of a positive base ever gives zero or a negative), and the base must be positive and not 1. Note also which quantity goes where: log⁡bx\log_b x is ln x over ln b, argument on top; flipping them gives the reciprocal, so log₂8 = 3 becomes 0.333 if you invert.

Logarithm Change of Base formula

log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}
Where
  • LL= Logarithm value
  • xx= Argument
  • bb= Base

Missing one of these? Work it out first, then come back