🍋 Math Tools

Logarithm Calculator

Calculate log₁₀, ln, log₂, and custom base logarithms

Free Browser-only No sign-up
chars words sentences lines

Type or paste something into the Input box to enable this button.

Results

Result

About Logarithm Calculator

Compute logarithms in any base with common identities, change-of-base formula, and antilog. Supports log₁₀, natural log (ln), log₂, and custom bases.

Step by Step

  1. 1 Enter a number to calculate its logarithm
  2. 2 Optionally specify 'number base' (e.g., '100 2' for log₂(100))
  3. 3 Review results across all common bases
  4. 4 See identities and antilog values

Tips

  • log₁₀ is used for decibels and pH scales
  • ln (natural log) is essential in calculus and compound interest
  • log₂ is fundamental in computer science (bits, binary search)

Frequently Asked Questions

What is a logarithm?
The inverse of exponentiation — log_b(x) asks 'what power of b gives x?' For example, log₂(8) = 3 because 2³ = 8.
Why is log(0) undefined?
No finite exponent can make a positive base equal zero. As x approaches 0, log(x) approaches negative infinity.