Free online tools to generate, calculate,
convert, format, encode, and play.
 

Logarithm Calculator

Calculate the logarithm of any positive number with any positive base. Supports common log (base 10), natural log (base e), and binary log (base 2).

Base
Value (x)

How It Works

The logarithm answers the question: "To what power must the base be raised to produce a given number?" If by = x, then logb(x) = y.

For example, log10(1000) = 3 because 103 = 1000.

Common Logarithm Types

  • Common log (log10) — Base 10, widely used in science and engineering
  • Natural log (ln) — Base e ≈ 2.71828, fundamental in calculus and physics
  • Binary log (log2) — Base 2, essential in computer science and information theory

Change of Base Formula

Any logarithm can be computed using the change of base formula:

logb(x) = ln(x) / ln(b) = log(x) / log(b)

Logarithm Properties

logb(1) = 0
logb(b) = 1
logb(x × y) = logb(x) + logb(y)
logb(x / y) = logb(x) − logb(y)
logb(xn) = n × logb(x)
blogb(x) = x

Common Logarithm Values

x log10(x) ln(x) log2(x)
0.01−2−4.6052−6.6439
0.1−1−2.3026−3.3219
1000
20.30100.69311
e0.434311.4427
1012.30263.3219
10024.60526.6439
100036.90789.9658

Applications of Logarithms

  • Decibels — Sound intensity measured on a logarithmic scale (base 10)
  • pH Scale — Acidity measured as −log10 of hydrogen ion concentration
  • Richter Scale — Earthquake magnitude uses base-10 logarithms
  • Information Theory — Entropy and data compression use base-2 logarithms (bits)
  • Compound Interest — Time to double an investment: t = ln(2) / ln(1 + r)
  • Algorithm Analysis — Binary search and balanced trees have O(log n) complexity

Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with