Calculate logarithms in any base with step-by-step solutions. Includes natural log (ln), common log (log₁₀), and custom base logarithms.
| Base | Notation | Value |
|---|
Logarithm Definition: logₐ(x) = y means aʸ = x
Change of Base Formula:
logₐ(x) = ln(x) / ln(a) = log₁₀(x) / log₁₀(a)
Common Logarithms:
Antilogarithm: antilogₐ(y) = aʸ
A logarithm answers the question "what power do I need to raise this base to, to get this number" - it's the inverse operation of exponentiation, which is exactly why logarithms are essential wherever exponential relationships need to be measured or compared on a manageable scale. The Richter scale for earthquake magnitude, the decibel scale for sound intensity, and the pH scale for acidity are all logarithmic, meaning each whole-number increase represents a tenfold (or similarly large) change in the underlying quantity, not a simple linear increase.
This logarithmic compression is genuinely necessary in these fields because the underlying quantities span such an enormous range - earthquake energy release, sound intensity, and hydrogen ion concentration all vary by many orders of magnitude, and a logarithmic scale makes numbers that would otherwise be unmanageably large or small easy to work with and compare.
Common logarithm (base 10, written log) and natural logarithm (base e, approximately 2.71828, written ln) are the two most frequently used logarithm bases - base 10 aligns naturally with the decimal number system for everyday scale measurements, while base e arises naturally in calculus, compound growth modeling, and many areas of advanced mathematics and science. Calculating something like the log of 170 by hand is genuinely impractical without logarithm tables or a calculator, which is exactly the kind of lookup this tool is built to handle instantly.
A logarithm answers the question: "To what power must we raise the base to get this number?" For example, log₁₀(100) = 2 because 10² = 100. Logarithms are the inverse operation of exponentiation.
ln (natural log) uses base e (Euler's number ≈ 2.71828), while log typically means base 10 (common log). Natural logs are fundamental in calculus and continuous growth, while common logs are used in engineering and pH calculations.
No, logarithms of negative numbers are undefined in real numbers. The result would be a complex number with an imaginary part. For real logarithms, the input must be positive. Our calculator requires positive inputs.
The logarithm of 1 is always 0 in any base, because any number raised to the power of 0 equals 1. logₐ(1) = 0 for any valid base a > 0, a ≠ 1.
Logarithms are used in: measuring sound intensity (decibels), earthquake magnitude (Richter scale), pH levels, radioactive decay, population growth models, compound interest calculations, and many scientific and engineering applications.
It answers the question of what power you need to raise a given base to, in order to get a specific number - the inverse of exponentiation.
Because the underlying quantities (earthquake energy, sound intensity) span such an enormous range that a logarithmic scale compresses them into more manageable, comparable numbers.
Log typically refers to base-10 logarithm, while ln refers to natural logarithm (base e), which arises naturally in calculus and compound growth calculations.