What a logarithm is
A logarithm answers the question "to what power must I raise the base to get this number?" The log base b of x is the exponent y such that by = x. Logs turn multiplication into addition, which is why they underpin slide rules, decibels, pH and the Richter scale.
Three bases are so common they have names: log (base 10, the common log), ln (base e ≈ 2.71828, the natural log) and log₂ (base 2, used in computing and information theory). This tool reports all of them plus your custom base.
Worked example
Find log base 2 of 1000:
Change of base
Calculators compute natural and common logs directly; any other base comes from the change-of-base formula: logb(x) = ln(x) ÷ ln(b). That is how this tool handles your custom base. Logarithms are only defined for positive numbers, and the base must be positive and not equal to 1 - the calculator flags those cases. The antilog (b raised to the result) confirms the answer round-trips back to x. Everything is computed in your browser.