Sub topic 6
The decibel scale
What this chapter assumes
You should be comfortable with powers of ten and base-10 logarithms, with intensity as power per unit area (W/m²), and with the inverse-square law for a point source. This chapter shows why loudness is reported in decibels, how to convert both ways between intensity and decibel level, and how to reason about changes in dB without a calculator.
Why a logarithmic scale
The range of sound intensities a human ear handles is huge. The quietest sound a young, healthy ear can detect is about 10⁻¹² W/m². A sound that causes pain is about 1 W/m², which is a factor of 10¹² larger. A linear scale spanning twelve orders of magnitude is awkward to read and to compare.
Perception also behaves roughly logarithmically. Equal ratios of intensity tend to sound like equal steps in loudness, not equal differences. Going from 10⁻⁸ to 10⁻⁷ W/m² feels like a similar step to going from 10⁻⁵ to 10⁻⁴ W/m², even though the second change is a thousand times larger in absolute terms.
The decibel scale handles both problems. It reports the logarithm of the intensity ratio against a fixed reference, so twelve orders of magnitude become a range of 0 to 120.
Definition of intensity level
The intensity level β of a sound with intensity I is
β = 10 log₁₀(I / I₀)
where I₀ = 10⁻¹² W/m² is the reference intensity, close to the threshold of hearing at about 1000 Hz. The unit is the decibel (dB). The "deci" is there because the original unit, the bel, was too coarse: one bel is a factor of 10 in intensity, and a tenth of a bel is the smallest step that is convenient to quote.
Three things follow immediately from the definition:
- If I = I₀, then I / I₀ = 1, log₁₀(1) = 0, and β = 0 dB. This is the reference level, not "no sound".
- If I is below I₀, β is negative. That is allowed. It only means the sound is quieter than the reference.
- A factor of 10 in intensity always adds exactly 10 dB.
Converting both directions
To go from intensity to level, apply the definition. To go from level to intensity, invert it:
I = I₀ · 10^(β/10)
Here is a worked example. A source produces I = 1×10⁻⁶ W/m² at your position.
- I / I₀ = 10⁻⁶ / 10⁻¹² = 10⁶.
- log₁₀(10⁶) = 6.
- β = 10 × 6 = 60 dB.
Now the reverse. A sound has β = 85 dB. Then I = 10⁻¹² × 10^8.5 = 10^(−3.5) ≈ 3.2×10⁻⁴ W/m².
Typical levels give a sense of scale:
| Situation | Approximate level (dB) | Approximate intensity (W/m²) |
|---|---|---|
| Threshold of hearing | 0 | 1×10⁻¹² |
| Quiet rural night | 20 | 1×10⁻¹⁰ |
| Normal conversation | 60 | 1×10⁻⁶ |
| Busy street traffic | 80 | 1×10⁻⁴ |
| Rock concert near the stage | 110 | 1×10⁻¹ |
| Threshold of pain | 120 | 1 |
These figures are rough. Real environments vary by several dB, and perceived loudness also depends on frequency.
Computing it in code
The following program implements both the conversion and the distance relationship from the previous chapter. It computes intensity from source power and distance, converts to decibels, and shows that doubling the distance lowers the level by about 6 dB.
import math
I0 = 1e-12 # reference intensity in W/m^2, near the threshold of hearing
def intensity_from_power(power_w, distance_m):
"""Intensity of an isotropic point source in free space."""
return power_w / (4 * math.pi * distance_m ** 2)
def intensity_level_db(intensity):
return 10 * math.log10(intensity / I0)
print(intensity_level_db(1e-6)) # 60.0 dB
I1 = intensity_from_power(0.1, 2.0)
I2 = intensity_from_power(0.1, 4.0)
print(intensity_level_db(I1) - intensity_level_db(I2)) # about 6.02 dB drop when distance doublesThe second printed value does not depend on the source power or on the starting distance. Only the ratio of distances matters, as the next section shows.
Working with changes in level
Because the scale is logarithmic, a difference of two levels depends only on the ratio of the two intensities. Subtract the definitions for two sounds with intensities I₂ and I₁:
β₂ − β₁ = 10 log₁₀(I₂/I₀) − 10 log₁₀(I₁/I₀) = 10 log₁₀(I₂/I₁)
The reference I₀ cancels. This gives a compact rule: Δβ = 10 log₁₀(I₂/I₁).
Useful values to remember:
| Intensity ratio I₂/I₁ | Change in level Δβ |
|---|---|
| 1 | 0 dB |
| 2 | about +3 dB |
| 4 | about +6 dB |
| 10 | +10 dB |
| 100 | +20 dB |
| 1000 | +30 dB |
| 1/2 | about −3 dB |
The value for a factor of 2 comes from 10 log₁₀(2) = 3.01, so "3 dB" is a rounded figure. A factor of 4 is two doublings, so about 6 dB.
Distance and level
For a point source in free space, I ∝ 1/r². So moving from r₁ to r₂ changes the level by
Δβ = 10 log₁₀(r₁²/r₂²) = 20 log₁₀(r₁/r₂)
Doubling the distance gives 20 log₁₀(1/2) ≈ −6.02 dB. Moving ten times farther away gives −20 dB. This is the "6 dB per doubling of distance" rule that the code above confirmed.
Adding sources
Decibel values do not add directly. Two sources of 60 dB each do not make 120 dB. Instead, add the intensities, then convert.
Suppose two uncorrelated sources each produce I = 10⁻⁶ W/m² at your position. The total is 2×10⁻⁶ W/m², so
β = 10 log₁₀(2×10⁻⁶ / 10⁻¹²) = 10 log₁₀(2×10⁶) = 60 + 3.01 ≈ 63 dB.
Two equal sources add about 3 dB. Ten equal sources add 10 dB. A sound far weaker than another barely changes the total: a 50 dB source added to a 60 dB source gives about 60.4 dB.
Here is a short function that combines levels correctly:
import math
def combine_levels_db(levels_db):
"""Total level of several incoherent sources, given each level in dB."""
total_ratio = sum(10 ** (level / 10) for level in levels_db)
return 10 * math.log10(total_ratio)
print(combine_levels_db([60, 60])) # about 63.01 dB
print(combine_levels_db([60, 50])) # about 60.41 dB
print(combine_levels_db([70] * 10)) # 80.0 dBThe function sums I/I₀ for each source, which is the same as summing intensities and dividing by I₀ once.
A diagram of the conversion
Common errors
- Adding dB values. 60 dB + 60 dB is about 63 dB, not 120 dB. Convert to intensity, add, convert back.
- Using 20 instead of 10 for intensity. The factor 10 applies to power-like quantities such as intensity. The factor 20 applies to amplitude-like quantities such as pressure. The next chapter explains why. In the distance formula above, 20 appears only because the intensity ratio is itself a squared distance ratio.
- Forgetting the reference. A level of 0 dB does not mean silence. It means I = I₀.
- Dropping the log base. The definition uses log₁₀. Natural logarithm gives the wrong answer by a factor of about 2.3.
- Applying the 6 dB rule where it does not hold. The drop of 6 dB per doubling assumes a point source in free space with no reflections. Indoors, near walls, or with a line source such as a busy road, the drop is smaller. A long line source falls by about 3 dB per doubling.
- Treating dB as perceived loudness. An increase of 10 dB is often described as sounding about twice as loud, but this is an empirical approximation that depends on frequency and level. The physics is exact in intensity. The perception is not.
Edge cases
- Negative levels. A sound at I = 10⁻¹³ W/m² has β = −10 dB. It is quieter than the reference, and some people can hear sounds slightly below 0 dB at their most sensitive frequency.
- Zero intensity. log₁₀(0) is undefined, so a perfectly silent sound has no finite dB value. In code, guard against zero or negative inputs before calling the logarithm.
- Rounding. Repeated use of "3 dB for a factor of 2" accumulates error. Four doublings give 12 dB by the rule, but the exact value is 10 log₁₀(16) = 12.04 dB. For hand estimates this is fine. For reported measurements, carry full precision.
- Frequency dependence. The same intensity level at different frequencies does not sound equally loud. Sound meters often apply an A-weighting filter that reduces the contribution of very low and very high frequencies, and the result is reported in dB(A).
Putting it together
A speaker radiates 0.5 W of sound power uniformly in all directions in open air. What is the level at 3 m, and at what distance does it fall to 60 dB?
- At 3 m: I = 0.5 / (4π × 9) ≈ 4.42×10⁻³ W/m². Then β = 10 log₁₀(4.42×10⁻³ / 10⁻¹²) = 10 log₁₀(4.42×10⁹) ≈ 96.5 dB.
- For 60 dB, I = 10⁻⁶ W/m². Solve r² = P / (4π I) = 0.5 / (4π × 10⁻⁶) ≈ 3.98×10⁴, so r ≈ 199 m.
Check with the shortcut. The level must drop by 36.5 dB, and 20 log₁₀(r₂/3) = 36.5 gives r₂/3 ≈ 66.8, so r₂ ≈ 200 m. The two methods agree.
Summary
- The intensity level is β = 10 log₁₀(I/I₀), with I₀ = 10⁻¹² W/m².
- Each factor of 10 in intensity adds 10 dB. Each factor of 2 adds about 3 dB.
- Level differences depend only on intensity ratios, so the reference cancels.
- For a free-space point source, doubling the distance lowers the level by about 6 dB.
- Combine independent sources by adding intensities, never by adding decibel values.
Exercise
A machine produces 72 dB at your position. A second, identical machine is switched on next to it. (a) What is the new level? (b) How many identical machines would be needed to reach 82 dB?
Show answer
(a) Two identical incoherent sources double the intensity, which adds 10 log₁₀(2) ≈ 3.0 dB, so the new level is about 75 dB. (b) A rise of 10 dB needs a factor of 10 in intensity, so ten identical machines in total give 82 dB.
Exercise
At 5 m from a small speaker, the level is 80 dB. Treat the speaker as a point source in free space. What is the level at 40 m, and what is the intensity there?
Show answer
The distance ratio is 40/5 = 8, so Δβ = −20 log₁₀(8) ≈ −18.06 dB. The level at 40 m is about 80 − 18.06 = 61.9 dB. The intensity is I = 10⁻¹² × 10^6.194 ≈ 1.56×10⁻⁶ W/m².