Voltage gain in decibels (dB) is a logarithmic expression of the ratio between an amplifier's output voltage and its input voltage, calculated using the formula 20 × log10(Vout / Vin). In a real circuit or installation, expressing gain in dB changes how you mathematically handle cascaded stages: it compresses massive, exponential voltage swings into a manageable, linear scale, allowing you to simply add the dB gains of multiple amplifier stages together rather than multiplying their raw linear voltage ratios. The most common trap engineers and hobbyists fall into is confusing this 20log voltage multiplier with the 10log multiplier used for power, or mistakenly treating relative dB as an absolute voltage metric like dBV or dBu.
The Core Formula and a Bench-Tested Example
To convert a standard linear voltage ratio (V/V) into decibels, you use the base-10 logarithm of the ratio, multiplied by 20. The mathematical definition is straightforward:
Let us look at a concrete numeric example from the bench. Suppose you are testing a non-inverting operational amplifier circuit. You feed a 50 mV RMS sine wave from a Rigol DG1022Z function generator into the input. Using a Fluke 87V multimeter, you measure the output at 2.0 V RMS.
- Calculate Linear Gain: 2.0 V / 0.050 V = 40 V/V.
- Apply the Logarithm: log10(40) ≈ 1.602.
- Multiply by 20: 20 × 1.602 = 32.04 dB.
Why does this matter? If you cascade a second amplifier stage that has a linear gain of 10 V/V (which is 20 dB), your total linear gain is 40 × 10 = 400 V/V. But in the decibel domain, you simply add them: 32.04 dB + 20 dB = 52.04 dB. This additive property is why RF and audio engineers almost exclusively use dB when designing multi-stage receiver chains or mixing consoles.
Where You Meet Voltage Gain to dB in Practice
You will rarely see linear voltage ratios on professional schematics or datasheets once you move past basic textbook exercises. Here is where voltage gain in dB dictates real-world design decisions:
- Audio Preamplifiers: Moving a microphone signal (typically -60 dBV, or 1 mV) up to standard line level (-10 dBV or +4 dBu) requires roughly 40 to 50 dB of voltage gain. Audio interface spec sheets will list 'Gain Range: 60 dB' to indicate the maximum voltage multiplier the preamp can apply.
- RF Low Noise Amplifiers (LNAs): In software-defined radio (SDR) or Wi-Fi receiver front-ends, antenna signals are in the microvolt range. An LNA might provide 20 dB to 30 dB of voltage gain to lift the signal above the noise floor of the subsequent mixer stage without adding excessive thermal noise.
- Op-Amp Datasheets and Bode Plots: The open-loop gain of an op-amp is almost always plotted in dB on a Bode plot. A typical precision op-amp might show an open-loop gain of 120 dB at DC (a linear ratio of 1,000,000 V/V), rolling off at -20 dB/decade. Understanding this dB roll-off is critical for calculating your gain margin and ensuring your feedback loop remains stable.
The Most Common Trap: Voltage dB vs. Power dB
The single most frequent error in gain calculation is using the wrong multiplier. The fundamental definition of the decibel is based on power, not voltage. The power formula is 10 × log10(Pout / Pin).
So why do we use 20 for voltage? Because power is proportional to the square of voltage (P = V² / R). When you substitute V² into the power logarithm, the exponent '2' drops down and multiplies the 10, resulting in 20. This assumes the input and output impedances are identical. If you are measuring voltage gain across a high-impedance buffer where Rin ≠ Rout, the 20log formula still correctly describes the voltage gain in dB, but it no longer perfectly represents the power gain. For 99% of voltage-amplifier designs (like op-amp circuits), you are strictly concerned with voltage gain, so 20log is the mandatory rule.
Your oscilloscope defaults to measuring Peak-to-Peak (Vpp) voltage, but the dB formula requires consistent units. If you measure Vin in RMS but Vout in Vpp, your dB calculation will be off by roughly 9 dB for a sine wave. Always ensure both Vin and Vout are measured in the same domain (preferably RMS) before dividing them.
Decision Tree: Sizing Gain Stages and Picking Your Op-Amp
When designing an amplifier, your required voltage gain in dB directly dictates which components you can use. High gain in a single stage invites oscillation, noise, and bandwidth limitation due to the op-amp's Gain-Bandwidth Product (GBWP). Use the decision matrix below to structure your gain and select the right silicon.
| Total Gain Required | Signal Type & Bandwidth | Stage Architecture | Recommended Part Number |
|---|---|---|---|
| < 20 dB (10 V/V) | Audio (20Hz - 20kHz) | Single non-inverting stage | NE5532 (Budget) or TL072 |
| 20 dB to 40 dB | Precision Audio / Instrumentation | Single stage or dual-stage if GBWP is low | Texas Instruments OPA1612 |
| 40 dB to 60 dB | Microphone Preamp / Sensor | Two cascaded stages (e.g., 20dB + 20dB) to preserve bandwidth | TI OPA1612 (Stage 1) + OPA1642 (Stage 2) |
| > 60 dB (1000+ V/V) | RF / High-Speed Photodiode | Three+ stages, strict PCB layout, impedance matching | THS4521 (Fully Differential Amp) |
The Default Pick: If you are building a modern, high-fidelity audio or precision DC preamp requiring between 20 dB and 40 dB of voltage gain, terminate your search and select the Texas Instruments OPA1612. It offers a massive 130 dB open-loop gain, ultra-low noise (1.1 nV/√Hz), and a 40 MHz GBWP, meaning it can easily handle 40 dB of closed-loop voltage gain while maintaining a flat frequency response well past the 20 kHz audio band without phase-shift issues.
Quick Reference: Linear Voltage Gain to dB Chart
Keep this reference chart at your bench. Memorizing a few anchor points (like 6 dB ≈ 2x voltage, and 20 dB = 10x voltage) allows you to mentally estimate circuit gain without reaching for a calculator. For a deeper dive into the mathematical derivations, the Analog Devices MT-015 Tutorial is the definitive industry text on decibel math.
| Linear Voltage Ratio (V/V) | Voltage Gain (dB) | Practical Context |
|---|---|---|
| 0.5 | -6.02 dB | Simple resistive voltage divider (half amplitude) |
| 1 | 0 dB | Unity gain buffer (voltage follower) |
| 2 | +6.02 dB | Non-inverting amp with equal feedback resistors |
| 10 | +20.0 dB | Standard line-level amplifier stage |
| 31.62 | +30.0 dB | Typical guitar pedal boost stage |
| 100 | +40.0 dB | Phono preamp / moving magnet stage |
| 1000 | +60.0 dB | Microphone preamp maximum gain |
FAQ: Troubleshooting Gain Measurements
Why does my calculated dB gain not match the datasheet's Bode plot?
Datasheets plot open-loop gain (no feedback resistors), which is typically 100 dB to 130 dB at DC. When you add resistors to set a specific closed-loop gain (e.g., 20 dB), you are trading that massive open-loop gain for bandwidth and linearity. The TI Precision Labs Op-Amp series provides excellent visual breakdowns of how open-loop and closed-loop gain intersect on a Bode plot.
Can voltage gain in dB be negative?
Yes. A negative dB value simply means the output voltage is smaller than the input voltage (attenuation). For example, a passive RC low-pass filter will exhibit a negative voltage gain in dB at frequencies above its cutoff point. However, an active amplifier circuit can also be designed for negative dB gain if it is intended to act as an active attenuator or line-matching pad.
Is dB the same as dBV?
No. 'dB' is a relative ratio comparing two voltages in the same circuit (Vout vs Vin). 'dBV' is an absolute measurement referenced to a fixed 1.0 V RMS baseline. If an audio interface outputs +4 dBV, it means the absolute voltage is roughly 1.58 V RMS, regardless of what the input was. For more on absolute vs relative logarithmic scales, All About Circuits offers a highly readable breakdown of the decibel scale.






