The gain formula for inverting amplifier circuits is the foundational math for scaling and flipping analog signals. The closed-loop voltage gain ($A_v$) is strictly determined by the ratio of two external resistors: $A_v = -R_f / R_{in}$. This means if you use a 100kΩ feedback resistor and a 10kΩ input resistor, your gain is exactly -10 V/V. The negative sign indicates a 180-degree phase inversion, not necessarily a negative output voltage. Below, we break down the exact derivation assumptions, solve real-world bench problems with strict unit tracking, and provide a concrete decision tree for selecting your op-amp and resistor tolerances.
The Core Equation, Symbols, and Rearranged Forms
The ideal gain formula for inverting amplifier configurations relies on the virtual ground principle at the inverting input node. Because the non-inverting input is tied to ground (0V) and the op-amp's open-loop gain is assumed infinite, the inverting input sits at a "virtual ground" of 0V. All input current flows through the feedback network.
$A_v = -\frac{R_f}{R_{in}}$
| Symbol | Parameter | Standard Unit | Practical Bench Range |
|---|---|---|---|
| $A_v$ | Closed-Loop Voltage Gain | V/V (Dimensionless) | -1 to -100 |
| $R_f$ | Feedback Resistor (Output to Inverting Input) | Ohms ($\Omega$) | 1kΩ to 1MΩ |
| $R_{in}$ | Input Resistor (Signal to Inverting Input) | Ohms ($\Omega$) | 1kΩ to 100kΩ |
| $V_{out}$ | Output Voltage | Volts (V) | Rail-to-Rail limits |
| $V_{in}$ | Input Voltage | Volts (V) | µV to low single digits |
Rearranged Forms for Component Sizing
On the bench, you rarely solve for $A_v$ directly; you usually have a target gain and need to find the missing resistor. Use these rearranged forms:
- Solve for Feedback Resistor: $R_f = -A_v \times R_{in}$
- Solve for Input Resistor: $R_{in} = -R_f / A_v$
- Solve for Output Voltage: $V_{out} = A_v \times V_{in}$
- Solve for Input Voltage: $V_{in} = V_{out} / A_v$
Assumptions, Operating Limits, and Unit Traps
When the Formula Applies (and When It Breaks)
The gain formula for inverting amplifier circuits assumes an ideal op-amp operating in its linear region. This means three things must be true:
- Infinite Open-Loop Gain: Real op-amps have finite gain (e.g., 100dB or 100,000 V/V). The formula holds as long as your closed-loop gain ($A_v$) is significantly lower than the open-loop gain.
- Linear Output Swing: $V_{out}$ cannot exceed the supply rails. If you power an LM741 with ±12V, the output will clip around ±10V. If your math says $V_{out}$ should be -15V, the formula has failed because the op-amp is saturated.
- Gain Bandwidth Product (GBW): At high frequencies, open-loop gain drops. If you need a gain of -100 at 1MHz, you need an op-amp with a GBW of at least 100MHz.
Realistic Magnitudes
A realistic single-stage gain magnitude is between 1 and 100. Pushing $R_f$ above 1MΩ invites parasitic capacitance, thermal noise, and PCB surface leakage currents that will cause high-frequency roll-off and DC drift. If your application requires a gain of -500, do not use a single stage. Cascade two stages (e.g., Stage 1: $A_v = -20$, Stage 2: $A_v = -25$).
- Mixing Prefixes: If $R_f = 100k\Omega$ and $R_{in} = 10\Omega$, the gain is -10,000, not -10. Always convert both resistors to base Ohms before dividing.
- Treating Gain as a Voltage: $A_v$ is a ratio (V/V). It has no units. Never write "$A_v = -10V$". Write "$A_v = -10$ V/V" or simply "-10".
- Misinterpreting the Negative Sign: The negative sign denotes phase inversion. If $V_{in}$ is a +50mV DC signal and $A_v = -10$, $V_{out}$ is -0.5V. If $V_{in}$ is an AC sine wave, $V_{out}$ is an inverted sine wave, not a "negative" sine wave.
Worked Examples with Unit Tracking
Problem 1: Audio Preamp Target Sizing
Scenario: You are building a microphone preamp. The electret mic capsule outputs a peak AC signal of $V_{in} = 40mV$. You need to invert and scale this to a peak $V_{out}$ of $-1.2V$ to feed an ADC. You have a standard $10k\Omega$ resistor in your kit for $R_{in}$.
Step 1: Calculate Required Gain ($A_v$)
- Convert $V_{in}$ to Volts: $40mV = 0.040V$
- $A_v = V_{out} / V_{in}$
- $A_v = -1.2V / 0.040V = \mathbf{-30 \text{ V/V}}$
Step 2: Calculate Feedback Resistor ($R_f$)
- $R_f = -A_v \times R_{in}$
- $R_f = -(-30) \times 10,000\Omega$
- $R_f = 30 \times 10,000\Omega = \mathbf{300,000\Omega}$ (or $300k\Omega$)
Bench Action: 300kΩ is a standard E24 5% resistor value. For audio, 5% is acceptable, but 1% (E96 series) is better for channel matching in stereo builds. Buy a 300kΩ 1% metal film resistor.
Problem 2: Sensor Signal Inversion and Current Check
Scenario: You have an existing inverting stage on a PCB with $R_f = 47k\Omega$ and $R_{in} = 4.7k\Omega$. A thermistor bridge feeds $V_{in} = 150mV$ DC into the input. What is $V_{out}$, and what is the current drawn from the sensor?
Step 1: Calculate Gain ($A_v$)
- $A_v = -R_f / R_{in}$
- $A_v = -47,000\Omega / 4,700\Omega = \mathbf{-10 \text{ V/V}}$
Step 2: Calculate Output Voltage ($V_{out}$)
- Convert $V_{in}$ to Volts: $150mV = 0.150V$
- $V_{out} = A_v \times V_{in}$
- $V_{out} = -10 \times 0.150V = \mathbf{-1.5V}$
Step 3: Calculate Input Current ($I_{in}$)
Because the inverting input is a virtual ground (0V), the voltage drop across $R_{in}$ is exactly $V_{in}$.
- $I_{in} = V_{in} / R_{in}$
- $I_{in} = 0.150V / 4,700\Omega = 0.0000319A = \mathbf{31.9\mu A}$
Bench Action: 31.9µA is a very light load, easily driven by a high-impedance thermistor bridge without causing loading errors. The -1.5V output will require a dual supply (e.g., ±5V) or a virtual ground reference if using a single-supply op-amp.
Component Selection Decision Tree
Selecting the right op-amp and resistor tolerance is where textbook theory meets 2026 component availability. Use this decision path to lock in your bill of materials.
| Application Requirement | Op-Amp Selection | Resistor Tolerance |
|---|---|---|
| DC Precision / Sensor Scaling (Low offset, low drift, <1kHz) |
OPA333 or ADA4522 (Zero-drift, chopper-stabilized) |
0.1% Thin Film (E96 Series) |
| Audio Processing (20Hz - 20kHz, low noise, dual supply) |
TL072 or NE5532 (JFET/Bipolar low noise) |
1% Metal Film (E24 or E96) |
| High-Speed / Video (>1MHz signals, fast slew rate) |
OPA656 or AD8065 (FET input, high GBW) |
1% or 0.1% (Keep <1kΩ to limit RC poles) |
| General Microcontroller Interfacing (3.3V/5V single supply, ADC buffering) |
MCP6002-E/P (Rail-to-rail, unity-gain stable) |
1% Metal Film (E24 Series) |
If you are building a general-purpose sensor interface or ADC buffer for a 3.3V ESP32 or 5V Arduino, stop overthinking and buy the Microchip MCP6002-E/P (8-pin DIP, typically ~$1.15 per unit). It operates on a single 1.8V to 6.0V supply, features rail-to-rail input/output, and requires no negative voltage rail. Pair it with a standard E24 1% metal film resistor kit from Yageo or Vishay.
Real-World Bench Implementation Rules
Even with perfect math, a breadboarded inverting amplifier will oscillate or drift if you ignore physical layout realities. According to Analog Devices application notes, parasitic feedback is the enemy of high-gain stages.
- Decoupling is Non-Negotiable: Place a 100nF (0.1µF) X7R ceramic capacitor as physically close to the $V_{CC}$ and $V_{EE}$ pins as possible, routing directly to the ground plane. For dual-supply audio op-amps like the TL072, use 10µF electrolytic in parallel with the 100nF caps.
- Minimize the Feedback Loop Area: The trace (or breadboard row) connecting the output pin to $R_f$, and $R_f$ to the inverting input, acts as an antenna. Keep $R_f$ tight to the IC pins. If using a PCB, route $R_f$ on the same layer as the op-amp to avoid vias in the feedback path.
- Input Impedance Matching: The input impedance of an inverting amplifier is simply $R_{in}$. If your source (like a passive guitar pickup or a high-Z voltage divider) has an output impedance of 50kΩ, and you set $R_{in} = 10k\Omega$, you will create a voltage divider that destroys your signal before it even reaches the op-amp. Rule of thumb: $R_{in}$ should be at least 10x the source impedance.
For a deeper dive into the virtual ground derivation and Kirchhoff's Current Law application at the summing node, the All About Circuits semiconductor textbook provides excellent foundational schematics. Master the gain formula for inverting amplifier circuits, respect the unit traps, and your analog front-ends will perform exactly as your math predicts.






