Logarithm Calculator
Compute the logarithm of any value in any base using the change-of-base formula, with quick presets for natural log, log base 10 and log base 2. Free and instant.
About Logarithm Calculator
The Logarithm Calculator computes log base b of x for any positive value and any valid base. Quick presets cover the three logs you meet most often — natural log ln(x), common log log₁₀(x) and binary log log₂(x) — and a custom field accepts any other base.
A logarithm answers “to what power must the base be raised to get x?”: log₂(8) = 3 because 2³ = 8. For arbitrary bases the tool applies the change-of-base formula, logb(x) = ln(x) ÷ ln(b). The value must be positive, and the base must be positive and not equal to 1.
Logarithms appear everywhere exponential behavior does — pH in chemistry, decibels in audio, Richter magnitudes, algorithm complexity and compound growth. This free calculator gives an instant, in-browser answer without a scientific calculator.
How to use Logarithm Calculator
- Enter the value x — it must be positive.
- Pick a base: the ln, log₁₀ or log₂ preset, or choose Custom and type any base.
- Read the result, computed with the change-of-base formula.