Skip to content
M2TOOLKIT

Calculators · free tool

Logarithm Calculator

Find log_b(x) for any base, or go the other way with an antilog.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Calculators
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated
What do you want to find?

Result

log_10(1,000)
3
Natural log ln(x)
6.907755279
Common log log₁₀(x)
3
Binary log log₂(x)
9.9657842847
Check
10^3 = 1,000
How it was calculated
  1. log_b(x) = ln(x) ÷ ln(b)
  2. = 6.907755279 ÷ 2.302585093
  3. = 3

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Logarithm Calculator

  1. Choose log or antilog.
  2. Pick a base — 10, e, 2 or your own.
  3. Enter the number and read the result.

What does this tool do?

A logarithm answers the question “what power do I raise the base to, to get this number?”. log₁₀(1000) = 3 because 10³ = 1000. Natural logs use the base e ≈ 2.71828 and appear throughout growth, decay and calculus.

Any base can be calculated with the change-of-base rule log_b(x) = ln(x) ÷ ln(b). The calculator shows ln, log₁₀ and log₂ alongside your chosen base.

Why use it?

  • Any base, not just 10 and e.
  • Antilog mode for the reverse.
  • Change-of-base working shown.

Use cases

  • Maths homework and exam practice.
  • Growth and decay problems.
  • Computer science (log₂) and science scales like pH and decibels.

Everyday logs

log₂(1024) = 10, since 2¹⁰ = 1024 — that's why there are 1,024 bytes in a kibibyte.

ln(e²) = 2. pH and decibels are base-10 logarithms, so each step is a factor of 10.

Common mistakes

  • Confusing ln (base e) with log (often base 10).
  • Thinking log(a + b) = log a + log b — it's log(a × b).
  • Forgetting the base when reading a calculator result.

The formula

log_b(x) = ln(x) ÷ ln(b)
antilog_b(y) = bʸ

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

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

No real power of a positive base gives a negative result, so logarithms are only defined for positive numbers.

What is an antilog?

The reverse of a log: raise the base to the result. The antilog of 3 in base 10 is 1,000.

What is log of 1?

0 in any base, because b⁰ = 1.

How do I change the base?

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

Content last updated . See how M2Toolkit works.

Other tools people use alongside the logarithm calculator.