Ultimate Calculator
Math

Logarithm Calculator

Compute the logarithm of a number in any base, alongside its natural, common and binary logs.

log base 10 of 1,000

3

Natural log (ln)
6.907755279
Common log (log₁₀)
3
Binary log (log₂)
9.965784285
  1. Change of base: ln(1,000) ÷ ln(10)
  2. = 6.9077553 ÷ 2.3025851 = 3
  3. Check: 10^3 = 1,000

The formula

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

A logarithm answers the question “what power do I raise the base to, to get this number?” log₁₀(1000) is 3 because 10³ = 1000. The change-of-base rule lets you compute a log in any base from natural logs.

How to use this calculator

  1. Enter number.
  2. Enter base.
  3. Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.

Worked example

Using Number: 1000; Base: 10.

  1. Change of base: ln(1,000) ÷ ln(10)
  2. = 6.9077553 ÷ 2.3025851 = 3
  3. Check: 10^3 = 1,000

log base 10 of 1,000: 3

Common questions

What is the difference between log and ln?

log usually means base 10 and ln means base e (about 2.718). They differ by a constant factor: ln(x) = 2.3026 × log₁₀(x).

Why can’t I take the log of a negative number?

No real power of a positive base gives a negative result, so the logarithm is undefined in the real numbers.