How to use this calculator
Express a power or equal-impedance voltage ratio on a decibel scale.
- Enter Input magnitude, Output magnitude, Ratio kind. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Linear ratio to decibel gain explained
Choose power or voltage amplitude before taking a logarithm; the voltage form assumes equal input and output impedances when interpreted as power gain.
How the calculation works
Power gain=10log10(Pout/Pin); equal-impedance voltage gain=20log10(Vout/Vin).
The 20-log voltage convention assumes equal impedances when interpreted as power gain.
Set up the calculation
a— Input magnitude- Input magnitude.
b— Output magnitude- Output magnitude.
m— Ratio kind- Ratio kind. Choose voltage, power.
Limits of this model
The 20-log voltage convention assumes equal impedances when interpreted as power gain.
Check this example
Input magnitude = 1; Output magnitude = 2; Ratio kind = voltage.
- Linear ratio to decibel gain: 6.0206 dB
A voltage ratio of 2 corresponds to 6.0206 dB when both magnitudes use the same impedance basis.
Method reference: Analog Devices decibel definition for power and equal-impedance voltage ratios.
Frequently asked questions
Can gain be negative?
Yes, output below input gives negative dB.
Why two factors?
Power uses 10 log; voltage amplitude uses 20 log.
Is zero input accepted?
No, the ratio would be undefined.
How do I use the Linear ratio to decibel gain calculator?
Enter Input magnitude, Output magnitude, Ratio kind. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Linear ratio to decibel gain?
Input magnitude = 1; Output magnitude = 2; Ratio kind = voltage. Linear ratio to decibel gain: 6.0206 dB A voltage ratio of 2 corresponds to 6.0206 dB when both magnitudes use the same impedance basis. Method reference: Analog Devices decibel definition for power and equal-impedance voltage ratios .
Read our calculation methodology.