Log Calculator

Calculate logarithms with any base — natural log (ln), common log (log₁₀), binary log (log₂), or custom base.

The number to calculate the logarithm of (must be positive).

The logarithm base to use.

Enter a custom base if you selected "Custom Base" above.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

What Are Logarithms?

A logarithm answers the question: "To what power must the base be raised to get this number?" If 10² = 100, then log₁₀(100) = 2. Logarithms are the inverse of exponentiation. They transform multiplication into addition and are essential tools in mathematics, science, and engineering.

Types of Logarithms

Common log (log₁₀): used in pH scales, decibels, and earthquake magnitude. Natural log (ln, base e): used in calculus, continuous growth, and physics. Binary log (log₂): used in computer science and information theory. Each base serves specific applications in different fields.

Logarithm Properties

Key rules: log(a×b) = log(a) + log(b), log(a/b) = log(a) - log(b), log(a^n) = n×log(a), log(1) = 0, log_b(b) = 1. The change of base formula: log_b(x) = log(x) / log(b), which lets you convert between any bases.

Logarithms in Real Life

The Richter scale uses log₁₀ (each step = 10× energy). Decibels use log₁₀ for sound intensity. pH is -log₁₀ of hydrogen ion concentration. In finance, logarithmic returns are used for portfolio analysis. Computer scientists use log₂ to analyze algorithm complexity (O(log n)).

Frequently Asked Questions