dB Gain Calculator
Gain of an amplifier or a whole signal chain in dB, with cascaded losses, linear ratios and attenuator pad resistor values.
📶 What is a dB Gain Calculator?
dB gain is the ratio of the output of a device to its input, expressed in decibels. A positive value means the device amplifies the signal, a negative value means it attenuates it, and 0 dB means the output equals the input. This calculator finds the gain of an amplifier or of a whole signal chain. In power terms the gain is 10 log10 of Pout divided by Pin. In voltage terms it is 20 log10 of Vout divided by Vin, because power goes as voltage squared. The decibel scale compresses huge ratios into small numbers: a power gain of one million is only 60 dB.
Gain figures matter in radio receivers and transmitters, audio preamplifiers, sensor front ends, antenna feed lines, fibre links and test equipment. Their great practical advantage is that gains in dB add. A receiver with a 3 dB cable loss, a 20 dB low noise amplifier, a 7 dB mixer loss and a 25 dB intermediate frequency amplifier has a total of +35 dB, found by simple addition instead of multiplying four linear ratios. The Cascade mode lists the running signal level after each stage and plots it, so you can see whether any stage drops the signal close to a noise floor or pushes it toward overload.
There are some important traps. Voltage gain in dB and power gain in dB are identical only when the input and output impedances are equal, which is why the Voltage mode also asks for Zin and Zout. A gain in dB has no reference, so it says nothing about absolute signal level unless you know the input level, which the dBm input in the Cascade and Gain to linear modes provides. The cascade here is the ideal noise free total: it ignores each stage noise figure and compression point, which you would study with the noise figure and Friis formula calculator. For a gain stage built from an operational amplifier use the op-amp inverting gain calculator.
The last mode designs resistive attenuator pads, which are the opposite of gain: a controlled loss that keeps the system impedance matched. This page is about the gain of devices and chains. If you only want to convert a ratio, a level in dBm or dBV, or add decibel values of independent sources, use the general dB calculator. For a complete radio path including antennas and free space loss, the link budget calculator uses the same dB arithmetic.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — An RF Power Amplifier
An amplifier turns 5 mW at its input into 500 mW at its output
Example 2 — A Lossy Cable in dBm
A signal of -20 dBm enters a cable and leaves it at -26 dBm
Example 3 — A Headphone Amplifier
0.1 V in at 1000 ohm, 2 V out into an 8 ohm load
Example 4 — A Four Stage Receiver Chain
An input of -30 dBm passes through a cable (-3 dB), an LNA (+20 dB), a mixer (-7 dB) and an IF amplifier (+25 dB)
Example 5 — Gain to Linear
A 13 dB gain stage driven with -10 dBm
Example 6 — A 6 dB Pad for 50 Ohm
A 6 dB attenuator pad in a 50 ohm system carrying 20 dBm
❓ Frequently Asked Questions
🔗 Related Calculators
How do you calculate gain in dB?
Power gain in dB is 10 x log10(Pout / Pin). Voltage gain in dB is 20 x log10(Vout / Vin). An amplifier that turns 5 mW into 500 mW has a power ratio of 100, which is 20 dB. A negative result means the stage is a loss.
What is the difference between voltage gain and power gain in dB?
They are equal only when input and output impedances are equal. In general power gain in dB equals voltage gain in dB plus 10 x log10(Zin / Zout). A 26.02 dB voltage gain from 1000 ohms into 8 ohms is a 46.99 dB power gain.
How do you add gains in dB for several stages?
Simply add the dB values. Gains are positive and losses are negative. Stages of -3, +20, -7 and +25 dB give +35 dB overall. Multiplying linear ratios gives the same result, but the dB sum is far easier.
How do I convert dB gain to a linear ratio?
Power ratio is 10 raised to dB / 10 and voltage ratio is 10 raised to dB / 20. A gain of 20 dB is a power ratio of 100 and a voltage ratio of 10. A gain of 3 dB is about x2 in power and x1.41 in voltage.
What does a gain of 0 dB mean?
Unity gain: the output equals the input, a ratio of 1. A buffer amplifier or voltage follower is the standard example. It still provides current gain and impedance conversion, so it is not useless even though it adds no level.
How do you find the output power from input power and gain?
In dBm the output is simply input plus gain. A -10 dBm signal through 13 dB of gain is +3 dBm, which is 2.0 mW. In watts multiply the input by the power ratio, 10 raised to gain / 10.
What is a 3 dB attenuator pad?
A 3 dB pad halves the power. For a 50 ohm system the T pad uses two 8.55 ohm series resistors and a 141.9 ohm shunt resistor, and the Pi pad uses 17.61 ohm in series with two 292.4 ohm shunts. This calculator gives any dB value.
What is the difference between a T pad and a Pi pad?
Both are three resistor networks that attenuate and keep the impedance matched. The T pad has two series arms and one shunt, the Pi pad one series arm and two shunts. They give the same attenuation, and the choice is usually about which resistor values are easier to get.
Why does a gain in dB not include noise?
Gain only describes the signal path. Every real amplifier adds noise, described by its noise figure, and the cascade noise figure follows the Friis formula, which weights early stages most heavily. This calculator gives the noise free cascade total only.
How is this different from the dB calculator?
The dB calculator is the general converter for ratios, dBm, dBV, dBu and adding levels. This page is for the gain of devices and chains: Pin to Pout, Vin to Vout with impedances, stage by stage cascades and attenuator pads.