What is the change of base formula?
log_b(a) equals ln(a)/ln(b) or log₁₀(a)/log₁₀(b).
Compute log_b(a) via ln(a)/ln(b) for positive a and positive b ≠ 1.
Provide a > 0 and base b > 0, b ≠ 1.
How to use Change of Base Calculator, plus the formulas and logic behind the results.
Most calculators only offer ln or log₁₀. Change of base lets you evaluate any valid logarithmic base.
log_b(a) = ln(a) / ln(b)log_b(a) = log₁₀(a) / log₁₀(b)Examples
Validates a > 0 and b > 0, b ≠ 1, then divides ln(a) by ln(b).
Base 1 is invalid because ln(1) = 0.
Common questions about this calculator and how to use the results.
log_b(a) equals ln(a)/ln(b) or log₁₀(a)/log₁₀(b).
Every power of 1 is 1, so log₁ is undefined.
Yes, if it is positive and not 1 (e.g. log_{0.5}(8) = −3).
Yes for real logarithms.
Yes, aside from floating-point rounding.
Whenever your calculator lacks the base you need.