Tools
Runs locally

Logarithm

Logarithm in a chosen base.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Logarithm in a chosen base. Runs in the browser. Nothing is uploaded.

About this tool

Compute log_b(x) for any positive number and base. Use base 10 for common logarithms, e ≈ 2.71828 for the natural logarithm, or 2 for computer science.

How to use it

  1. 01

    Enter the value x.

  2. 02

    Enter the base b.

  3. 03

    Read log_b(x).

FAQ

Frequently asked questions

How do I compute the natural logarithm?

Enter 2.718281828 as the base, or use ln in the scientific calculator.

Which values are not allowed?

The value must be positive, and the base must be positive and not equal to 1.