What Are Inverting and Non-Inverting Op-Amp Amplifier Configurations?
Last updated 26 June 2026 · 7 min read
Direct Answer
An inverting amplifier connects the input signal to the inverting input (−) through Rin, with Rf between output and inverting input. Closed-loop gain = −Rf/Rin (negative because the output is phase-inverted relative to the input). A non-inverting amplifier connects the input signal directly to the non-inverting input (+), with Rf from output to inverting input and Rin from inverting input to ground. Closed-loop gain = 1 + Rf/Rin (positive, no phase inversion). In both cases, the virtual short principle forces V+ = V−, and the gain is set entirely by the resistor ratio, not by the op-amp's internal gain.
Detailed Explanation
The inverting and non-inverting amplifier configurations are the two fundamental closed-loop applications of an op-amp. Everything else — summing amplifiers, difference amplifiers, integrators, instrumentation amplifiers — is a variation or extension of these two topologies. Understanding how the virtual short principle generates the gain equations makes every other configuration intuitive.
Inverting Amplifier
Circuit: The input signal (Vin) connects to the inverting input (−) through a resistor Rin. A feedback resistor Rf connects from the op-amp output back to the inverting input (−). The non-inverting input (+) is connected to the reference voltage (ground for a dual-supply circuit, or Vcc/2 for single-supply).
Vin ─── Rin ─── (−)
op-amp ─── Vout
Vref ─────────── (+)
Rf
Vout ───────────(−)
Deriving the gain: By the virtual short, V− = V+ = Vref. Since Rin connects Vin to a node at Vref, the current through Rin is:
I_in = (Vin − Vref) / Rin
This same current must flow through Rf (since no current enters the op-amp input), creating a voltage across Rf:
Vout − Vref = −I_in × Rf = −(Vin − Vref) × Rf/Rin
For Vref = 0V (dual-supply, or AC-coupled circuit):
Vout = −Vin × (Rf/Rin)
Gain = −Rf/Rin
Key properties:
- Gain magnitude = Rf/Rin; set by resistor ratio, not op-amp parameters.
- Output is phase-inverted (180° shift) relative to the input.
- Input impedance ≈ Rin (the current path for Vin is into Rin; V− is at virtual ground).
- Gain can be less than 1 (attenuation) if Rf < Rin.
Example: Gain of −10 Set Rin = 10 kΩ, Rf = 100 kΩ. A +1V input produces −10V output. Bandwidth = GBW ÷ 10.
Error resistor: To cancel the DC offset error from input bias current, place a resistor R_bal = Rf ∥ Rin at the non-inverting input to ground. This ensures both inputs see equal Thevenin source resistance.
Non-Inverting Amplifier
Circuit: The input signal (Vin) connects directly to the non-inverting input (+). A resistor Rin connects from the inverting input (−) to the reference (ground or Vcc/2), and Rf connects from the inverting input (−) back to the output.
Deriving the gain: By the virtual short, V− = V+ = Vin. V− is also a node in a voltage divider formed by Rin (to reference) and Rf (to Vout):
V− = Vout × Rin/(Rin + Rf)
Setting V− = Vin:
Vin = Vout × Rin/(Rin + Rf)
Vout/Vin = (Rin + Rf)/Rin = 1 + Rf/Rin
Gain = 1 + Rf/Rin
Key properties:
- Gain is always ≥ 1 (minimum is unity, when Rf = 0).
- Output is in phase with the input (no phase inversion).
- Input impedance is very high — determined by the op-amp's input impedance (typically MΩ to GΩ), not by resistors.
- This configuration is better when a high-impedance input is important (sensor interfaces, voltage references).
Example: Gain of +11 Set Rin = 1 kΩ, Rf = 10 kΩ. A +1V input produces +11V output. Bandwidth = GBW ÷ 11.
Summing Amplifier (Inverting)
The inverting configuration extends directly to a summing amplifier by adding additional input resistors. With inputs V1, V2, V3 through R1, R2, R3 to the virtual ground node, and feedback Rf:
Vout = −Rf × (V1/R1 + V2/R2 + V3/R3)
If all input resistors are equal (R1 = R2 = R3 = R):
Vout = −(Rf/R) × (V1 + V2 + V3)
This is an analog summing circuit — the foundation of DAC networks and audio mixer circuits. The inverting configuration is also the basis of the Multiple Feedback (MFB) active filter topology; see active filter design with op-amps for how MFB and Sallen-Key filters compare.
Choosing Between Configurations
| Property | Inverting | Non-Inverting |
|---|---|---|
| Gain range | Any ratio (including < 1) | ≥ 1 only |
| Phase | Inverted (180°) | In phase |
| Input impedance | Low (= Rin) | Very high |
| Virtual ground node | Yes (V− at reference) | No |
| DC bias point | Easy with single supply | Needs Vcc/2 reference |
Use the inverting configuration when:
- The input impedance is driven by a low-impedance source (op-amp output, DAC output)
- Attenuation (gain < 1) is needed
- A summing amplifier is required
- Phase inversion is acceptable or needed
Use the non-inverting configuration when:
- High input impedance is required (sensor outputs, voltage references, ADC-driving)
- Phase must not be inverted
- Gain ≥ 1 is sufficient
Gain-Bandwidth Limit
For a single-pole op-amp, bandwidth × closed-loop gain = GBW (a constant). At gain 100 with a 1 MHz GBW device, the −3 dB bandwidth is 10 kHz. At gain 10 it is 100 kHz. This constrains how much gain can be achieved in a single stage at a given frequency. For high-gain, wide-bandwidth circuits, cascade two or more stages rather than using a single high-gain stage.
For analog circuit design assistance — from gain and bandwidth calculation through PCB layout and prototype validation — Zeus Design's electronics engineering team covers the full stack — contact Zeus Design.
Design Considerations
- Keep resistor values in the range 1 kΩ–100 kΩ for general-purpose BJT op-amps. Below 1 kΩ, output current requirements become significant (the op-amp must source/sink the feedback current continuously). Above 100 kΩ, input bias current errors and thermal noise grow.
- CMRR of the non-inverting configuration degrades with mismatched resistors. If you use the non-inverting amplifier as part of a difference amplifier and want high CMRR, match all four resistors to 0.1% tolerance. Mismatched resistors degrade CMRR significantly.
- For accurate DC gain, choose op-amps with low Vos and Ib. Gain accuracy is limited by the op-amp's input offset voltage multiplied by the closed-loop gain. An op-amp with 5 mV Vos at gain 100 produces a 500 mV DC error at the output. Precision op-amps with Vos under 100 µV are needed for accurate DC amplification at high gain.
Common Mistakes
- Omitting the bias balance resistor in the inverting configuration. The non-inverting input should see a resistance equal to Rf ∥ Rin for DC bias current cancellation. Without it, input bias current through Rf creates a DC output offset equal to Ib × Rf — which can easily be tens of millivolts for a BJT op-amp with 100 nA bias current and a 100 kΩ feedback resistor.
- Setting Rf to zero in an inverting amplifier for unity gain. An inverting amplifier with Rf = 0 and Rin = any value gives gain 0 — the output is shorted to the inverting input at DC, collapsing the virtual ground. Use a unity-gain inverting amplifier with Rf = Rin, not Rf = 0.
- Exceeding the gain-bandwidth limit. Designing a single stage at gain 1,000 with a 1 MHz GBW op-amp yields 1 kHz bandwidth — probably too narrow for the intended application. Check the GBW budget before specifying the gain; cascade stages if needed.
- Driving capacitive loads directly from the output. A long cable or capacitive ADC input can cause the amplifier to ring or oscillate. Add a 47–100 Ω series resistor at the output between the op-amp and the load to prevent instability.
Frequently Asked Questions
- Why does the inverting amplifier have a negative gain?
- The inverting configuration connects the input to the inverting (−) input of the op-amp. Because the op-amp drives its output to maintain V+ = V−, an increase in Vin causes the op-amp to increase its output in the negative direction (for a single-ended op-amp with symmetrical supplies). The output is therefore phase-inverted: a positive input produces a negative output and vice versa. The magnitude of gain is Rf/Rin; the negative sign indicates the inversion.
- What is a voltage follower (unity gain buffer) and when do you use it?
- A voltage follower is a special case of the non-inverting amplifier where Rf = 0 (a short) and Rin is removed (or infinity). This makes gain = 1 + 0 = 1. The output equals the input at all times. Its value is impedance transformation: it presents a very high impedance to the source (the input draws essentially no current) and a very low impedance to the load (the output can drive substantial current without the output voltage dropping). Use a follower to buffer a high-impedance source such as a sensor or voltage reference before connecting it to a low-impedance load such as an ADC input or a resistor network.
- Can you achieve a gain less than 1 (attenuation) with an op-amp?
- The non-inverting amplifier has a minimum gain of 1 (unity) because the gain formula 1 + Rf/Rin is always ≥ 1. To achieve gain less than 1 (attenuation), use the inverting amplifier with Rf < Rin (e.g. Rf = 10 kΩ, Rin = 100 kΩ gives gain = −0.1). Alternatively, a passive resistor voltage divider can attenuate before a unity-gain buffer, achieving sub-unity gain without phase inversion.
References
Related Questions
What Is an Op-Amp (Operational Amplifier)?
An op-amp is a high-gain differential amplifier whose behaviour is determined by external feedback. Covers open-loop gain, virtual short, GBW, and applications.
How Do You Design an Active Filter with an Op-Amp?
Active filters use op-amps for frequency roll-off without inductors. Covers Sallen-Key, MFB topologies, Butterworth response, and ADC anti-aliasing.
What Is a Voltage Divider and How Does It Work?
A voltage divider splits a voltage using two resistors in series. Covers the Vout formula, loading effect, Thevenin equivalent, and when not to use one.
What Is a Comparator and How Is It Different From an Op-Amp?
A comparator outputs a digital signal based on which input is higher. Covers open-drain output, hysteresis, propagation delay, and when to use one vs an op-amp.
What Is an ADC (Analog-to-Digital Converter) and How Does It Work?
An ADC converts analog voltages to digital numbers. Covers resolution, LSB, sampling rate, Nyquist, SAR vs sigma-delta architectures, and anti-aliasing filters.
What Is an Instrumentation Amplifier and How Does It Work?
Covers the three-op-amp topology, gain formula G = 1 + 2R/Rg, CMRR, and in-amp applications for Wheatstone bridges and sensor front ends.