Log Calculator Online

Compute logarithms in any base, plus natural log and log base 10, instantly in your browser.

The Log Calculator runs entirely in your browser. The values and bases you type are computed locally and never leave your device.

Open the Exponent Calculator

About Log Calculator

Log Calculator computes the logarithm of any positive number in any positive base, so you can solve log_b(x) instantly instead of working through change-of-base by hand. Type a value and a base, or tap the quick ln, log10, or log2 buttons to switch to the natural log, common log, or binary log with one click. The tool checks your inputs and explains why a value or base is out of range, since logarithms are only defined for a positive value and a positive base other than 1. It is useful for algebra homework, pH and decibel conversions, information-theory bit counts, or any formula that needs log_b(x) = ln(x) / ln(b). Everything runs locally in your browser, so the numbers you enter never leave your device.

Features

How to use the Log Calculator

  1. Enter the value you want the logarithm of
  2. Enter a base, or tap ln, log10, or log2 for a common base
  3. Read the result instantly below the inputs
  4. Copy the calculation summary if you need it elsewhere

Example

Input

log2(8)

Output

3

log base 2 of 8 is 3, since 2^3 = 8.

Common errors & troubleshooting

Frequently asked questions

What does the Log Calculator compute?
It computes log_b(x): the power that a chosen base b must be raised to in order to produce the value x. You can enter any positive base other than 1 and any positive value.
How is natural log different from log base 10 in this calculator?
Natural log (ln) uses base e (approximately 2.71828) and is selected with the ln quick button, while log base 10 (the common log) uses the log10 button. Both are special cases of the same log_b(x) = ln(x) / ln(b) formula.
Why can't the Log Calculator handle a base of 1 or a negative value?
Logarithms are only defined for a positive value and a positive base that is not 1, because those inputs would make the underlying exponential equation have no unique solution.
Can I use the Log Calculator for log base 2 problems, like binary and information theory?
Yes. Tap the log2 quick button to switch the base to 2, which is common for computer science, binary exponent problems, and information-theory bit calculations.
Does the Log Calculator send my numbers anywhere?
No. The Log Calculator runs entirely in your browser. The values and bases you type are never uploaded or sent to a server.
How precise are the Log Calculator's results?
Results are shown with up to 8 decimal places, which is enough precision for schoolwork, engineering estimates, and most everyday logarithm problems.

Related tools

All ArrayKit tools