Logarithm Calculator

Find a logarithm in any base, exactly where possible.

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

The base; the letter e means the natural base.

Try

Result

You enteredlog⁡28\log_{2} 8

3\displaystyle 3

Exponential form

23=8\displaystyle 2^{3} = 8

Change of base

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

Decimal

3\displaystyle 3
Show the work
  1. Common base

    Write the base and the number as powers of the same rational number cc. Here 2=212 = 2^{1} and 8=238 = 2^{3}.

    2=218=23\begin{gathered} 2 = 2^{1} \\ 8 = 2^{3} \end{gathered}
  2. Compare the exponents

    A logarithm asks which exponent gives the number, so the answer is m/km/k. Here m=3m = 3 and k=1k = 1.

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

    log⁡28=31=3\begin{aligned} \log_{2} 8 &= \frac{3}{1} \\ &= 3 \end{aligned}
  3. Result

    So log⁡28=3\log_{2} 8 = 3.

Worked examples