Change of Base Formula

April 12, 2026

Problem

Evaluate log₅(17) using change of base: ln(17)/ln(5).

Explanation

Why we need change of base

Most calculators only have ln⁡\ln (natural log) and log⁡10\log_{10} buttons — no log⁡5\log_5 button. The change of base formula lets you evaluate any log using the buttons you have:

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

Both fractions give the same answer — use whichever logarithm your calculator has.

Step-by-step: Evaluate log⁡517\log_5 17

Step 1 — Apply the formula using natural log:

log⁡517=ln⁡17ln⁡5\log_5 17 = \frac{\ln 17}{\ln 5}

Step 2 — Compute each part on your calculator:

ln⁡17=2.8332\ln 17 = 2.8332 and ln⁡5=1.6094\ln 5 = 1.6094

Step 3 — Divide:

log⁡517=2.83321.6094=1.7604\log_5 17 = \frac{2.8332}{1.6094} = 1.7604

Step 4 — Check: Does 51.7604=175^{1.7604} = 17? 51.7604≈17.005^{1.7604} \approx 17.00 ✓

Why the formula works

If log⁡517=y\log_5 17 = y, then 5y=175^y = 17. Take ln⁡\ln of both sides: yln⁡5=ln⁡17y \ln 5 = \ln 17. Solve: y=ln⁡17/ln⁡5y = \ln 17 / \ln 5.

Try it in the visualization

Enter any base bb and argument xx. The formula is applied step by step using both ln⁡\ln and log⁡10\log_{10}. The result is verified by computing bresultb^{\text{result}}.

Interactive Visualization

Parameters

5.00
17.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Change of Base Formula | MathSpin