The two calculators below convert input/output power and voltage to a Power Gain in dB (deciBel).
Linear Power to dB Gain
Formula
GdB = 10*log10(Pout/Pin)
Linear Voltage to dB Gain
Formula
GdB = 20*log10(Vout/Vin)
This assumes the input and output impedance is the same.