Inverting vs Non-Inverting Amplifier: Op-Amp Gain, Phase and Uses

By editor 11 min read
Inverting and non-inverting op-amp amplifier schematics with their gain formulas

An inverting amplifier applies the signal to the op amp’s inverting (−) input, so the output is 180° out of phase and the gain is −Rf/Rin. A non-inverting amplifier applies the signal to the non-inverting (+) input, so the output is in phase and the gain is 1 + Rf/Rg. The inverting circuit can have any gain, including less than 1, but its input impedance is only Rin. The non-inverting circuit has very high input impedance but its gain can never be below 1.

Inverting: Vout = −(Rf ÷ Rin) × Vin   |   Non-inverting: Vout = (1 + Rf ÷ Rg) × Vin
180°
inverting phase shift
0°
non-inverting phase shift
≥ 1
non-inverting gain
Rin
inverting input impedance

Inverting vs Non-Inverting Amplifier at a Glance

FeatureInverting amplifierNon-inverting amplifier
Signal goes toInverting (−) input, through RinNon-inverting (+) input, directly
Voltage gain−Rf / Rin1 + Rf / Rg
Phase of outputInverted (180°)Same as input (0°)
Gain rangeAny value, including below 1 (attenuation)1 or more only
Input impedanceEqual to RinVery high (op-amp input × loop gain)
Noise gain (sets bandwidth)1 + Rf / Rin1 + Rf / Rg
Common-mode voltage at inputsAbout 0 V (virtual ground)Follows the input signal
Typical usesSumming, scaling, attenuating, active filters, current-to-voltageBuffering high-impedance sensors, signal gain, voltage follower
Based on the Texas Instruments Handbook of Operational Amplifier Applications, the Wikipedia op-amp applications article and Analog Devices tutorial MT-033.
Inverting and non-inverting op-amp amplifier circuitsLeft: an inverting amplifier with the input through Rin to the inverting input, Rf from output to inverting input, and the non-inverting input grounded; gain is minus Rf over Rin. Right: a non-inverting amplifier with the input on the non-inverting input, Rf from output to the inverting input and Rg from the inverting input to ground; gain is one plus Rf over Rg.The two basic op-amp amplifiersInverting amplifier−+VinRinRfVoutvirtual groundGain = − Rf ÷ Rinoutput 180° out of phase · Zin = RinNon-inverting amplifier−+RfRgVoutVinGain = 1 + Rf ÷ Rgoutput in phase · Zin very highIndustrialBasicsindustrialbasics.com
Figure 1: In both circuits the feedback resistor goes to the inverting (−) input. What changes is where the signal enters. Gain formulas from the Texas Instruments op-amp handbook.

How the Inverting Amplifier Works

Texas Instruments’ Handbook of Operational Amplifier Applications builds every circuit on two “summing point restraints”: an ideal op amp draws no input current, and with negative feedback the voltage between its two inputs is driven to zero. In the inverting amplifier the + input is grounded, so the − input is held at 0 V too: a virtual ground.

The input current is therefore Vin/Rin. None of it can enter the op amp, so the same current must flow through Rf, and the output has to swing to −Vin × Rf/Rin to pull it. That gives the gain of −Rf/Rin. TI notes that the driving source “sees” Rin as the input impedance.

Inverting amplifier example

  • Rf = 22 kΩ, Rin = 4.7 kΩ → gain = −22 ÷ 4.7 = −4.68.
  • A +1.5 V input gives −7.02 V out, which a ±15 V supply can deliver.
  • The source must drive 4.7 kΩ. If it is a sensor with 10 kΩ output resistance, that resistance adds to Rin and the real gain drops to about −1.5: an inverting stage is a poor choice for high-impedance sources.

How the Non-Inverting Amplifier Works

Here the signal goes to the + input. Feedback forces the − input to the same voltage, and because no current flows into the op amp, Rf and Rg act as a simple voltage divider from the output. Solving the divider gives Vout/Vin = 1 + Rf/Rg. TI calls the input impedance of the ideal circuit infinite, and notes such circuits “are widely used in control and instrumentation where non-inverting gain is required.”

In a real op amp, Wikipedia gives the input impedance as the op amp’s differential input impedance multiplied by (1 + loop gain), so it is commonly many megohms. That is why the non-inverting amplifier is the usual first stage after a high-impedance sensor.

Non-inverting amplifier example: scaling a sensor for a PLC

A sensor gives 0 to 1 V, and the analog input of a PLC expects 0 to 10 V. A non-inverting gain of 10 does the job: choose Rg = 1 kΩ and Rf = 9.09 kΩ (a standard 1% value), for a gain of 1 + 9.09 = 10.09. Trim the last 1% in the PLC scaling, or use a 9 kΩ precision resistor. Use a rail-to-rail op amp, or a supply well above 10 V, so the output can actually reach 10 V. For more on analog signals into a controller, see our 4-20 mA guide.

The voltage follower

Set Rf = 0 (output wired to the − input) and leave out Rg, and the gain becomes exactly 1. TI says unity gain circuits “are used as electrical buffers to isolate circuits or devices from one another”. A follower lets a weak, high-impedance source drive a low-impedance load without its voltage being dragged down.

Op-Amp Gain Calculator

Op-Amp Gain Calculator: Inverting and Non-Inverting
IndustrialBasics calculator. Ideal op-amp gain formulas (Texas Instruments handbook); bandwidth = GBW ÷ noise gain (Analog Devices MT-033). Real outputs swing less than the rails unless the op amp is rail-to-rail.

Phase: Why the Inverting Output Is Flipped

Input sine wave compared with non-inverting and inverting outputsA 1-unit input sine wave, the output of a non-inverting amplifier with gain 2 which peaks at the same moment, and the output of an inverting amplifier with gain minus 2 which reaches its negative peak when the input peaks.Same gain of 2, opposite phaseInputNon-inverting (+2)Inverting (−2)input at its peakIndustrialBasicsindustrialbasics.com
Figure 2: A non-inverting stage keeps the waveform in phase; an inverting stage flips it 180°. The size of the swing depends only on the gain.

The inverting amplifier’s output is the negative of the input times the gain, so a positive input gives a negative output and an AC waveform is shifted 180°. In audio and many AC measurements that does not matter; in DC control loops it does. A sensor scaled with an inverting stage gives a falling output as the process value rises, so you need either a second inverting stage (−1) to flip it back, or a non-inverting stage from the start.

Gain, Bandwidth and Noise Gain

Wikipedia explains that an op amp’s open-loop gain falls with frequency, described by its gain-bandwidth product (GBW): a 1 MHz GBW op amp has a gain of 5 at 200 kHz and a gain of 1 at 1 MHz. Analog Devices tutorial MT-033 adds the key detail: what sets the closed-loop bandwidth and stability is the noise gain, which is 1 + Rf/Rin for both circuits, not the signal gain.

Closed-loop bandwidth for different gains of inverting and non-inverting amplifiersWith a 1 MHz gain-bandwidth product, a voltage follower has about 1 MHz bandwidth, an inverting gain of minus 1 about 500 kHz, a non-inverting gain of 10 about 100 kHz, an inverting gain of minus 10 about 91 kHz and a non-inverting gain of 100 about 10 kHz.Bandwidth with a 1 MHz gain-bandwidth op ampNon-inverting, gain +1 (follower)1 MHz (noise gain 1)Inverting, gain −1500 kHz (noise gain 2)Non-inverting, gain +10100 kHz (noise gain 10)Inverting, gain −1091 kHz (noise gain 11)Non-inverting, gain +10010 kHz (noise gain 100)Closed-loop bandwidth ≈ GBW ÷ noise gain, and noise gain = 1 + Rf/Rin for both circuits (ADI MT-033).IndustrialBasicsindustrialbasics.com
Figure 3: An inverting stage has one more unit of noise gain than its signal gain, so it has slightly less bandwidth than a non-inverting stage of the same gain magnitude.
Signal gainCircuitNoise gainBandwidth, 1 MHz GBWBandwidth, 10 MHz GBW
+1Non-inverting (follower)11,000 kHz10 MHz
-1Inverting2500 kHz5 MHz
+2Non-inverting2500 kHz5 MHz
-10Inverting1191 kHz909 kHz
+10Non-inverting10100 kHz1 MHz
+100Non-inverting10010 kHz100 kHz
Closed-loop bandwidth ≈ GBW ÷ noise gain (Analog Devices MT-033). Real amplifiers also have slew-rate limits that cut large-signal bandwidth further.

Two practical consequences: an inverting unity-gain stage (−1) has only half the bandwidth of a follower, and the op amp’s offset voltage and noise are multiplied by the noise gain at the output. MT-033 says noise gain, not signal gain, is relevant in assessing stability, which is why some op amps are specified as stable only above a minimum gain.

Input Impedance and Loading

Input impedance is often what decides the choice. A thermocouple, pH probe, piezo sensor or voltage divider has significant source resistance. Connected to an inverting amplifier, that resistance appears in series with Rin and changes the gain. Connected to a non-inverting amplifier, it barely matters, because almost no current flows. See types of industrial sensors for the sensors these stages usually serve.

SourceBetter choiceWhy
Low-impedance signal (another op amp, a DAC, a function generator)EitherThe source can drive Rin without error
High-impedance sensor or dividerNon-inverting or followerInput draws almost no current
Several signals to add or mixInverting (summing amplifier)Virtual ground keeps inputs from interacting
Signal must be reduced (gain below 1)Inverting, or divider + followerNon-inverting gain cannot go below 1
Current to be converted to voltage (photodiode)Inverting (transimpedance)Current flows into the virtual ground through Rf
Selection guide based on the input impedance and gain properties described by Texas Instruments and Wikipedia.

Choosing Resistor Values

  • Stay roughly between 1 kΩ and 100 kΩ. Wikipedia notes that resistors much greater than 1 MΩ cause excessive thermal noise and errors from bias or leakage currents; very low values load the op-amp output.
  • Use 1% (or better) resistors where gain accuracy matters; gain error is roughly the sum of the two resistor tolerances.
  • Balance the bias currents on bipolar op amps. Wikipedia’s heuristic is to make the resistance “looking out” of each input the same, for example a resistor equal to Rf ∥ Rin from the + input to ground in an inverting stage.
  • Check output swing. Older op amps swing to within a volt or two of the supply; rail-to-rail types get within millivolts at light load.
Target gainInverting: Rf / RinNon-inverting: Rf / Rg
110 kΩ / 10 kΩ (−1)0 Ω, no Rg (follower)
220 kΩ / 10 kΩ (−2)10 kΩ / 10 kΩ
549.9 kΩ / 10 kΩ (−4.99)40.2 kΩ / 10 kΩ (5.02)
10100 kΩ / 10 kΩ (−10)9.09 kΩ / 1 kΩ (10.09)
0.54.99 kΩ / 10 kΩ (−0.499)Not possible
Example resistor pairs using standard E96 (1%) values. Exact gains in brackets.

Troubleshooting Op-Amp Amplifiers

  • Output stuck at a rail: feedback is open, the inputs are swapped (positive feedback), or the gain × input exceeds the supply.
  • Gain lower than calculated: source resistance adding to Rin (inverting), or the signal frequency is near GBW ÷ noise gain.
  • DC offset at the output: input offset voltage times noise gain, or unbalanced bias currents through large resistors.
  • Oscillation: capacitive load on the output, long feedback traces, or an op amp used below its minimum stable gain. Decouple the supply pins close to the chip.
  • Output inverted when it should not be: an inverting stage was used where a non-inverting one was needed; add a −1 stage or redesign.
Safety note: Op-amp signal circuits run at low voltage, but in panels they often sit next to 120 V or 480 V wiring. De-energize and lock out before probing near power terminals, and keep sensor wiring segregated from power conductors.

For a deeper look at the unity-gain case, including loading errors and op-amp stability, read our voltage follower guide.

Frequently Asked Questions

What is the difference between an inverting and a non-inverting amplifier?

An inverting amplifier feeds the signal into the op amp’s inverting (−) input, so the output is flipped 180° and the gain is −Rf/Rin. A non-inverting amplifier feeds the signal into the non-inverting (+) input, so the output stays in phase and the gain is 1 + Rf/Rg.

What is the gain formula of a non-inverting amplifier?

Gain = 1 + Rf ÷ Rg, where Rf is the feedback resistor and Rg is the resistor from the inverting input to ground. With Rf = 9 kΩ and Rg = 1 kΩ the gain is 10.

What is the gain formula of an inverting amplifier?

Gain = −Rf ÷ Rin. With Rf = 10 kΩ and Rin = 1 kΩ the gain is −10: a +0.5 V input gives −5 V out.

Can a non-inverting amplifier have a gain less than 1?

No. Its gain is 1 + Rf/Rg, so the minimum is 1 (the voltage follower, Rf = 0). To attenuate a signal, use an inverting stage with Rf smaller than Rin, or a resistor divider before a follower.

Why is the inverting input called a virtual ground?

In an inverting amplifier the non-inverting input is grounded, and negative feedback drives the inverting input to the same voltage, so it sits at about 0 V without being connected to ground. Texas Instruments describes it as being at ground potential but conducting no current to ground.

Which has higher input impedance, inverting or non-inverting?

The non-inverting amplifier. Its input is the op amp’s own input, which is very high (megohms to teraohms). An inverting amplifier’s input impedance equals Rin, because the source drives Rin into the virtual ground.

What is a voltage follower?

A non-inverting amplifier with the output tied straight to the inverting input, giving a gain of exactly 1. It has very high input impedance and low output impedance, so it is used as a buffer to stop one circuit loading another.

Why does the inverting amplifier have less bandwidth?

Bandwidth is set by noise gain, which is 1 + Rf/Rin for both circuits. A gain of −10 has a noise gain of 11, while a gain of +10 has a noise gain of 10, so the inverting stage has about 9% less bandwidth.

What resistor values should I use?

Values in the 1 kΩ to 100 kΩ range suit most general-purpose op amps. Wikipedia notes that resistors much above 1 MΩ add thermal noise and make errors from bias and leakage currents worse.

Can an inverting amplifier add signals together?

Yes. Connect several inputs, each through its own resistor, to the inverting input. The output is the negative weighted sum of the inputs: this is the summing amplifier, used for mixing and offset adjustment.

Sources and Further Reading

About the author

editor

Leave a Comment