# Circuit Theory/Decibels

This appendix page is going to take a deeper look at the units of decibels, it will describe some of the properties of decibels, and will demonstrate how to use them in calculations.

## Contents

## Definition[edit]

Decibels are, first and foremost, a power calculation. With that in mind, we will state the definition of a decibel:

The letters "dB" are used as the units for the result of this calculation. dB ratios are always in terms of watts, unless otherwise noted.

## Voltage Calculation[edit]

now, another formula has been demonstrated that allows a decibel calculation to be made using voltages, instead of power measurements. We will derive that equation here:

First, we will use the power calculation and Ohm's law to produce a common identity:

Now, if we plug that result into the definition of a decibel, we can create a complicated equation:

Now, we can cancel out the resistance values (R) from the top and bottom of the fraction, and rearrange the exponent as such:

If we remember the properties of logarithms, we will remember that if we have an exponent inside a logarithm, we can move the exponent outside, as a coefficient. This rule gives us our desired result:

## Inverse Calculation[edit]

It is a simple matter of arithmetic to find the inverse of the decibel calculation, so it will not be derived here, but stated simply:

## Reference Units[edit]

Now, this decible calculation has proven to be so useful, that occasionally they are applied to other units of measurement, instead of just watts. Specifically, the units "dBm" are used when the power unit being converted was in terms of milliwatts, not just watts. Let's say we have a value of 10dBm, we can go through the inverse calculation:

Likewise, let's say we want to apply the decibel calculation to a completely unrelated unit: hertz. If we have 100Hz, we can apply the decibel calculation:

If no letters follow the "dB" label, the decibels are referenced to watts.

## Decibel Arithmetic[edit]

Decibels are ratios, and *are not real numbers*. Therefore, specific care should be taken not to use decibel values in equations that call for gains, unless decibels are specifically called for (which they usually aren't). However, since decibels are calculated using logarithms, a few principles of logarithms can be used to make decibels usable in calculations.

### Multiplication[edit]

Let's say that we have three values, **a** **b** and **c**, with their respective decibel equivalents denoted by the upper-case letters **A** **B** and **C**. We can show that for the following equation:

a = b c

That we can change all the quantities to decibels, and convert the multiplication operations to addition:

A = B + C

### Division[edit]

Let's say that we have three values, **a** **b** and **c**, with their respective decibel equivalents denoted by the upper-case letters **A** **B** and **C**. We can show that for the following equation:

a = b / c

Then we can show through the principals of logarithms that we can convert all the values to decibels, and we can then convert the division operation to subtraction:

A = B - C