Logarithm Calculator

Calculate logarithms in any base: natural log (ln), log base 10, and custom bases.

log(1000)

3.

base 10

log₁₀(1000)3.
ln(1000) [natural log]6.90775528
log₂(1000)9.96578428
Common Logarithm Values
nlog₁₀(n)ln(n)log₂(n)
10.00000.00000.0000
20.30100.69311.0000
30.47711.09861.5850
40.60211.38632.0000
50.69901.60942.3219
60.77821.79182.5850
70.84511.94592.8074
80.90312.07943.0000
90.95422.19723.1699
101.00002.30263.3219
201.30102.99574.3219
501.69903.91205.6439
1002.00004.60526.6439
10003.00006.90789.9658

How to Use the Logarithm Calculator

  1. Log mode. Enter any positive number to find its logarithm. Results are shown simultaneously for base 10 (log), base e (ln), and base 2 (log₂), plus a custom base of your choice. The number must be positive; logarithms of zero and negative numbers are undefined in real numbers.
  2. Antilog mode. Enter an exponent to find the original number. This is the inverse operation: if log₁₀(x) = 3, then antilog₁₀(3) = 10³ = 1000. Useful for reversing scientific notation calculations.
  3. Custom base. Enter any positive number (except 1) as the base for a custom logarithm. The calculator uses the change-of-base formula: log_b(x) = ln(x) / ln(b).

Quick check: log₁₀(100) = 2 because 10² = 100. ln(1) = 0 because e⁰ = 1. log₂(8) = 3 because 2³ = 8.

Logarithm Rules and Formulas

Definition:         log_b(x) = y  means  b^y = x

Product rule:       log(a × b) = log(a) + log(b)
Quotient rule:      log(a / b) = log(a) - log(b)
Power rule:         log(aⁿ) = n × log(a)
Change of base:     log_b(x) = log(x) / log(b)

Special values:
log_b(1) = 0   (any base)
log_b(b) = 1   (any base)
log_b(0) = undefined
ln(e) = 1      (natural log)

Common logarithms and their uses:

TypeBaseNotationCommon Uses
Common log10log(x)pH, Richter scale, decibels
Natural loge ≈ 2.718ln(x)Calculus, finance, growth models
Binary log2log₂(x)Computer science, information theory

Frequently Asked Questions

A logarithm answers the question: what exponent do I need to raise this base to in order to get this number? log₁₀(1000) = 3 because 10³ = 1000. log₂(32) = 5 because 2⁵ = 32. Think of it as the inverse of exponentiation: if exponentiation asks "what is 10 raised to the 3rd power?" (answer: 1000), the logarithm asks "10 raised to what power gives 1000?" (answer: 3). Logarithms turn multiplication into addition and division into subtraction, which is why slide rules used log scales.

Related Calculators