Logarithme

Last updated: 2026-08-24

Logarithme — Calculez le logarithme d'un nombre dans n'importe quelle base.
Inputs
Result
Enter values and press Calculate

How to use it

  1. Value x = 256, base b = 4
  2. Apply change of base formule: ln(256) ÷ ln(4)
  3. Calculate: 5.÷ 1.3863
  4. Result: logâ‚„(256) = 4 (since 4⁴ = 256)

Common mistakes

  • ⚠️ Trying to calculete log of negative number or zero
  • ⚠️ Using base = which is undefined
  • ⚠️ Confusing natural log with log base 10

Worked example

Calculate the logarithm of with base 4.

The logarithm {log_val} is the power to which the base must be raised to get x.

Input guide

FieldTypical range
xArgument: 0.0001 to 1e12 (must be positive)
basebase: 0.0001 to 100 (must be positive, not 1)