Change of Base Calculator

Rewrite a logarithm in a new base and find its value.

The number whose logarithm you want; it must be positive.

The base; the letter e means the natural base.

Optional: the base to change to; leave it empty for natural logs.

Try

Result

You enteredlog⁡210\log_{2} 10

3.321928\displaystyle 3.321928

Using natural logs

ln⁡10ln⁡2\displaystyle \frac{\ln 10}{\ln 2}

Using common logs

log⁡10log⁡2\displaystyle \frac{\log 10}{\log 2}

Decimal

3.321928\displaystyle 3.321928
Show the work
  1. Change of base formula

    Any new base cc gives the same value. Here cc is ee (natural logarithms), x=10x = 10 and b=2b = 2.

    Using log⁡bx=log⁡cxlog⁡cb\log_b x = \frac{\log_c x}{\log_c b}

    log⁡210=ln⁡10ln⁡2\log_{2} 10 = \frac{\ln 10}{\ln 2}
  2. Evaluate the logarithms

    Work out the two natural logarithms and divide the top by the bottom.

    =2.3025850.693147≈3.321928= \frac{2.302585}{0.693147} \approx 3.321928
  3. Result

    So log⁡210≈3.321928\log_{2} 10 \approx 3.321928.

Worked examples