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 log10\log_{10} buttons — no log5\log_5 button. The change of base formula lets you evaluate any log using the buttons you have:

logbx=lnxlnb=logxlogb\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 log517\log_5 17

Step 1 — Apply the formula using natural log:

log517=ln17ln5\log_5 17 = \frac{\ln 17}{\ln 5}

Step 2 — Compute each part on your calculator:

ln17=2.8332\ln 17 = 2.8332 and ln5=1.6094\ln 5 = 1.6094

Step 3 — Divide:

log517=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.760417.005^{1.7604} \approx 17.00

Why the formula works

If log517=y\log_5 17 = y, then 5y=175^y = 17. Take ln\ln of both sides: yln5=ln17y \ln 5 = \ln 17. Solve: y=ln17/ln5y = \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 log10\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