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⁡25\log_{2} 5

2.321928\displaystyle 2.321928

Exponential form

22.321928≈5\displaystyle 2^{2.321928} \approx 5

Change of base

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

Decimal

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

    A calculator has natural logarithms, so change the base: divide ln⁡x\ln x by ln⁡b\ln b. Here x=5x = 5 and b=2b = 2.

    Using log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}

    log⁡25=ln⁡5ln⁡2\log_{2} 5 = \frac{\ln 5}{\ln 2}
  2. Evaluate the logarithms

    Work out the two natural logarithms and divide: the value is approximately 2.3219282.321928.

    =1.6094380.693147=2.321928\begin{aligned} &= \frac{1.609438}{0.693147} \\ &= 2.321928 \end{aligned}
  3. Result

    So log⁡25≈2.321928\log_{2} 5 \approx 2.321928.

Worked examples