Log Calculator
Choose logarithm or antilogarithm, enter a number and base, and get the exact result. Common, natural and base-2 shortcuts are included.
Logarithmic & Exponential Calculations
Logarithm Result
What is a logarithm?
A logarithm answers the question: to what power must the base be raised to get this number? For example log₁₀(1000) = 3 because 10³ = 1000. It is the inverse operation of exponentiation.
Logarithms compress multiplication into addition: log(x × y) = log(x) + log(y). That property made them the foundation of slide rules and scientific tables before electronic calculators, and it still powers logarithmic scales in sound, earthquakes and pH.
Common, natural and base-2 logs
The common logarithm uses base 10 and is written log or log₁₀. The natural logarithm uses base e (≈ 2.71828) and is written ln. Base-2 logs are essential in computer science for measuring bits and algorithm complexity.
The change-of-base formula, logₓ(a) = log(a) / log(x), lets you compute a logarithm in any base from any other. This calculator applies it automatically for custom bases.
How to use this calculator
- Choose Logarithm or Antilogarithm mode.
- Enter the number (for a logarithm) or the exponent (for an antilog).
- Pick a base: 10, e, 2 or a custom base.
- Press Calculate and read the result plus its meaning.
Pro tips
- Remember log(1) = 0 and log(base) = 1 for any valid base.
- Use log₂ for computer-science problems like binary search depths.
- Antilog answers 'the base raised to which exponent gives this value'.
Advantages & considerations
✅ Advantages
- Any base, including custom values
- Antilogarithm mode built in
- Shows the exponential meaning of every result
⚠️ Considerations
- Input must be positive for logarithms
- Base cannot be 1 or negative