🔍

Log Calculator

Calculate logarithms in any base with step-by-step solutions. Includes natural log (ln), common log (log₁₀), and custom base logarithms.

Logarithm Results

logₐ(x) 0
Antilog (aˣ) 0

Comparison Table

Base Notation Value

Step-by-Step Calculation

How to Use the Log Calculator

  1. Enter the number (x) you want to find the logarithm of.
  2. Select the base: common log (10), natural log (e), binary log (2), or custom.
  3. If custom base is selected, enter the base value.
  4. Click "Calculate Logarithm" to see the result.
  5. Review the comparison table and step-by-step calculation.

Formulas Used

Logarithm Definition: logₐ(x) = y means aʸ = x

Change of Base Formula:

logₐ(x) = ln(x) / ln(a) = log₁₀(x) / log₁₀(a)

Common Logarithms:

  • log₁₀(x) = common logarithm (base 10)
  • ln(x) = natural logarithm (base e ≈ 2.71828)
  • log₂(x) = binary logarithm (base 2)

Antilogarithm: antilogₐ(y) = aʸ

What Logarithms Actually Measure and Why They're Useful

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 Log vs. Natural Log

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.

Frequently Asked Questions

What is a logarithm?

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.

What's the difference between ln and log?

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.

Can I take the log of a negative number?

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.

What is log of 1?

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.

When would I use logarithms in real life?

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.

What does a logarithm actually calculate?

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.

Why are the Richter and decibel scales logarithmic?

Because the underlying quantities (earthquake energy, sound intensity) span such an enormous range that a logarithmic scale compresses them into more manageable, comparable numbers.

What's the difference between log and ln?

Log typically refers to base-10 logarithm, while ln refers to natural logarithm (base e), which arises naturally in calculus and compound growth calculations.