Inverting amplifier gain is the ratio of the feedback resistor to the input resistor, determining how much an operational amplifier scales and phase-inverts an input voltage signal. When you wire an op-amp in this configuration, you change both the signal's amplitude and its phase (flipping it exactly 180 degrees), while simultaneously forcing the circuit's input impedance to equal your input resistor value. Unlike a simple volume knob, this circuit actively drives the load, making it a foundational building block for everything from audio preamps to precision sensor conditioning.
The Core Math and a Worked Numeric Example
The closed-loop voltage gain ($A_v$) of an inverting amplifier is calculated using a straightforward formula:
Where $R_f$ is the feedback resistor (connecting output to the inverting input) and $R_{in}$ is the input resistor (connecting the signal source to the inverting input).
The negative sign indicates the 180-degree phase inversion. If you feed a positive voltage in, the output swings negative.
Worked Example: Audio Line-Level Attenuation
Suppose you are building a DIY audio mixer and need to attenuate a hot 0.5V peak synthesizer output down to 0.05V peak to match your ADC's input range, while also inverting the phase for a balanced summing bus.
- Target Gain: -0.1 (or -1/10)
- Chosen $R_{in}$: 100 kΩ (to keep input impedance reasonably high for the synth's output stage)
- Required $R_f$: 10 kΩ (since $10k / 100k = 0.1$)
The Bench Reality: When the 0.5V signal hits the 100 kΩ input resistor, the op-amp's massive internal open-loop gain forces the inverting input pin to sit at exactly 0V (a 'virtual ground' matching the grounded non-inverting pin). This means exactly 5 μA of current flows through $R_{in}$ ($0.5V / 100k\Omega$). Because the op-amp's input pins draw virtually zero current, all 5 μA must flow through the 10 kΩ feedback resistor. The voltage drop across $R_f$ is therefore $5\mu A \times 10k\Omega = 0.05V$. Since the current flows toward the output to maintain the virtual ground, the output pin sits at -0.05V. The math holds up perfectly on the oscilloscope.
What People Commonly Confuse With Inverting Gain
When troubleshooting or designing, hobbyists frequently trip over two specific misconceptions regarding inverting amplifier gain.
- Closed-Loop vs. Open-Loop Gain: Beginners often look at an op-amp datasheet, see an 'Open-Loop Voltage Gain' of 100 dB (100,000 V/V), and assume the circuit will amplify the signal by 100,000. That number is the raw, uncontrolled gain of the silicon. The closed-loop gain is what you actually get, strictly dictated by your external $R_f$ and $R_{in}$ resistors. The op-amp's internal gain just works in the background to minimize error.
- Inverting vs. Non-Inverting Formulas: The inverting formula is $-R_f / R_{in}$. The non-inverting formula is $1 + (R_f / R_{in})$. People frequently forget the '+1' in the non-inverting configuration, or mistakenly add 1 to the inverting configuration. Remember: an inverting amp can have a gain magnitude of less than 1 (attenuation), but a standard non-inverting amp can never have a gain less than 1.
Where You Meet This In Practice
You will rarely see an inverting amplifier used just to flip a DC voltage. Its real power emerges in specific topologies:
- Audio Summing Mixers: Because the inverting input is a virtual ground, multiple audio signals can be fed through separate input resistors into the same node without interacting with each other (no crosstalk). This is the heart of every analog mixing console.
- Transimpedance Amplifiers: Transimpedance (a configuration that converts an input current into a proportional output voltage) relies on the inverting topology. By replacing $R_{in}$ with a photodiode and using a massive $R_f$ (often 1 MΩ to 10 MΩ), you convert tiny light-induced currents into readable voltages for LiDAR or optical encoders.
- Active Low-Pass Filters: By placing a capacitor in parallel with $R_f$, you create an inverting active filter. The gain rolls off at high frequencies, eliminating the need for bulky passive inductors.
Decision Tree: Picking Resistor Values and the Right Op-Amp
Calculating the ratio is easy; picking the absolute resistor values and the silicon is where designs fail. Use this decision path to lock in your bill of materials.
| If your application needs... | Then choose these resistor values... | And select this Op-Amp (Part Number) |
|---|---|---|
| High-fidelity audio (low noise, low distortion) | 10 kΩ / 100 kΩ (1% Metal Film, E96 series) | OPA1678 (Bipolar, ultra-low noise, $1.80/ea) |
| 5V single-supply microcontroller sensor buffering | 10 kΩ / 10 kΩ (Gain of -1, 5% standard) | MCP6002 (CMOS, rail-to-rail, $0.40/ea) |
| Precision DC load cell / thermocouple amplification (Gain -100) | 1 kΩ / 100 kΩ (0.1% Thin Film) | OPA2188 (Zero-drift chopper, $3.50/ea) |
| High-impedance piezo sensor buffering | Do not use standard inverting. | Use a non-inverting JFET amp like TL072 |
Real-World Edge Cases: Bandwidth and Noise
Once you have your ratio and your parts, you must verify two physical limits that the basic formula ignores: Gain-Bandwidth Product (GBWP) and thermal noise.
The GBWP Wall
Every op-amp has a fixed Gain-Bandwidth Product. If you use a legacy LM741 (GBWP ≈ 1 MHz) and set your inverting amplifier gain to -100 (using 1 kΩ and 100 kΩ), your maximum usable frequency drops to 10 kHz ($1,000,000 / 100$). If you try to pass a 20 kHz audio signal through it, the gain will severely droop, and phase shift will ruin your feedback loops. Always check the manufacturer's application notes to ensure your required gain multiplied by your maximum signal frequency is at least 20% below the op-amp's GBWP.
The Thermal Noise Trap
Why not use 1 MΩ and 10 MΩ to get a -10 gain with ultra-high input impedance? Because resistors generate thermal (Johnson-Nyquist) noise. A 10 MΩ resistor generates roughly 128 nV/√Hz of noise at room temperature, compared to just 13 nV/√Hz for a 100 kΩ resistor. In a high-gain inverting stage, that noise is amplified directly to the output. Keep your resistor values in the 1 kΩ to 100 kΩ range to balance input loading against thermal noise floor.
Frequently Asked Questions
Can I use an inverting amplifier to attenuate a signal (gain less than 1)?
Yes. Unlike non-inverting configurations, the inverting topology handles attenuation perfectly. If you need a gain of -0.5, simply make $R_f$ half the value of $R_{in}$ (e.g., $R_f = 5 k\Omega$, $R_{in} = 10 k\Omega$). The op-amp will output a scaled-down, inverted replica of the input.
Why do I need a compensation resistor on the non-inverting pin?
In older bipolar op-amps (like the LM741 or TL071), input bias currents flowing into the pins can create unwanted DC offset voltages. Adding a resistor from the non-inverting pin to ground—equal to the parallel combination of $R_{in}$ and $R_f$ ($R_{comp} = \frac{R_{in} \times R_f}{R_{in} + R_f}$)—balances the impedance seen by both pins, canceling the offset. Modern CMOS and JFET op-amps (like the MCP6002 or TL072) have such low bias currents that this resistor is usually unnecessary and just adds noise.






