Tutorial
Inverting op-amp amplifier: gain −10
An inverting amplifier has gain −RF / RIN. With RF = 10 kΩ and RIN = 1 kΩ, a 0.5 V sine comes out as a 5 V sine, upside down. The op-amp moves its output until the inverting input sits at 0 V, a virtual ground. In BetterSPICE you can probe that node and watch it stay at 0 V.
28 Nov 2026 · Arwid Vasilev
Steps
- Open the example Inverting amplifier, gain −10 (Examples, Op-amp circuits). It is loaded in the viewer below.
- Run it (Space in the viewer). V in is a 0.5 V peak sine at 1 kHz. V out is a 5 V peak sine, opposite in phase.
- Look at V in−, the probe on the inverting input. It stays at 0 V all the time. That is the virtual ground.
- Check by hand. When IN is +0.5 V, RIN has 0.5 V across it and passes 0.5 mA. The op-amp input takes none of it, so it all flows through RF: 10 kΩ × 0.5 mA = 5 V, with the input side at 0 V, so OUT is −5 V.
- Click RF and change it to 4.7k. The gain is −4.7 and V out is 2.35 V peak.
- Press F7 for an AC sweep of the same circuit and see where the gain starts to fall. The noise gain is 1 + RF / RIN = 11, so with the example's 3 MHz gain-bandwidth the hand estimate is about 270 kHz.
- The op-amp gain calculator and chapter 56 do the same sums for other resistor values.
Questions people ask
What is a virtual ground?
A point held at 0 V by feedback without being connected to ground. The op-amp moves its output until the two inputs match. The + input is grounded, so the − input is held at 0 V.
What input resistance does the circuit have?
RIN, because the input side of RIN is the source and the other side is a virtual ground. Here the source sees 1 kΩ.
What limits the gain at high frequency?
The op-amp's gain-bandwidth. The closed-loop bandwidth is about the gain-bandwidth divided by the noise gain, 1 + RF / RIN. For this example that is 3 MHz / 11, about 270 kHz, a hand estimate you can check with the AC sweep.
Try it yourself
The viewer and the full app run in your browser. The desktop app adds the vendor model library and ngspice.