Logarithm calculator with arbitrary base

Evaluate logarithms for positive real arguments and bases other than one.

Enter values

Start with the example below, or enter your own values.

How it works

Use the change-of-base formula ln(x)/ln(b). The argument and base must be positive and the base must differ from one. Floating-point approximation.

Try an example

Argument: 81; Base: 3. The form starts with these values; change them to explore your own case.

Example result: 4

  1. Use log_b(x) = ln(x)/ln(b).

Learn more in Functions, logarithms and trigonometry.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.