Math

Logarithm calculator

Calculate the logarithm of a positive number to a base of your choice.

Enter the information

CALCULATION RESULT
Logarithm2
EXPLANATION OF CALCULATION

The formula

log_b(x) = ln(x) ÷ ln(b)

An example

log₁₀(100) = 2.

Instructions for use

  1. Enter the appropriate numbers in the fields.
  2. The result is updated as the data changes.
  3. Check the calculation with formula and example.

Model notes

The number and base must be positive; the base cannot be 1. Results use floating-point precision.