Signal Attenuation & dB Calculator
Convert between voltage/power gain and decibels. Calculate signal attenuation in transmission lines.
Reading Gain and Loss on the Decibel Scale
A decibel value is a logarithmic way to express a ratio, not an absolute amount of power by itself. For power ratios, GdB=10log10(Pout/Pin). A ratio above 1 gives positive dB gain, a ratio below 1 gives negative dB loss, and equal input and output power gives 0dB. The logarithm compresses very large and very small ratios into manageable numbers.
Voltage and current ratios use 20log10 only when the compared quantities refer to the same impedance, or when the impedance relationship is otherwise accounted for. The factor 20 arises because power is proportional to voltage squared for a fixed resistance: 10log(V2 ratio)=20log(V ratio). Without the equal-impedance assumption, converting a voltage ratio directly to a power ratio can be wrong.
| Quantity | Relation | Interpretation |
|---|---|---|
| Power ratio | 10log10(Pout/Pin) | +10dB means 10× power; −10dB means one-tenth. |
| Voltage ratio | 20log10(Vout/Vin) | For equal impedance, +20dB means 10× voltage. |
| Cascade | dB values add | Multiplication of linear ratios becomes addition of logarithms. |
Attenuation is often quoted as a positive loss magnitude, such as "6dB attenuation," even though a signed gain calculation would report −6dB. Always check the convention being used. Decibels can also be attached to references, such as dBm or dBW, which then represent absolute power levels rather than dimensionless ratios.
Worked Examples
Common Mistakes
Power ratios use 10log10. The 20log form is for amplitude ratios such as voltage under the appropriate impedance condition.
−3dB is approximately half power. Under equal impedance, the corresponding voltage ratio is about 0.708, not 0.5.
dB alone expresses a ratio. dBm is referenced to 1mW and therefore represents an absolute power level.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This relationship connects frequency, wavelength, speed, phase, intensity or resonance in an oscillating system. Assumption: Identify the medium, boundary conditions and reference frame. Linear waves, small amplitudes, nondispersive media or ideal resonance may be assumed.