# Decibel

## Summary


Decibel is a unit of measurement that expresses the logarithmic ratio of two physical quantities of the same dimensions. The logarithm is to base 10. This logscale definition is useful when the quantities have a wide range and losses or gains are proportional. 

Decibel is dimensionless since it's a ratio. It's a relative measure. However, when a reference is defined, it can be used as an absolute measure. As a relative measure, it's represented as **dB**. As an absolute measure, often an additional suffix is appended to "dB". 

Decibel originated in telephone networks of the early 20th century. Today it's commonly used in many domains including acoustics, electrical engineering, signal processing, RF power, and more.

## Discussion

### Could you explain the decibel scale with some numbers?

Decibel is defined as \(10\ log\_{10}(P\_1/P\_0)\), where power level P1 is compared against P0. When P0 and P1 are equal, we say their ratio is 0dB. Thus, 0dB doesn't imply zero power or intensity. It implies equal power.

If P1 is twice the value of P0, we say that P1 is 3dB higher than P0. If P1 is half the value of P0, we say that P1 is 3dB lower than P0, or equivalently -3dB. 

For ratios P1/P0 equalling 10, 100, and 1000, the respective decibels are 10, 20, and 30. Likewise, if the ratios are 0.1, 0.01, and 0.001, the respective decibels are -10, -20, and -30. Thus, we can see that even though the power levels are changing geometrically, the equivalent decibel values change linearly. This is why the logarithmic scale of decibel is useful when quantifying values that have a large range.


### What are some examples where the decibel scale is used?

Decibel is used to quantify the intensity of sound. For sound, it's common to use decibel with a reference of 0.02 mPa (millipascals), the minimum sound that the human ear can hear. Normal speech is at 60dB. A jet engine is at 120dB, which is a million times louder than normal speech. 

In electrical engineering and radio engineering, decibel is used. For example, the gain of an amplifier or the loss of signal power due to an obstruction are quantified in decibels. A directional antenna will focus its radiation in specific directions, which are specified on a chart with decibel as the unit. 

In signal processing, it's common to apply filters to signals. *Bode plot* is an example that shows the magnitude response of such a filter: decibels (y-axis) vs frequency (x-axis). This tells which frequencies are allowed to pass and which ones are attenuated. 

When a signal is compared to noise, called *Signal-to-Noise Ratio (SNR)*, this ratio is specified in decibels. For example, we can compare a processed image with the original and quantify the difference as SNR in decibels. 


### What's the difference between decibels based on either root-power level or power level?

Decibel is commonly defined in terms of power levels. However, it can be defined in terms of signal or field level. For example, in electrical engineering, electrical signals are voltage and current. Power is proportional to square of these signals. When decibel is therefore defined in terms of voltage, the equation becomes \(20\ log\_{10}(V\_1/V\_0)\), where voltage level V1 is compared against V0.  

While the term *field quantity* was previously used, ISO Standard 80000-1:2009 introduced the term *root-power quantity*. 


### What are absolute and relative decibel units?

Decibel is a relative measure that compares two quantities of the same dimension. But in acoustics, it's common to say that noise was at 90dB. We don't say noise was 90dB with respect to something. This is because a reference of 0.02 mPa (millipascals) is implied since it's the quietest sound that we can hear. Thus, sound levels are in absolute decibels. 

In most other applications, **dB** is a relative measure. When we say that path loss of a wireless channel is 120dB, we mean that from the transmitter to receiver, signal power drops by 120dB. However, if we take 1 milliwatt as the reference, then we can use the unit **dBm** to indicate absolute measure. If transmitter sends a 10 kilowatt signal, it's sending a 70dBm signal. If path loss is 120dB (relative measure), the receiver will get a -50dBm (absolute measure) signal. 

Here are some examples of absolute measures (reference in parenthesis): dBW (1 watt), dBi (isotropic antenna), dBV (1 volt), dBµV (1 microvolt), dBµV/m or dBu (1µV/m electrical field strength), dBA ("A" weighted pressure levels), and more.


### What are some limitations of using decibels?

In image processing, Signal-to-Noise Ratio (SNR) and Peak Signal-to-Noise Ratio (PSNR) are sometimes used to compare a processed image with the original image. SNR and PSNR are expressed in decibels. The problem is that image quality is a matter of human perception. We may sometimes perceive one image as better than another even though it has a lower SNR. Admittedly, this is not a limitation of decibel itself but rather a limitation of its usage for SNR.

There have been suggestions that decibel is outdated for the modern era. This is probably due to incomplete understanding of logarithms and incorrectly mixing absolute and relative values. 

## Milestones

1614

Scottish mathematician John Napier (aka Neper) publishes a book detailing his invention of the **logarithms**. This would prove useful centuries later in the definition of the decibel.

1904

In the early days of telephony, there's a need to quantify transmission losses due to links and nodes in a connection. AT&T proposes to use **Mile of Standard Cable (MSC)**, which is equivalent of a mile of dry-core cable-pair with a loop resistance of 88 ohms and a mutual capacitance of 0.054 farads. Let's note that MSC is not a measure of distance, but one of loss, useful for comparing the efficiencies of two telephone circuits. 

1923

MSC unit has dependency on frequency. This was useful in earlier decades when there was a need to characterize distortion. With newer circuits having much less distortion that the standard circuit, there's a need for a distortionless unit.  Thus, AT&T invents the **Transmission Unit (TU)** to replace MSC. TU is defined based on the logarithmic scale. The logscale is useful since the losses due to two successive parts can simply be added instead of multiplied. 

1924

The International Advisory Committee on Long Distance Telephony in Europe, plus representatives of the Bell System, decide to adopt two units based on TU: **bel** based on power ratio \(10^1\) and **neper** based on power ratio \(e^2\). Since TU is based on power ratio \(10^.1\), the Bell System decides to use **decibel** as the unit. One decibel is the smallest difference in sound that the human ear can detect. The word "bel" itself is honouring Alexander Graham Bell, inventor of the telephone. 

1933

By this time, in the UK at least, the unit of loss measurement becomes decibel rather than msc, though some other countries continue to use neper as the unit. 

Jul  
1937

At the First International Acoustical Conference in Paris, decibel is adopted as an international unit for energy and pressure levels. 

Apr  
2003

There's talk of including the decibel within the International System of Units (SI) but this proposal is rejected. However, decibel has been recognized by IEC and ISO.