What is gain in electronics?
Gain is the ratio of the output signal to the input signal of an amplifier or other circuit. It has no unit, because it is a ratio of like quantities.
What gain means
An amplifier makes a weak signal stronger. Amplification is the process, and gain is the result. A gain of 15 means the output is 15 times the input. In electronics the names gain, gain factor and amplification factor describe the same ratio.
Gain can be a ratio of voltages, currents or powers. The signal type must be named, because an amplifier can treat alternating current (AC) and direct current differently.
Gain formulas and worked examples
- Voltage gain is Vout / Vin.
- Current gain is Iout / Iin.
- Power gain is Pout / Pin.
| Type | Input | Output | Gain |
|---|---|---|---|
| Voltage | 2 V RMS | 30 V RMS | 30 / 2 = 15 |
| Current | 28 mA RMS | 98 mA RMS | 98 / 28 = 3.5 |
| Power | 0.1 mW | 200 mW | 200 / 0.1 = 2000 |
RMS is the root mean square value of an AC signal. Because gain compares two like quantities, the units cancel and the result is a plain number.
Amplifiers connected in series form a cascade. Their gains multiply. Stages with gains of 10, 20 and 40 give an overall gain of 10 x 20 x 40 = 8000.
A passive part such as a length of cable attenuates the signal. Its gain is below one.
Gain in decibels
The decibel (dB) writes a ratio on a logarithmic scale. One decibel is one tenth of a bel. The decibel is a unit for logarithmic ratio quantities, and the reference value must be stated.
- Power gain in decibels is 10 log10(Pout / Pin).
- Voltage gain in decibels is 20 log10(Vout / Vin).
The factor 20 follows from power being voltage squared divided by resistance. The voltage and power values in decibels are equal only when the input and output resistances are equal.
To convert back, the power ratio is 10 raised to the power of (dB / 10).
| Gain in dB | Power ratio | Voltage ratio |
|---|---|---|
| 0 | 1 | 1 |
| 3 | about 2.0 | about 1.41 |
| 6 | about 4.0 | about 2.0 |
| 10 | 10 | about 3.16 |
| 20 | 100 | 10 |
| 30 | 1000 | about 31.6 |
| 40 | 10,000 | 100 |
| 60 | 1,000,000 | 1000 |
Worked examples:
- The voltage gain of 15 above is 20 log10(15) = 23.5 dB.
- The power gain of 2000 above is 10 log10(2000) = 33.0 dB.
- Three stages of 10 dB, 13 dB and 16 dB give 39 dB. This matches the ratio 8000, because 10 log10(8000) is about 39.
Decibel gains add where ratios multiply. A loss is a negative number, and a gain of exactly one is 0 dB. A change of 3 dB doubles or halves the power. In audio, a change of about 1 dB is the smallest step a listener hears, according to Michigan State University.
Two reference levels follow the dB sign. The decibel-milliwatt (dBm) is power relative to 1 mW, and the decibel-watt (dBW) is power relative to 1 W. So 0 dBm is 1 mW, and 100 mW is 20 dBm. In this form, dBm is a power level and dB is a ratio.
Common mistakes with decibels
- A 20 dB amplifier has a gain of 100, not 20. The gain in dB is 10n for a power ratio of 10 to the power n.
- Do not add dBm values to add powers. A signal of 10 dBm is 10 mW, and a signal of 6 dBm is about 4 mW. The two together are 14 mW, which is 11.46 dBm, not 16 dBm. Convert to milliwatts, add, then convert back.
- Use the right factor. 10 log10 is for power ratios. 20 log10 is for voltage or current ratios at equal resistance.
- Name the reference. A bare “dB” is a ratio. Write dBm or dBW when the value is an absolute power.
Gain of an op-amp circuit
An operational amplifier (op-amp) has a very high open-loop gain. The popular 741 has a typical open-loop gain of 200,000, and some op-amps reach 100 million. With that gain, the output reaches the supply limit for a tiny input. On a supply of plus and minus 10 V, a 741 saturates with an input difference of 10 / 200,000 = 50 microvolts.
Designers therefore feed part of the output back to the inverting input. This is negative feedback. The closed-loop gain then depends on the feedback network and almost not at all on the op-amp. Two resistors set it:
- A non-inverting amplifier has a gain of 1 + Rf / Rg. Rf is the feedback resistor and Rg is the resistor to ground. The gain is always above one, and the output is in phase with the input.
- An inverting amplifier has a gain of -Rf / Rin. The minus sign means the output has the opposite polarity. For a sine wave the phase shift is 180 degrees.
Worked example: a non-inverting amplifier has Rf = 90 kilohm and Rg = 10 kilohm. Its gain is 1 + 90 / 10 = 10. An inverting amplifier with Rin = 10 kilohm and Rf = 100 kilohm has a gain of -10.
The finite open-loop gain causes a small error. For the inverting example with an open-loop gain of 200,000, the real gain is within 0.0055 percent of the ideal value.
Gain and bandwidth
The gain of an op-amp circuit falls at high frequency. The gain-bandwidth product (GBP) is the closed-loop gain multiplied by the cutoff frequency. For a given op-amp it is a constant that the manufacturer lists, about 1 MHz for many op-amps.
With a GBP of 1 MHz, the cutoff frequency is 100 kHz at a gain of 10. It is 10 kHz at a gain of 100 and 1 kHz at a gain of 1000. A single op-amp cannot give a very large gain at a high frequency.
The slew rate is a second limit. It is the rate of change of the output voltage after a step at the input, in volts per microsecond.
Frequently Asked Questions
- What is gain in electronics?
- Gain is the output of a circuit divided by its input. The quantity can be voltage, current or power. A gain of 15 means the output is 15 times the input. Gain compares two like quantities, so it has no unit.
- What is the gain formula?
- Voltage gain is Vout / Vin, current gain is Iout / Iin, and power gain is Pout / Pin. An amplifier that turns 2 V into 30 V has a voltage gain of 30 / 2 = 15.
- Does gain have units?
- No. Gain is a ratio of two like quantities, such as volts to volts, so the units cancel. A gain expressed in decibels (dB) is the logarithm of that ratio. The decibel is a logarithmic ratio unit, and the reference value must be stated.
- What is the difference between gain and amplification factor?
- In electronics the two names describe the same ratio of output to input. Amplification is the process, and gain is the result. A voltage amplification factor of 10 is a voltage gain of 10.
- What is the difference between voltage gain and power gain?
- Voltage gain is the output voltage divided by the input voltage, and power gain is the output power divided by the input power. The two give the same decibel value only when the input and output resistances are equal. Voltage gain in decibels uses 20 log10, and power gain uses 10 log10.
- Can gain be less than one?
- Yes. A passive part such as a cable attenuates the signal, so its gain is below one. In decibels, a gain below one is a negative number, and a gain of exactly one is 0 dB.
- How is the gain of an op-amp circuit set?
- Two external resistors set it, because negative feedback makes the closed-loop gain depend mainly on the feedback network. A non-inverting amplifier has a gain of 1 + Rf / Rg. An inverting amplifier has a gain of -Rf / Rin.
- What does gain in decibels mean?
- It is the gain written on a logarithmic scale. Power gain in decibels is 10 log10(Pout / Pin). A gain of 100 is 20 dB, and a gain of 10 is 10 dB. Each 3 dB roughly doubles the power.
References
- msu-tech-note-502
- Electrical Tech Note 502, Amplification and Gain Michigan State University, Biosystems and Agricultural Engineering Department
- kuphaldt-amplifier-gain
- Lessons in Electric Circuits, Volume III, Section 1.4, Amplifier Gain LibreTexts, Workforce, from T. R. Kuphaldt
- kuphaldt-decibels
- Lessons in Electric Circuits, Volume III, Section 1.5, Decibels LibreTexts, Workforce, from T. R. Kuphaldt
- ku-stiles-db
- dB, dBm, dBw (handout) University of Kansas, Department of EECS, J. Stiles
- bipm-si-brochure-9
- The International System of Units (SI), 9th edition, 2019 (v3.01, 2024) BIPM
- mit-6071-op-amps
- 6.071J Introduction to Electronics, Signals and Measurement, Operational Amplifiers Introduction MIT OpenCourseWare
- psu-cimbala-op-amps
- Operational Amplifiers (Op-Amps), learning module Penn State University, J. M. Cimbala
This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.