ScienForge

Logarithm calculator

Compute a logarithm in any base, with natural log, base 10 and base 2 shown alongside, plus the antilog.

log base 10 of 1000
3
Natural log (ln)6.9077553
Log base 103
Log base 29.9657843
Antilog (base^x)
e^x

A logarithm answers the question “what power do I raise this base to, to get this number?” log₁₀(1000) = 3 because 10³ = 1000. It is exactly the inverse of exponentiation.

log_b(x) = y  ⟺  b^y = x   log_b(x) = ln(x) / ln(b)

The three bases you actually meet

Base 10 for orders of magnitude, decibels, pH and the Richter scale. Base e ≈ 2.71828 for anything involving continuous growth or calculus, because the derivative of eˣ is itself. Base 2 for computer science, where it counts bits and the depth of binary trees.

The properties that make logs useful

log(ab) = log a + log b log(a/b) = log a − log b log(aⁿ) = n · log a

Logarithms turn multiplication into addition. Before calculators this is why slide rules and log tables existed, and it remains why logarithmic axes make exponential data legible: a curve that doubles at a constant rate becomes a straight line.

Change of base

Most calculators only have ln and log₁₀, but any base can be obtained by dividing: log₇(50) = ln(50)/ln(7). It does not matter which of the two you use as long as you use the same one twice.