Skip to content
hateitall

Logarithm Calculator

Find a logarithm in any base, and see the change of base worked out.

Processed locallyIn: NumberOut: Number

Loading tool…

How to use logarithm calculator

  1. Enter the number and the base. Type e for the natural log.

  2. Read the result with ln, log10 and log2 next to it.

  3. Follow the change of base steps and the check.

  4. Switch to Antilog to turn a logarithm back into a number.

What this tool does

  • Any positive base except 1, including e and fractions.
  • Reads whole numbers with thousands of digits without rounding them first.
  • Spots exact answers, such as log2(1024) = 10, and confirms them with exact arithmetic.
  • Antilog mode for b^y, exact when y is a whole number.

How the result is verified

The last step raises the base to the result and compares it with your number. Exact powers are confirmed by computing base^k exactly and comparing it with the input.

Frequently asked questions

What is the difference between log and ln?

ln is the natural logarithm, base e (about 2.71828). log on most calculators means base 10. In computer science log often means base 2. The tool shows all three.

How do I calculate a log in a base my calculator does not have?

Use the change of base rule: log_b(x) = log(x) / log(b), with any base on the right as long as both use the same one. log_3(81) = log(81) / log(3) = 1.9085 / 0.4771 = 4.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Trig, logs, powers and factorials with memory, history and keyboard input

Expression→ NumberLight on device

Percent increase or decrease, reverse change and a whole series at once

Number · List of numbers→ PercentageLight on device

Binary, octal, decimal, hex and any base 2 to 36, any length

Number→ NumberLight on device