⚡ Analog Signal Processing & Linear Amplification

Op Amp Gain Calculator

Calculate operational amplifier closed-loop voltage gain (Av), decibel gain (dB), output signal amplitude, and -3dB frequency bandwidth for inverting and non-inverting configurations.

Gain & Small-Signal Performance

Closed-Loop Voltage Gain ($A_v$)
-10.00 V/V
+20.00 dB (180° Inverted Output)
Expected Output Voltage ($V_{out}$) -1.000 V
Output Headroom Status Clean Linear Swing
-3dB Cutoff Bandwidth ($f_c$) 1,000.0 kHz (1.0 MHz)
Circuit Input Impedance ($Z_{in}$) 10.0 kΩ
⚡ Circuit Design Suite: Sizing feedback resistors? Find standard component codes with our Resistor Color Code Calculator and calculate parallel trimming with the Parallel Resistor Calculator.

The Theory of Operational Amplifiers & Negative Feedback

An operational amplifier (op-amp) is an integrated direct-coupled high-gain differential electronic amplifier. An ideal op-amp possesses five textbook characteristics: infinite open-loop gain ($A_{OL} \to \infty$), infinite input impedance ($R_{in} \to \infty$, drawing zero input bias current), zero output impedance ($R_{out} = 0$), infinite bandwidth, and zero input offset voltage. In an open-loop configuration without feedback, even a microvolt difference between the inverting ($-$) and non-inverting ($+$) inputs drives the output instantly into rail saturation.

To produce stable, linear, predictable amplification, engineers wrap negative feedback around the op-amp by connecting a portion of the output voltage back to the inverting input via feedback resistor $R_f$. Because $A_{OL}$ is astronomically high ($100,000$ to $10,000,000$ V/V), the negative feedback loop forces the voltage potential difference between the inverting and non-inverting inputs to zero ($V_+ - V_- \approx 0$). This core operational principle is known as the Virtual Ground Principle (or Virtual Short), and it makes closed-loop gain entirely dependent on precision external passive resistors rather than the internal silicon characteristics of the chip.

Mathematical Closed-Loop Gain Formulations

1. Inverting Amplifier Configuration

In the inverting amplifier, the non-inverting terminal ($+$) is tied directly to 0V ground. Applying Kirchhoff's Current Law (KCL) at the inverting node ($-$), which is held at a virtual ground of 0V:

$$\frac{V_{in} - 0}{R_{in}} + \frac{V_{out} - 0}{R_f} = 0$$ $$\frac{V_{in}}{R_{in}} = -\frac{V_{out}}{R_f}$$ $$A_v = \frac{V_{out}}{V_{in}} = -\frac{R_f}{R_{in}}$$

The negative sign indicates an exact $180^\circ$ phase inversion between input and output waveforms. The circuit's input impedance equals exactly $R_{in}$ ($Z_{in} = R_{in}$).

2. Non-Inverting Amplifier Configuration

In the non-inverting amplifier, input signal $V_{in}$ is applied directly to the positive terminal ($+$). Because the inverting terminal ($-$) tracks the positive terminal via negative feedback, $V_- = V_{in}$. The feedback network ($R_f$ and $R_1$) forms an ordinary voltage divider from $V_{out}$ to ground:

$$V_- = V_{out} \cdot \left( \frac{R_1}{R_1 + R_f} \right) = V_{in}$$ $$A_v = \frac{V_{out}}{V_{in}} = \frac{R_1 + R_f}{R_1} = 1 + \frac{R_f}{R_1}$$

Because $\frac{R_f}{R_1} \ge 0$, non-inverting gain is strictly $\ge 1.0$, and the output remains in phase ($0^\circ$ phase shift) with the input. Furthermore, because signal feeds directly into an insulated gate or base, input impedance is exceptionally high ($Z_{in} \approx 10^9\text{ }\Omega$ to $10^{12}\text{ }\Omega$).

3. Voltage Gain in Decibels (dB)

Engineers express voltage gain logarithmically in decibels (dB):

$$\text{Gain (dB)} = 20 \cdot \log_{10}(|A_v|)$$

4. Gain-Bandwidth Product (GBWP) & Cutoff Frequency

Internal frequency-compensation capacitors inside the op-amp enforce a $-20\text{ dB/decade}$ roll-off to guarantee loop stability. The product of closed-loop gain magnitude and $-3\text{dB}$ high-frequency bandwidth remains constant:

$$\text{GBWP} = |A_v| \cdot f_c \implies f_c = \frac{\text{GBWP}}{|A_v|}$$

Comparing common general-purpose, audio, and precision operational amplifiers:

Op-Amp Part Input Stage GBWP Slew Rate Primary Application
LM741 Bipolar (BJT) 1.0 MHz 0.5 V/μs Legacy educational reference; low performance.
TL072 / TL082 JFET Input 3.0 MHz 13 V/μs Audio mixing consoles; ultra-high input impedance.
NE5532 / NE5534 Low-Noise BJT 10.0 MHz 9 V/μs Pro audio preamps; ultra-low $5\text{ nV/}\sqrt{\text{Hz}}$ voltage noise.
OPA2134 High-End SoundPlus JFET 16.0 MHz 20 V/μs Audiophile DAC output buffers; distortion $0.00008\%$.
OP07 Precision BJT 0.6 MHz 0.3 V/μs Instrumentation & thermocouples; $10\text{ }\mu\text{V}$ ultra-low offset.

📋 Real-World Engineering Worked Example: Dynamic Microphone Preamplifier

Scenario: An audio hardware designer is building a non-inverting preamplifier for a dynamic vocal microphone ($V_{\text{in}} = 5\text{ mV RMS}$). The target closed-loop voltage gain is $A_v = 101$ ($+40.08\text{ dB}$). The circuit is powered by $\pm 15\text{V}$ rails and utilizes an NE5532 dual audio op-amp ($\text{GBWP} = 10\text{ MHz}$).

  1. Select Resistors for $A_v = 101$: $$A_v = 1 + \frac{R_f}{R_1} = 101 \implies \frac{R_f}{R_1} = 100$$ To maintain low Johnson-Nyquist thermal noise, the designer chooses $R_1 = 1.0\text{ k}\Omega$ ($1,000\text{ }\Omega$). $$R_f = 100 \times 1.0\text{ k}\Omega = 100.0\text{ k}\Omega$$
  2. Calculate Output Signal Amplitude ($V_{\text{out}}$): $$V_{\text{out}} = V_{\text{in}} \times A_v = 5\text{ mV} \times 101 = 505\text{ mV RMS } \approx 0.505\text{ V RMS}$$ Peak output voltage: $V_{\text{peak}} = 0.505\text{ V} \times \sqrt{2} \approx 0.714\text{ V}$. This is well within the $\pm 13.5\text{V}$ saturation limits of the $\pm 15\text{V}$ rails, providing ample headroom ($> 25\text{ dB}$).
  3. Calculate -3dB Small-Signal Bandwidth: $$f_c = \frac{\text{GBWP}}{A_v} = \frac{10,000,000\text{ Hz}}{101} \approx 99,010\text{ Hz} \approx 99.0\text{ kHz}$$
  4. Engineering Conclusion: The $99.0\text{ kHz}$ cutoff far exceeds the human audible upper threshold ($20\text{ kHz}$), ensuring zero phase distortion or high-frequency treble roll-off across the audible band.

Frequently Asked Technical Questions

What is Slew Rate and how does it cause large-signal distortion?

Slew rate (SR, measured in V/μs) is the maximum rate at which the op-amp's internal output stage can change voltage, limited by the internal compensation capacitor's charging current (SR = I_tail / C_comp). While small-signal bandwidth might be 1 MHz, a large output swing (e.g. 10V peak at 100 kHz) requires a minimum slew rate of SR = 2π × f × V_peak = 6.28 V/μs. If the op-amp's rating is lower (such as 0.5 V/μs for LM741), sinusoidal signals distort into triangular waves.

Why is a voltage follower (buffer) amplifier useful if its gain is only 1.0?

A voltage follower (Av = 1.0 / 0 dB) provides impedance matching. It features near-infinite input impedance (drawing no current from high-impedance sensors like piezoelectric pickups or pH probes) and near-zero output impedance (capable of driving low-impedance cables or ADC inputs). It acts as an electrical buffer, preventing signal loading.

What is Input Offset Voltage (Vos) and how does it affect high-gain circuits?

Input offset voltage is a slight internal mismatch between the base-emitter or gate-source voltages of the differential input transistor pair (typically 1 to 5 mV). In high-gain DC amplifiers (such as Av = 1,000), this tiny offset is amplified by the closed-loop gain: Vout_error = Vos × Av = 2 mV × 1,000 = 2.0V DC offset error at output! Precision op-amps (like OP07) trim Vos below 25 μV.

Why should feedback resistors generally be kept between 1 kΩ and 100 kΩ?

Resistors below 1 kΩ draw excessive drive current from the op-amp's output stage, causing thermal heating and output distortion. Resistors above 100 kΩ to 1 MΩ generate significant Johnson-Nyquist thermal noise (Vn = √(4kTRB)) and interact with stray PCB capacitance to form parasitic low-pass poles that induce phase lag and high-frequency oscillation.