Physics
How To Calculate Decibels
Decibels compress an enormous range of sound pressures into a manageable scale. The formula is logarithmic, which is why adding three decibels roughly doubles the intensity.
Quick Answer
dB = 20 x log(pressure / reference pressure)
- dB
- Sound pressure level in decibels
- p
- Measured sound pressure, in pascals
- p0
- Reference pressure, 20 micropascals for sound in air
- ratio
- Measured pressure divided by the reference pressure
Divide the sound pressure by the reference pressure of twenty micropascals, take the base ten logarithm, and multiply by twenty. A pressure of 0.2 pascals is ten thousand times the reference, which is eighty decibels, a level around a busy street.
What Is Decibels?
A decibel is not a unit of sound in the way a metre is a unit of length. It is a ratio expressed on a logarithmic scale, which means it always describes one quantity relative to another rather than an absolute amount. The reference has to be stated or implied for the number to mean anything.
For sound in air, the reference pressure is twenty micropascals, written as 0.00002 pascals. That is roughly the quietest sound a healthy young person can hear at the most sensitive frequency, so the scale conveniently starts near zero at the threshold of hearing.
The formula multiplies by twenty rather than ten because sound pressure and sound intensity are related by a square. Intensity is proportional to pressure squared, and the logarithm of a square is twice the logarithm of the original, so the factor of twenty for pressure is equivalent to a factor of ten for intensity.
The logarithmic scale exists because the range is vast. The pressure at the threshold of hearing is about twenty micropascals, while the pressure at a rock concert can be twenty pascals, a million times larger. A linear scale would need seven digits to cover that range, and the useful detail would be lost at the quiet end.
Doubling the sound pressure adds about six decibels, because twenty times the logarithm of two is 6.0206. That is a handy rule: a doubling of pressure is a six decibel increase, and a tenfold increase is twenty decibels.
The intensity ratio is the square of the pressure ratio, so the numbers grow even faster. A pressure ratio of ten thousand corresponds to an intensity ratio of a hundred million. This is why decibels are described as compressing a huge range into a small one.
Because the scale is logarithmic, decibels cannot simply be added when sources combine. Two identical eighty decibel sources together produce about eighty three decibels, not one hundred and sixty, because the intensities add while the logarithms do not.
The three decibel rule follows from the same arithmetic. Doubling the intensity adds three decibels, which is a barely perceptible change to most listeners. Ten decibels is usually described as twice as loud, even though the intensity has increased tenfold.
Everyday reference points make the scale concrete. A whisper is around thirty decibels, normal conversation about sixty, a busy street eighty, a chainsaw around one hundred and ten, and a jet engine at close range about one hundred and forty. Sustained exposure above eighty five decibels risks hearing damage.
The same mathematics describes other logarithmic quantities, though the reference and the multiplier change. Power ratios use ten times the logarithm, voltage ratios in electronics use twenty, and the decibel is used in telecommunications and audio engineering for exactly this reason.
It is worth noting that decibels can be negative. A sound pressure below the reference gives a negative level, which simply means it is quieter than the nominal threshold. Negative decibels are perfectly meaningful, just as a negative temperature is.
Formula
dB = 20 x log(p / p0)
Twenty rather than ten because pressure squared is proportional to intensity, and the logarithm of a square doubles.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| L | Sound pressure level | dB | Level in decibels relative to the reference. |
| p | Sound pressure | Pa | Measured root mean square pressure. |
| p0 | Reference pressure | Pa | Twenty micropascals for sound in air. |
dB = 10 x log(P / P0)
The intensity form. It gives the same answer as the pressure form when the pressure ratio is squared, which is why the two multipliers differ.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| L | Level | dB | Level in decibels. |
| P | Power | W/m2 | Measured acoustic power or intensity. |
| P0 | Reference power | W/m2 | The reference intensity for the measurement. |
dB = 20 x log(2)
Works out at about 6.02 decibels, the useful rule that doubling the pressure adds roughly six decibels.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| dL | Change in level | dB | Decibels added by doubling the pressure. |
How To Calculate Decibels
- 1
Measure the sound pressure
In pascals, and as a root mean square value rather than a peak. The default of 0.2 pascals is roughly the pressure of a busy street.
- 2
Divide by the reference pressure
The reference for sound in air is 0.00002 pascals. Point two divided by that is ten thousand, a pure ratio with no units.
- 3
Take the base ten logarithm
The logarithm of ten thousand is four, because ten to the power four is ten thousand. This is the step that compresses the enormous range.
- 4
Multiply by twenty
Four times twenty is eighty decibels. The factor is twenty for pressure because intensity is proportional to pressure squared.
- 5
Compare with familiar levels
Eighty decibels is a busy street or a vacuum cleaner. Normal conversation sits near sixty and anything sustained above eighty five risks hearing damage.
Examples
Example 1: A busy street at 0.2 pascals
- Sound pressure
- 0.2 Pa
- Reference pressure
- 0.00002 Pa
| Step | Calculation | Result |
|---|---|---|
| Pressure ratio | 0.2 / 0.00002 | 10000 |
| Intensity ratio | 10000 x 10000 | 100000000 |
| Sound pressure level | 20 x log(10000) | 80 |
Result: A sound pressure of 0.2 pascals is a ratio of 10000 against the reference, an intensity ratio of 100000000, which works out at 80 decibels.
Example 2: A louder source at 0.632 pascals
- Sound pressure
- 0.632 Pa
- Reference pressure
- 0.00002 Pa
| Step | Calculation | Result |
|---|---|---|
| Pressure ratio | 0.632 / 0.00002 | 31600 |
| Intensity ratio | 31600 x 31600 | 998560000 |
| Sound pressure level | 20 x log(31600) | 89.99 |
Result: Just over three times the pressure of the busy street gives a ratio of 31600 and an intensity ratio of 998560000, which is 89.99 decibels, only ten decibels higher.
Example 3: A quiet room at 0.0002 pascals
- Sound pressure
- 0.0002 Pa
- Reference pressure
- 0.00002 Pa
| Step | Calculation | Result |
|---|---|---|
| Pressure ratio | 0.0002 / 0.00002 | 10 |
| Intensity ratio | 10 x 10 | 100 |
| Sound pressure level | 20 x log(10) | 20 |
Result: A quiet room at ten times the reference pressure has an intensity ratio of 100 and a level of 20 decibels, which is close to a whisper.
Calculator
Sound pressure level
80
- Pressure ratio to the reference
- 10,000
- Intensity ratio
- 100,000,000
- Decibels added by doubling
- 6.0206
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the Decibels calculator page.
Common Mistakes
Treating decibels as an absolute unit
A decibel is always a ratio, so the reference must be stated. Twenty decibels in air means something quite different from twenty decibels in water or in an electrical circuit.
Adding decibel values directly
Two eighty decibel sources do not make one hundred and sixty. Intensities add, so the combined level is about eighty three decibels. Adding the logarithms is one of the most common errors in acoustics.
Using ten instead of twenty for pressure
Sound pressure uses a factor of twenty and intensity a factor of ten. Mixing them up gives an answer exactly half the correct value, which is easy to miss because the number still looks plausible.
Using peak pressure instead of root mean square
Sound level formulas expect the root mean square pressure. Feeding in a peak value overstates the level, and the size of the error depends on the waveform.
Assuming loudness and decibels rise together
Perceived loudness roughly doubles every ten decibels, not every decibel. A three decibel change is a doubling of intensity but barely noticeable to a listener.
Ignoring the duration of exposure
Hearing damage depends on both level and time. Eighty five decibels for eight hours is the usual workplace limit, and the safe duration halves for every three decibel increase above it.
FAQ
What exactly is a decibel?
It is a logarithmic ratio, not an absolute quantity. For sound in air it compares a measured pressure with a reference of twenty micropascals, so a reading always describes a level relative to something else.
Why is the multiplier twenty and not ten?
Because sound intensity is proportional to the square of pressure, and the logarithm of a square is twice the logarithm of the original. Twenty times the logarithm of a pressure ratio equals ten times the logarithm of the corresponding intensity ratio.
How much louder is a doubling of sound?
Doubling the pressure adds about six decibels, and doubling the intensity adds three. Neither is perceived as twice as loud; a ten decibel increase is the rough rule for that.
Can decibels be negative?
Yes. A sound pressure below the reference produces a negative level, which simply means it is quieter than the nominal threshold of hearing. The mathematics is perfectly well defined.
What is a safe decibel level?
Sustained exposure above eighty five decibels risks hearing damage, and the safe duration halves for every three decibels above that. A hundred decibels is safe for only about fifteen minutes a day.
How do I add two sound sources together?
Convert each level back to intensity, add the intensities, then convert the total back to decibels. Two identical eighty decibel sources combine to about eighty three decibels, not one hundred and sixty.
References
- [1]Wikipedia, Decibel — https://en.wikipedia.org/wiki/Decibel
- [2]Wikipedia, Sound pressure — https://en.wikipedia.org/wiki/Sound_pressure
- [3]Wikipedia, Sound level — https://en.wikipedia.org/wiki/Sound_level
- [4]Wikipedia, Logarithmic scale — https://en.wikipedia.org/wiki/Logarithmic_scale