The Core Amplifier Gain Formulas and Symbol Definitions

Amplifier gain is the ratio of an output signal magnitude to its input signal magnitude. On the bench, you will calculate this either as a dimensionless linear ratio or in decibels (dB). Using the correct formula depends entirely on whether you are measuring voltage or power. A common mistake that breaks calculations is applying the voltage dB formula (which uses a multiplier of 20) to a power ratio (which requires a multiplier of 10).

Below are the foundational equations used in any reliable gain calculator, followed by a strict definition of every symbol.

Formula Name Equation Primary Use Case
Linear Voltage Gain A_v = V_out / V_in Op-amp feedback resistor sizing, basic signal scaling
Voltage Gain (Decibels) A_v(dB) = 20 × log_10(V_out / V_in) Audio preamps, RF voltage amplifiers, filter Bode plots
Power Gain (Decibels) A_p(dB) = 10 × log_10(P_out / P_in) RF power amplifiers, audio power stages, antenna link budgets

Symbol Definition Table

Symbol Definition Standard Units
A_v Linear voltage gain (dimensionless ratio, often expressed as V/V) None (V/V)
A_v(dB) Voltage gain expressed in decibels dB
A_p(dB) Power gain expressed in decibels dB
V_out Output voltage (must match the domain of V_in, e.g., both RMS or both Peak) Volts (V)
V_in Input voltage Volts (V)
P_out Output power Watts (W)
P_in Input power Watts (W)
log_10 Base-10 logarithm None

Rearranged Forms: Solving for Any Variable

When designing a circuit, you rarely just 'find the gain'. Usually, you know your desired output and your available input, and you need to find the required gain, or you know the gain and need to find the maximum input before clipping. Here are the algebraic rearrangements for the voltage dB formula, which is the most frequently used equation in signal chain design.

  • Solve for Output Voltage (V_out):
    V_out = V_in × 10^(A_v(dB) / 20)
  • Solve for Input Voltage (V_in):
    V_in = V_out / 10^(A_v(dB) / 20)
  • Solve for Decibel Gain (A_v(dB)):
    A_v(dB) = 20 × log_10(V_out / V_in)
  • Solve for Linear Gain (A_v) from dB:
    A_v = 10^(A_v(dB) / 20)

Worked Examples with Strict Unit Tracking

Abstract formulas fail on the bench when units are mismatched. The most common unit mistake that breaks gain calculations is mixing Peak-to-Peak (V_pp) oscilloscope readings with RMS (V_RMS) multimeter readings. The ratio V_out / V_in is only valid if both values share the exact same domain. Below are two real-world scenarios with explicit unit tracking.

Example 1: Audio Preamplifier Voltage Gain

Scenario: You are designing a microphone preamp using an OPA2134 op-amp on ±12V rails. The microphone outputs a nominal 10 mV_RMS signal. Your ADC requires a 1.0 V_RMS input for full-scale resolution. What is the required voltage gain in dB, and what is the linear ratio?

  1. Identify knowns and unify units:
    V_in = 10 mV = 0.010 V_RMS
    V_out = 1.0 V_RMS
  2. Calculate Linear Gain (A_v):
    A_v = V_out / V_in
    A_v = 1.0 V / 0.010 V = 100 V/V
  3. Calculate Decibel Gain (A_v(dB)):
    A_v(dB) = 20 × log_10(100)
    A_v(dB) = 20 × 2 = 40 dB
  4. Reality Check (Magnitude & Clipping):
    A gain of 40 dB is standard for mic preamps. The output is 1.0 V_RMS, which translates to roughly 2.83 V_Peak or 5.66 V_pp. Because the OPA2134 is on ±12V rails, it can comfortably swing up to ~±10V without clipping. The math holds in the physical world.

Example 2: RF Power Amplifier Input Calculation

Scenario: You are testing an RF power amplifier module (like a Mini-Circuits ZHL-10W-2G+). The datasheet specifies a power gain of 33 dB. You need to deliver exactly 5.0 Watts into a 50Ω dummy load. What input power is required?

  1. Identify knowns:
    A_p(dB) = 33 dB
    P_out = 5.0 W
  2. Rearrange formula to solve for P_in:
    P_in = P_out / 10^(A_p(dB) / 10)
  3. Execute calculation with unit tracking:
    P_in = 5.0 W / 10^(33 / 10)
    P_in = 5.0 W / 10^3.3
    P_in = 5.0 W / 1995.26
    P_in = 0.002505 W
  4. Convert to standard engineering units:
    P_in = 2.5 mW (or roughly +4 dBm).
  5. Reality Check:
    RF signal generators typically output up to +10 dBm to +13 dBm. Requiring +4 dBm (2.5 mW) is a highly realistic magnitude for a benchtop RF source to drive this amplifier into its linear region.

Boundary Conditions: When These Formulas Apply (and When They Break)

A gain calculator assumes an ideal, linear system. In physical electronics, several boundary conditions invalidate the math if ignored. For deeper theoretical backing on amplifier limitations, refer to the Electronics Tutorials amplifier gain guide and All About Circuits' chapter on decibels.

1. The Impedance Trap (Voltage vs. Power dB)

The formula A_v(dB) = 20 × log_10(V_out / V_in) is technically an approximation derived from the power formula. True power gain requires identical input and output impedances (Z_in = Z_out). In modern op-amp and RF circuits, Z_in is typically very high (e.g., 1 MΩ) and Z_out is very low (e.g., 50Ω). Therefore, voltage is not transferring maximum power; it is being buffered. We use the '20' multiplier for voltage ratios purely as a convention to keep dB values consistent across a signal chain, even when impedances change. Never use the '10' multiplier for voltage ratios, even if impedances mismatch.

2. Clipping and the Linear Region

The formulas assume the amplifier is operating in its linear region. If your gain calculator tells you that a 60 dB gain applied to a 1V input yields 1000V, but your op-amp is powered by a 9V battery, the math is physically broken by the supply rails. The output will hard-clip at roughly 7.5V (for a standard LM358) or 8.5V (for a rail-to-rail TS912). Always calculate your peak output voltage and verify it sits at least 1V to 2V below your supply rails.

3. Gain-Bandwidth Product (GBWP) Limits

Gain is not constant across all frequencies. An op-amp like the TL072 has a GBWP of roughly 3 MHz. If your gain calculator dictates a closed-loop gain of 100 V/V (40 dB), your maximum usable bandwidth drops to 3 MHz / 100 = 30 kHz. If you are amplifying a 100 kHz signal, the actual physical gain will be significantly lower than your calculated 40 dB. Always cross-reference your calculated gain with the component's GBWP.

Amplifier Gain Calculator FAQ

How do I calculate negative gain (attenuation) in a gain calculator?

Negative dB gain simply means the output is smaller than the input (attenuation). The formulas remain exactly the same. If V_out is 0.1V and V_in is 1.0V, the linear ratio is 0.1. Plugging this into the dB formula: 20 × log_10(0.1) = -20 dB. A passive voltage divider or an inverting op-amp with a feedback resistor smaller than the input resistor will yield these negative dB values.

Why does my op-amp output clip even when the gain calculator says it shouldn't?

If your math checks out but the oscilloscope shows a flat-topped sine wave, you are likely hitting either the supply rail limits or the slew rate limit. Supply rail clipping happens when the calculated peak voltage exceeds V_cc - 1.5V (for non-rail-to-rail op-amps). Slew rate clipping happens when the signal frequency is too high for the op-amp's internal compensation capacitor to charge. For example, an LM741 has a slew rate of 0.5 V/μs. If you try to output a 10V peak signal at 100 kHz, the math requires a slew rate of 2 × π × f × V_peak = 6.28 V/μs, which will result in a distorted triangle wave regardless of your DC gain calculations.

How do I cascade multiple amplifier stages in a gain calculator?

When cascading stages (e.g., a preamp followed by a power amp), the beauty of the decibel scale is that you do not multiply the gains; you simply add them. If Stage 1 has a voltage gain of 20 dB and Stage 2 has a voltage gain of 14 dB, the total system gain is exactly 20 + 14 = 34 dB. If you are working in linear ratios, you must multiply them (e.g., Stage 1 = 10 V/V, Stage 2 = 5 V/V, Total = 50 V/V). Always verify the intermediate voltage between stages to ensure Stage 1 isn't clipping before the signal ever reaches Stage 2.