An inverting amplifier flips the phase of the input signal by 180 degrees while scaling its amplitude, whereas a non-inverting amplifier preserves the original signal phase while amplifying it. These two foundational operational amplifier (op-amp) configurations dictate how a circuit interacts with its source and load. What they fundamentally change in a real installation is the input impedance presented to the sensor and the phase relationship of the output signal relative to ground. A common point of confusion is assuming the 'inverting input' pin requires a negative voltage supply, or mistakenly believing that a non-inverting amplifier operates without negative feedback.
The Core Difference: Phase, Gain, and Impedance
The choice between these topologies comes down to three factors: phase shift, voltage gain formula, and how much the circuit loads the signal source. Think of an inverting amplifier like a mechanical seesaw. When you push down on one side (positive input voltage), the other side goes up (negative output voltage), with the fulcrum acting as the virtual ground. A non-inverting amplifier is like a hydraulic lift: pushing up on the input piston pushes the output piston in the exact same direction, just with multiplied force.
| Parameter | Inverting Amplifier | Non-Inverting Amplifier |
|---|---|---|
| Voltage Gain Formula | Av = -(Rf / Rin) | Av = 1 + (Rf / Rin) |
| Phase Shift | 180° (Inverted) | 0° (Same phase) |
| Input Impedance | Low (Equal to Rin) | Extremely High (Op-amp input Z) |
| Virtual Ground | Yes (at inverting pin) | No (inputs track source) |
| Minimum Gain Magnitude | 0 (can attenuate) | 1 (unity gain buffer) |
Worked Numeric Example: Designing a 0-5V Sensor Preamp
Let's design a preamp to scale a 0-1V shunt monitor signal up to 0-5V for an Arduino Uno ADC. We need a voltage gain of exactly 5. We will use a Texas Instruments TLV2372, a rail-to-rail I/O op-amp running on a single 5V supply.
Non-Inverting Approach:
The gain formula is Av = 1 + (Rf / Rin). Setting Av to 5 gives us 5 = 1 + (Rf / Rin), meaning the resistor ratio Rf/Rin must be 4. If we select a standard 1% input resistor of 10.0kΩ, the feedback resistor must be 40.0kΩ. The closest standard 1% value is 40.2kΩ.
Let's check the real-world math: Av = 1 + (40.2k / 10.0k) = 5.02. If the sensor outputs exactly 1.00V, the op-amp attempts to output 5.02V. Because the TLV2372 is on a 5V supply, the output will hard-clip at the positive rail, distorting your reading. To maintain headroom and ensure a clean 5V maximum, an experienced designer will drop to a 39.2kΩ feedback resistor. This yields a gain of 4.92, resulting in a maximum output of 4.92V—safely within the ADC's range while utilizing nearly the full resolution.
Inverting Approach:
To get a gain magnitude of 5, we use Av = -Rf / Rin. Choosing Rin = 10.0kΩ requires Rf = 50.0kΩ (standard 1% value is 49.9kΩ). However, a 0-1V positive input will result in a 0 to -4.99V output. The Arduino ADC cannot read negative voltages and may be damaged by them. To use an inverting amp here, you would have to bias the non-inverting pin to 2.5V, shifting the output to swing between 2.5V and -2.49V relative to that bias, which requires complex level-shifting. This perfectly illustrates why the non-inverting topology is the default choice for unipolar sensor scaling.
Where You Meet This in Practice
- Audio Mixing Consoles (Inverting): Inverting amplifiers are the backbone of analog summing mixers. Because the inverting input acts as a virtual ground, multiple audio channels can be tied together through their own input resistors without crosstalk or interfering with one another.
- Microphone and Instrument Preamps (Non-Inverting): Dynamic microphones and piezo pickups require high input impedance to prevent loading the transducer. The non-inverting configuration presents the op-amp's native input impedance (often >100MΩ for FET-input op-amps like the TL072), preserving low-frequency response and signal amplitude.
- DAC Output Buffering (Non-Inverting): Digital-to-Analog Converters (DACs) often have weak output drivers. A non-inverting unity-gain buffer (Av = 1) is placed immediately after the DAC to provide the current needed to drive low-impedance loads like headphones or power stages without drawing current from the DAC itself.
Common Confusions and Pitfalls
Confusing the Pin with the Supply: Beginners often look at the inverting input pin (marked with a minus sign) and assume it must be connected to a negative voltage rail. The minus sign simply denotes the phase relationship of the output relative to that specific pin. Both configurations work perfectly on a single positive supply, provided the input signal stays within the op-amp's common-mode input range.
The LM358 Single-Supply Trap: The ubiquitous LM358 op-amp is famous for its ability to swing its output down to the negative rail (0V in a single-supply circuit). However, its input common-mode range does not include the positive rail. If you wire an LM358 in a non-inverting configuration on a 5V supply and feed it a 4V signal, the output will phase-invert and clip unpredictably. Always check the common-mode voltage specifications in the datasheet when operating near the supply rails.
Frequently Asked Questions
Can I use an inverting amplifier with a single positive power supply?
Yes, but you must establish a 'virtual ground' bias. If you run the op-amp off 0V and 5V, you must bias the non-inverting pin to 2.5V (using a voltage divider). The AC signal will then amplify and invert around that 2.5V midpoint. If you feed it a DC signal referenced to 0V without biasing, the output will immediately saturate at the 0V rail.
Why does a non-inverting amplifier have a minimum gain of 1?
The gain formula is Av = 1 + (Rf / Rin). Even if you short the feedback resistor (Rf = 0) and leave the input resistor open (Rin = ∞), the formula resolves to 1 + 0 = 1. The output is directly tied to the inverting pin, creating a unity-gain buffer. You cannot mathematically achieve a fractional gain (attenuation) with a standard non-inverting topology; for that, you must use a voltage divider before a unity-gain buffer or switch to an inverting configuration.
How do I calculate the bandwidth for these op-amp configurations?
Both configurations are limited by the op-amp's Gain-Bandwidth Product (GBWP). The closed-loop bandwidth is calculated as Bandwidth = GBWP / Closed-Loop Gain. For example, if your op-amp has a 1 MHz GBWP and you configure it for a non-inverting gain of 50, your maximum usable frequency before the signal drops by 3dB is 1,000,000 / 50 = 20 kHz. Note that for the inverting configuration, the 'noise gain' (which dictates bandwidth) is 1 + (Rf/Rin), not the inverting signal gain.
What happens if I accidentally swap the inverting and non-inverting inputs?
The circuit will instantly turn from a stable amplifier with negative feedback into a comparator with positive feedback. The op-amp will drive its output to the maximum positive or negative supply rail (saturation) based on microscopic voltage differences between the inputs. It will no longer amplify linearly, and in some high-voltage or high-current output stages, this latch-up condition can cause thermal damage to the silicon if left powered for extended periods.






