Your Equation

Library / Foundations: Maths / FMA-39

Foundations: Maths

Change of logarithm base

Converts a logarithm in any base to natural logarithms, which is what most calculators provide.

Ref
FMA-39
Rev
v1
Field
Foundations: Maths
Result
L

x is the number whose logarithm is wanted (x > 0) and b the base (b > 0, b ≠ 1). The change-of-base rule logb x = ln x / ln b works with any calculator that has an ln or log key. Special cases: base 10 for decibels, base 2 for bits, base e for natural logs.

Converts a logarithm in any base to natural logarithms, which is what most calculators provide.

Calculator

Solve for
1.011,000,000
1.1100
  • Natural logarithm ln x4.605
  • Logarithm to base 26.644

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Logarithm () current value 2
bBaseKey driver
148.3
xNumber
0.004326
  • The result is the power the base must be raised to: 10² = 100, so log₁₀ 100 = 2.
  • Multiplying two numbers adds their logarithms, which is why decibels turn power ratios into sums.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
b Base1.1 to 100 148.3247.32+10%−3.97 %
x Number1.01 to 1,000,000 0.00432165.996+10%+2.07 %

Sweep of Base

BaseLogarithm
1.148.32
13.461.771
25.831.416
38.191.264
50.551.174
62.911.112
75.281.066
87.641.03
1001

Sweep one variable

Logarithm ()Hover, touch, or use the arrow keys on the chart
01020304050 20406080100 Base now 2

Variables and how each one contributes

L

Logarithm

Result ·

What the equation gives you. Everything else feeds it.

x

Number

· typical 1.01 to 1,000,000

The number whose logarithm is taken. Increases the result slowly: each time x is multiplied by the base, the logarithm rises by exactly 1.

b

Base

· typical 1.1 to 100

The base of the logarithm. A larger base gives a smaller logarithm of the same number: log₂ 100 is 6.64 but log₁₀ 100 is 2.

Worked example with the values above

  1. Natural logs: ln 100 = 4.6052, ln 10 = 2.3026.
  2. Divide: 4.6052 / 2.3026.
  3. log10 100 = 2.

Assumptions and limits

  • x is positive and the base is positive and not equal to 1.
  • The same base is used throughout the working.

Common mistakes

  • Dividing ln b by ln x instead of ln x by ln b.
  • Confusing log (usually base 10) with ln (base e) on a calculator.

Statistics and uncertainty

A relative error in x changes the logarithm by an absolute amount: a 10 % error in x shifts log₁₀ x by only 0.04, which is why logarithmic scales hide small errors.

Where it is used

  • Converting decibel and information measures on a calculator.
  • Solving for a power or time in growth and decay problems.

Maths you need

  • Indices: bˣ and its inverse
  • Calculator: ln and log keys

Related formulas

Practise this formula