How to use
Enter the positive number whose logarithm you want and the base. The number must be greater than zero; the base must also be positive and cannot equal one. The result answers the question: what power must the base be raised to in order to produce x?
What the result means
For example, log base 2 of 32 is 5 because 2⁵ = 32. A base of 10 gives the common logarithm, while base e gives the natural logarithm. The change-of-base identity lets the calculator evaluate any valid base using natural logarithms. A negative or zero input has no real-valued logarithm, so the calculator rejects it rather than displaying a misleading result.
Further reading: OpenStax — Logarithmic Functions · Wolfram MathWorld — Logarithm · OpenStax — Key Equations for Logarithms.
Related calculators