Any base · ln · log₁₀ · Change of base

Logarithm Calculator

Logarithms to any base, plus natural and common logs — with the change-of-base formula worked out and powers tabled for intuition.

log10(x)

2

exact: 10^2 = 100

ln(x) · base e

4.605170186

natural logarithm

log₁₀(x)

2

common logarithm

log₂(x)

6.6438561898

binary logarithm

Change of base

log10(100) = ln(100) ÷ ln(10)
= 4.605170186 ÷ 2.302585093 = 2

Any logarithm can be computed from natural logs — this is exactly how calculators do it internally.

Powers of 10

10-2

0.01

10-1

0.1

100

1

101

10

102

100

103

1000

The log answers "which row is my number on?" — 100 sits at row 2.

Logs undo exponentials

Growth, decay, doubling times and half-lives are all exponential — logarithms are the tool that solves for the time or the rate.

Three log laws

log(ab) = log a + log b · log(a/b) = log a − log b · log(aⁿ) = n·log a. Nearly every log manipulation is one of these three.

Domain: x > 0 only

No real power of a positive base is zero or negative, so log(0) and log(−5) are undefined — the calculator enforces this honestly.

How to use the logarithm calculator

  1. Enter your number

    The value x — must be positive, since real logarithms are undefined otherwise.

  2. Choose a base

    Any positive base except 1. Quick-picks cover binary, common and natural logs.

  3. Read all four logs

    Your base plus ln, log₁₀ and log₂ — so you never need to convert by hand.

  4. Study the working

    The change-of-base calculation and the powers table show exactly where the answer comes from.

Real logarithms only — complex logarithms of negative numbers are outside this tool's scope.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer: results are rounded to 10 decimal places. Exact forms (e.g. log₂8 = 3) are flagged where they occur; irrational results are approximations.