Log Base 2 Calculator

Find the base-2 logarithm of a positive number, 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⁡214\log_{2} \frac{1}{4}

−2\displaystyle -2

Exponential form

2−2=14\displaystyle 2^{-2} = \frac{1}{4}

Change of base

ln⁡14ln⁡2\displaystyle \frac{\ln \frac{1}{4}}{\ln 2}

Decimal

−2\displaystyle -2
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 14=2−2\frac{1}{4} = 2^{-2}.

    2=2114=2−2\begin{gathered} 2 = 2^{1} \\ \frac{1}{4} = 2^{-2} \end{gathered}
  2. Compare the exponents

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

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

    log⁡214=−21=−2\begin{aligned} \log_{2} \frac{1}{4} &= \frac{-2}{1} \\ &= -2 \end{aligned}
  3. Result

    So log⁡214=−2\log_{2} \frac{1}{4} = -2.

Worked examples