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⁡927\log_{9} 27

32\displaystyle \frac{3}{2}

Using natural logs

ln⁡27ln⁡9\displaystyle \frac{\ln 27}{\ln 9}

Using common logs

log⁡27log⁡9\displaystyle \frac{\log 27}{\log 9}

Decimal

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

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

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

    log⁡927=ln⁡27ln⁡9\log_{9} 27 = \frac{\ln 27}{\ln 9}
  2. Evaluate the logarithms

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

    =3.2958372.197225≈1.5= \frac{3.295837}{2.197225} \approx 1.5
  3. Common base

    The base and the number are powers of the same number cc, so the logarithm is exactly m/km/k. Here b=32b = 3^{2} and x=33x = 3^{3}.

    Using log⁡ck(cm)=mk\log_{c^k}\left(c^m\right) = \frac{m}{k}

    log⁡927=32\log_{9} 27 = \frac{3}{2}
  4. Result

    So log⁡927=32\log_{9} 27 = \frac{3}{2}.

Worked examples