Your Equation

Library / Foundations: Maths / FMA-21

Foundations: Maths

Logarithms

The power x such that aˣ = y.

Ref
FMA-21
Rev
v1
Field
Foundations: Maths
Result
x

a > 0, a ≠ 1 and y > 0. Logarithms turn products into sums and powers into multipliers. The calculator uses x = ln y / ln a.

A logarithm answers the question: what power must the base be raised to in order to give this number?

Calculator

Solve for
1.510
21,000
  • log₁₀ y0.9031
  • Natural log ln y2.079

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 loga y () current value 3
yNumber yKey driver
19.97
aBase a
0.9035.13
  • Multiplying numbers adds their logarithms, which is why decibels turn power ratios into simple sums.
  • Doubling time and half-life problems reduce to a logarithm.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
y Number y2 to 1,000 19.9668.966+10%+4.58 %
a Base a1.5 to 10 0.90315.1294.225+10%−12.1 %

Sweep of Number y

Number yLogarithm loga y
21
4.3492.121
9.4573.241
20.574.362
44.725.483
97.256.604
211.57.724
459.98.845
1,0009.966

Sweep one variable

Logarithm loga y ()Hover, touch, or use the arrow keys on the chart
246810 210502001000 Number y, log scale now 3

Variables and how each one contributes

x

Logarithm loga y

Result ·

What the equation gives you. Everything else feeds it.

a

Base a

· typical 1.5 to 10

The base. A larger base gives a smaller logarithm of the same number.

y

Number y

· typical 2 to 1,000

The number whose logarithm is wanted. Increases slowly: each doubling of y adds a fixed amount.

Worked example with the values above

  1. Take natural logs: ln 8 = 2.0794, ln 2 = 0.69315.
  2. Divide: 2.0794 / 0.69315.
  3. x = 3.

Assumptions and limits

  • y > 0 and a > 0, a ≠ 1.
  • Same base on both sides of the equation.

Common mistakes

  • Taking the log of zero or a negative number.
  • Mixing up the base with the number.

Statistics and uncertainty

Because log compresses ratios, a 10% error in y changes log₁₀ y by only 0.04, which is why logarithmic scales hide small errors.

Where it is used

  • Decibel and signal calculations.
  • Growth, decay and time-to-threshold problems.

Maths you need

  • Indices: aˣ
  • Calculator: ln and log buttons

Related formulas

Practise this formula