Op-Amp Amplifiers: Inverting vs Non-Inverting Gain, With Numericals
Op-amp circuits look intimidating, but every standard amplifier follows from just two rules for an ideal op-amp operating with negative feedback. Learn the rules and you can derive the formulas instead of memorizing them.
The two ideal rules
- No current flows into either input terminal (infinite input resistance).
- The two input terminals sit at the same voltage (the "virtual short"), because the huge gain forces the difference toward zero when feedback is negative.
That is all. Everything below comes from these two lines.
Inverting amplifier
The input signal Vin goes through R1 to the inverting (−) terminal. A feedback resistor Rf connects the output back to the (−) terminal. The non-inverting (+) terminal is grounded.
- By rule 2, the (−) terminal is at the same voltage as (+), which is 0 V (a "virtual ground").
- Current through R1:
I = (Vin − 0) / R1 = Vin / R1. - By rule 1, that whole current must go through Rf:
Vout = 0 − I·Rf = −(Rf / R1)·Vin.
Gain = Vout / Vin = − Rf / R1
The minus sign means the output is inverted: 180° out of phase with the input.
Numerical 1
R1 = 10 kΩ, Rf = 100 kΩ, Vin = 0.5 V. Find Vout.
Gain = −100 / 10 = −10
Vout = −10 × 0.5 = −5 V
Non-inverting amplifier
Now the input goes straight to the (+) terminal. The (−) terminal is fed by a voltage divider from the output: Rf from output to (−), and R1 from (−) to ground.
- By rule 2, the (−) terminal equals Vin.
- The divider gives:
Vin = Vout × R1 / (R1 + Rf). - Rearranging:
Vout = Vin × (R1 + Rf) / R1.
Gain = Vout / Vin = 1 + Rf / R1
The output is in phase with the input, and the gain can never be less than 1.
Numerical 2
R1 = 1 kΩ, Rf = 9 kΩ, Vin = 0.3 V.
Gain = 1 + 9/1 = 10
Vout = 10 × 0.3 = 3 V
Side by side
| Inverting | Non-inverting | |
|---|---|---|
| Gain | −Rf / R1 | 1 + Rf / R1 |
| Phase | 180° shift | No shift |
| Smallest gain magnitude | Can be below 1 | Always at least 1 |
| Input resistance | About R1 | Very high (op-amp's own) |
The input-resistance difference matters in practice: a non-inverting amplifier barely loads the source, which is why it is used to buffer weak signals. The special case Rf = 0 (and R1 open) gives gain exactly 1, the voltage follower, used purely for its high input and low output resistance.
What the formulas do not tell you: saturation
An op-amp cannot output more than its supply allows. Suppose the supply is ±12 V and the output stage can swing to roughly ±10–11 V.
Take the non-inverting amplifier above (gain 10) and apply Vin = 1.5 V. The formula says 15 V, which is impossible. The output clips at about +10 to +11 V, and the circuit is no longer linear. Always check that |Vout| stays inside the supply before trusting the formula.
Frequently asked "why"
Why does negative feedback matter? It makes the gain depend only on resistor ratios, not on the op-amp's own gain, which varies wildly between chips and with temperature. You trade a lot of raw gain for stable, predictable gain.
What if the (+) terminal of the inverting amplifier isn't grounded? Then the virtual short puts the (−) terminal at that voltage instead, and the gain expression changes. The "virtual ground" only exists because (+) is grounded.
Exam checklist
- State the two ideal rules first. It earns marks and structures your derivation.
- Draw the circuit, label currents, and write KCL at the (−) node.
- Give the formula, then substitute numbers with units.
- Check for saturation if the question gives the supply voltage.
Sumantrak™ is an AI mentor built for Indian engineering, diploma, BCA and BSc CS/IT students — Analog Electronics, Circuits, and the rest of your syllabus, explained like this. Free to start →