Logarithm calculator

MA-21Math

Calculate common, natural, base-2 or any-base logarithms of a number.

Base
log₁₀ x
3
ln x
6.907755279
log₂ x
9.9657842847
Check: base to the power of the result
1,000

Last updated: October 2026 · Report a calculation error

What is a logarithm?

The base-b logarithm of x is the power you raise b to in order to get x: log₁₀ 1000 = 3 because 10³ = 1000. The common ones are base 10 (log), natural (ln, base e ≈ 2.718) and base 2 (log₂).

  • log(a × b) = log a + log b
  • log(a ÷ b) = log a − log b
  • log(aⁿ) = n × log a
  • change of base: log_b x = ln x ÷ ln b

Useful values

ExpressionValue
log₁₀ 20.30103
ln 20.693147
ln 102.302585
log₂ 102410
log₁₀ 0.01−2

Frequently asked questions

What's the difference between log and ln?

log usually means base 10 and ln means base e. They differ by a constant: ln x = log x × 2.302585.

Where are logarithms used?

In pH, decibels, the Richter scale and finance — for example in working out how long money takes to double (rule of 72).

See alsoWhole category

  1. MA-01Percentage calculatorFind X% of a number, what percent one number is of another and percentage change.
  2. MA-02Root and exponent calculatorCalculate the n-th root or any power of a number.
  3. MA-03Fraction calculatorAdd, subtract, multiply and divide fractions with automatic simplification.
  4. MA-04Number base converterConvert numbers between decimal, binary, octal and hexadecimal.