How to calculate
Take twenty times the common logarithm of output voltage divided by input voltage. A smaller output gives a negative change.
Worked example
Use Input voltage magnitude (V) 10 · Output voltage magnitude (V) 1. The result is ≈ -20 dB.
Input and result notes
Use voltage magnitudes of the same kind. A voltage ratio corresponds to the same power ratio in decibels when impedances match.