Log, ln and Change-of-Base Calculator

log_b(x) = ln x ÷ ln b for any positive base other than 1; also log₁₀, log₂ and ln.

How to use it

Enter x > 0 and base b > 0, b ≠ 1. The result uses the change-of-base formula.

Example: with Number 1000, Base 10, the result is log base 10 of 1,000 3.

Common questions

Why can the base not be 1?

Every power of 1 equals 1, so the log would not be defined.

Can x be negative?

Not for real logs.

More calculators