lifekit

Search tools

Type a tool name, then press Enter to open it.

Logarithm calculator

Find log base b of x, ln, log10, or log2, or solve b^y = x for x or the base, with change-of-base steps and a check of the answer.

  • Free
  • Runs in your browser
  • Nothing is uploaded

How to use it

  1. Pick Find the log to work out log base b of x, or solve for x or the base instead.
  2. Choose base 10, e (for ln), 2, or enter your own base.
  3. Enter the other numbers. x has to be above 0, and the base has to be above 0 and not 1.
  4. Read the answer, the change-of-base steps, and the check, then copy it if you need it.

Private by design

Everything runs on your device. Nothing you enter or open here is uploaded.

Questions

Use the change-of-base formula: log_b(x) = ln(x) / ln(b). For example, log₂(20) = ln(20) / ln(2) = 2.9957 / 0.6931 ≈ 4.3219, and dividing base-10 logs gives the same answer.

log usually means the base-10 logarithm and ln is the natural logarithm, with base e ≈ 2.71828. Both answer the same question for a different base: ln(x) asks what power of e gives x.

No real power of a positive base gives 0 or a negative number, so log(0) and log(-5) are undefined. As x gets closer to 0, the log heads toward negative infinity.

Rewrite log_b(x) = y as an exponent: x = b^y. If log₂(x) = 5, then x = 2⁵ = 32.

1 raised to any power is still 1, so base 1 can't produce any other number and the log is undefined. The base must also be positive.