Logarithm calculator

A logarithm answers: to what power must the base be raised to get this number?

Logarithm calculator

Greater than 0.
Base

Result

3Logarithm

Check: 10^3 = 1,000
ln (base e)
6.90775528
log (base 10)
3
log (base 2)
9.96578428

Logarithm calculator

Inputs

Number
1000
Base
10

How it is calculated

log_b(x) = ln(x) ÷ ln(b).

Result

Logarithm

3
ln (base e)
6.90775528
log (base 10)
3
log (base 2)
9.96578428

How it is calculated

  1. log_b(x) = ln(x) ÷ ln(b).
  2. Conditions: x > 0, b > 0 and b ≠ 1.
  3. Check: b^result = x.

Example

log₁₀(1,000) = 3, because 10³ = 1,000.

Good to know

  • The logarithm of zero or a negative number does not exist in real numbers.
  • Results are rounded to 8 decimal places.

When to use it

  • Find how many times you must double a value to reach a target, with a base-2 logarithm.
  • Work out a logarithm in an unusual base, such as log base 3 of 81.
  • For a root or a power instead, use the Square root, cube root and nth root calculator or the Exponent calculator (powers).

Frequently asked questions

Why is my logarithm negative?

The number is between 0 and 1. log₁₀(0.01) = −2, because 10⁻² = 0.01.

What is log of 1?

It is 0 in every base, because any base raised to the power 0 gives 1.

Where are logarithms used in everyday life?

Scales that cover huge ranges use them: pH, decibels and earthquake magnitudes. One step on such a scale means multiplying, not adding.

Updated October 10, 2026

Indicative result. For an important decision, check with a professional.