The Core Mechanism: Virtual Ground and Phase Inversion
To understand how an inverting amplifier works, you have to look at the concept of the 'virtual ground.' In this circuit, the non-inverting (+) pin of the op-amp is tied directly to the system ground (0V). Because an ideal op-amp has infinite open-loop gain, the negative feedback loop forces the voltage at the inverting (-) pin to perfectly match the non-inverting pin. Therefore, the (-) pin sits at 0V, but it is not physically connected to ground—it is a virtual ground. When you apply a positive input voltage through the input resistor ($R_{in}$), current flows toward the virtual ground. Since the op-amp's input pins draw virtually zero current (picoamps for JFET inputs like the TL072, nanoamps for BJT inputs like the LM358), all that current must flow through the feedback resistor ($R_f$) to the output pin. To pull current through $R_f$ while keeping the (-) pin at 0V, the op-amp must drive its output negative. This is the physical origin of the 180-degree phase shift.If you are using older bipolar op-amps like the LM741 or NE5532, input bias currents will create a DC offset voltage. To minimize this, add a compensation resistor ($R_{comp}$) between the non-inverting (+) pin and ground. Calculate it as the parallel equivalent of your input and feedback resistors: R_comp = (R_in × R_f) / (R_in + R_f). Modern CMOS/JFET op-amps (like the OPA2134) have such low bias currents that you can usually omit this.
The Math: Calculating Gain with Real Resistor Values
The closed-loop voltage gain ($A_v$) of an inverting amplifier is determined entirely by the ratio of the feedback resistor to the input resistor. The formula is:$A_v = - (R_f / R_{in})$
Let's run a worked numeric example with real bench values. Suppose you are conditioning a sensor signal and need to invert and amplify it. You select an R_in of 2.2 kΩ and an R_f of 10 kΩ (both standard E24 series values).- Calculate the gain magnitude: 10,000 / 2,200 = 4.54.
- Apply the inversion: The gain is -4.54.
- Apply an input signal: If $V_{in}$ is +1.2V DC, the output will be 1.2V × -4.54 = -5.45V DC.
- Check input impedance: The source driving this circuit will see a load of exactly 2.2 kΩ, not the mega-ohm impedance of the op-amp itself.
| Target Gain | R_in (E24) | R_f (E24) | Actual Gain | Input Impedance |
|---|---|---|---|---|
| -1 (Unity Invert) | 10 kΩ | 10 kΩ | -1.00 | 10 kΩ |
| -2 | 11 kΩ | 22 kΩ | -2.00 | 11 kΩ |
| -5 | 2.2 kΩ | 11 kΩ | -5.00 | 2.2 kΩ |
| -10 | 1.5 kΩ | 15 kΩ | -10.00 | 1.5 kΩ |
| -4.54 | 2.2 kΩ | 10 kΩ | -4.54 | 2.2 kΩ |
Where You Meet This in Practice
You will rarely see a standalone inverting amplifier just sitting on a board for no reason; it is usually part of a larger signal chain. According to standard op-amp design theory, this topology dominates in three specific areas:- Audio Mixing Consoles: The inverting configuration is the backbone of the 'summing amplifier.' Because the inverting pin is a virtual ground, multiple audio channels can be fed into it through separate resistors without crosstalk. The signals sum together at the output without interacting with one another.
- DAC Level Shifting: Many digital-to-analog converters (DACs) output a unipolar 0-3.3V or 0-5V signal. If you need to drive a bipolar analog meter or a legacy motor controller that expects a negative voltage, an inverting amplifier shifts and scales the signal into the negative domain.
- Active Filters: In Multiple Feedback (MFB) low-pass and band-pass filters, the inverting topology is preferred because it isolates the filter's Q-factor from the source impedance, yielding much tighter tolerance on the cutoff frequency than non-inverting topologies.
Bench Walkthrough: When a 0-5V Sensor Signal Clips
Theory is clean; the workbench is not. Here is a real-world scenario that highlights the most common failure mode when designing inverting amplifiers.The Numbers: At 0V sensor input, the expected output is 0V. At 5V sensor input, the expected output is -10V.
The Outcome: When the sensor reads 0V, the op-amp output sits stubbornly at +1.2V instead of 0V. When the sensor hits 5V, the output doesn't go to -10V; it actually creeps up to +2V, and the servo drive faults out, rejecting the signal entirely.
What Went Wrong: Two massive hardware errors occurred here. First, the LM358 is not a rail-to-rail output op-amp; its output transistors require about 1.5V of headroom from the positive rail, and it cannot pull all the way down to 0V on the negative rail without a negative supply or a pull-down resistor. Second, and more fatally, you cannot output a negative voltage if your op-amp's V- pin is tied to system ground. The op-amp has no negative voltage source to draw from. The Fix: To get a true -10V output, you must power the op-amp with a dual supply (e.g., ±12V). Furthermore, swap the LM358 for a faster, higher-slew-rate part like the TL072 or OPA2134 to ensure the servo drive's rapid transient demands don't cause phase lag and oscillation.
Common Confusions: Inverting vs. Non-Inverting vs. Logic Gates
When discussing Texas Instruments' op-amp design guidelines, it becomes clear that terminology often trips up hobbyists and junior engineers. Here is what people commonly confuse the inverting amplifier with:- Digital Logic Inverters (NOT Gates): A 74HC04 logic gate inverts a digital square wave (5V to 0V). An op-amp inverting amplifier inverts an analog waveform (e.g., a sine wave peaking at +2V will peak at -2V). They share a name but operate in entirely different electrical domains.
- The Non-Inverting Amplifier: In a non-inverting configuration, the signal enters the (+) pin. The gain formula is $1 + (R_f / R_{in})$, meaning it can never have a gain of less than 1 (unity), and it does not flip the phase. Crucially, the non-inverting config offers near-infinite input impedance, whereas the inverting config's input impedance is strictly limited to $R_{in}$.
- The Unity-Gain Buffer: A buffer is just a non-inverting amplifier with 100% feedback and no input resistor. It provides gain of exactly 1. An inverting amplifier with equal resistors provides a gain of -1, which is fundamentally different because of the phase shift and the loading effect on the source.
Frequently Asked Questions
Why is my high-gain inverting amplifier so noisy?
Resistors generate thermal (Johnson-Nyquist) noise. When you use high-value resistors (e.g., 1 MΩ for $R_f$) to achieve high gain, you multiply that thermal noise by the circuit's noise gain. Keep your feedback resistors under 100 kΩ whenever possible, and use metal film resistors rather than carbon composition for the lowest noise floor.
Can I use an inverting amplifier for DC signals?
Yes, but you must account for the op-amp's Input Offset Voltage ($V_{os}$). In a high-gain DC circuit, a tiny $V_{os}$ of 2mV at the input pins gets multiplied by the noise gain, resulting in a massive DC error at the output. For precision DC applications, use a zero-drift or chopper-stabilized op-amp like the ADA4522.
Does the inverting amplifier affect the bandwidth of my signal?
Absolutely. Op-amps have a fixed Gain-Bandwidth Product (GBP). If your op-amp has a GBP of 1 MHz (like the classic LM741) and you set your inverting gain to -100, your maximum usable bandwidth drops to just 10 kHz. Always check the datasheet's GBP specification before finalizing your resistor ratios for AC or audio signals.






