Revise Right
Hold tight Hi there!

✓ Revise Right course

Inverting Amplifier: Gain and Virtual Earth Revision Notes | A Level AQA Physics

The gain of an inverting amplifier is −Rf ÷ Rin, where Rf is the feedback resistor and Rin the input resistor. Notes, worked examples and 12 questions answered.

Inverting Amplifier: Gain and Virtual Earth is part of Operational amplifier in: in A Level AQA Physics.

7 min

Reading time

34

Lessons in this topic

A Level AQA

Pathway

Reviewed by Revise Right

Content review

What this lesson covers

The gain of an inverting amplifier is −Rf ÷ Rin, where Rf is the feedback resistor and Rin the input resistor. Notes, worked examples and 12 questions answered.

  • Derive the closed-loop voltage gain formula $\frac{V_{out}}{V_{in}} = -\frac{R_f}{R_{in}}$ for an inverting amplifier using virtual-earth analysis
  • Explain the meaning of virtual earth and justify why the inverting input is treated as being at 0 V
  • Calculate output voltage, gain, and resistor values for inverting amplifier circuits
  • Analyse the significance of the negative sign in the gain expression and its effect on signal phase

Key ideas to keep in view

Use this lesson to stay inside Operational amplifier in: while connecting the detail back to the wider Electronics (A-level only) topic.

  • Virtual earth: The condition in an inverting amplifier where the inverting input of the op-amp is held at approximately 0 V (earth potential) by negative feedback, even though it is not directly connected to earth. This arises because the op-amp's extremely high open-loop gain forces the differential input voltage to be negligibly small.
  • Closed-loop voltage gain: The voltage gain of an op-amp circuit when negative feedback is applied, defined as $V_{out} / V_{in}$. For an inverting amplifier it equals $-R_f / R_{in}$, where $R_f$ is the feedback resistor and $R_{in}$ is the input resistor.
  • Inverting amplifier: An op-amp circuit in which the input signal is applied to the inverting ($-$) terminal through a resistor $R_{in}$, and a feedback resistor $R_f$ connects the output back to the inverting terminal. The non-inverting ($+$) terminal is connected to earth (0 V).
  • Open-loop gain: The intrinsic voltage gain of an op-amp without any feedback network, typically $10^5$ or greater. It is so large that even a microvolt difference between the inputs produces a saturated output, which is why negative feedback is used to set a precise, stable closed-loop gain.

Revision notes

Read the core explanations from Inverting Amplifier: Gain and Virtual Earth before testing yourself from memory.

1. Why the Inverting Amplifier Matters

An op-amp on its own is almost useless for precise amplification — its open-loop gain is so enormous (typically $10^5$ to $10^6$) that the tiniest input signal drives the output straight into saturation. The inverting amplifier circuit solves this by feeding a fraction of the output back to the input, taming that runaway gain into something predictable and controllable.

The payoff is elegant: the closed-loop gain ends up depending only on the ratio of two resistors, not on the op-amp's internal properties at all. That means you can set the gain precisely by choosing resistor values — a powerful idea that underpins audio electronics, sensor interfaces, and signal conditioning throughout engineering.

2. The Circuit: What You Are Looking At

Picture the op-amp symbol — a triangle with two inputs on the left and one output on the right. The inverting input ($-$) sits at the top-left; the non-inverting input ($+$) sits at the bottom-left. In the inverting amplifier, the non-inverting input is connected directly to earth (0 V). The input signal $V_{in}$ is applied through a resistor $R_{in}$ to the inverting input. A second resistor $R_f$ — the feedback resistor — connects the output $V_{out}$ back to that same inverting input node.

That node where $R_{in}$ and $R_f$ meet at the inverting input is the key junction in the whole analysis. Everything interesting happens there, and it has a special name: the virtual earth. Understanding why that node sits at 0 V is the conceptual heart of this topic.

3. Virtual Earth: The Central Idea

Here is the reasoning chain that makes virtual earth click. The non-inverting input is at 0 V (connected to earth). The op-amp's output is $V_{out} = A(V_+ - V_-)$. If $A = 10^5$ and $V_{out}$ is, say, 5 V, then $(V_+ - V_-) = 5 / 10^5 = 50\ \mu\text{V}$. That is so close to zero that, for all practical purposes, $V_- = V_+ = 0\ \text{V}$. The inverting input is effectively at earth potential — hence virtual earth.

The word virtual is doing important work here. The inverting input is not wired to earth — if you connected a voltmeter between that node and earth, it would read approximately 0 V, but current can still flow through the resistors connected to it. This distinction is what makes the circuit useful.

4. Deriving the Gain Formula Using Virtual-Earth Analysis

With virtual earth established, the derivation of the gain formula becomes a straightforward application of Kirchhoff's current law (KCL) at the inverting input node. The two key assumptions of an ideal op-amp are: the differential input voltage is zero (virtual earth), and the input impedance is infinite so no current enters the op-amp terminals themselves.

Because no current flows into the inverting input terminal, any current arriving through $R_{in}$ must leave entirely through $R_f$. This is the current-continuity argument at the heart of virtual-earth analysis, and it lets you write a single equation that connects $V_{in}$, $V_{out}$, $R_{in}$, and $R_f$.

Worked example: Deriving the Inverting Amplifier Gain Formula

An inverting amplifier has input resistor $R_{in}$ and feedback resistor $R_f$. The non-inverting input is at 0 V. Derive an expression for $\frac{V_{out}}{V_{in}}$.

  1. $V_- = 0\ \text{V}$ (virtual earth at the inverting input node, labelled point X) — Because the non-inverting input is at 0 V and the open-loop gain is extremely large, the inverting input is also at 0 V. This is the virtual-earth assumption.
  2. $I_1 = \frac{V_{in} - V_-}{R_{in}} = \frac{V_{in} - 0}{R_{in}} = \frac{V_{in}}{R_{in}}$ — Current flows from $V_{in}$ towards point X. Since $V_- = 0$ V, the full input voltage appears across $R_{in}$. [M1]
  3. $I_1 = I_2$ (no current enters the op-amp input terminal) — The ideal op-amp has infinite input impedance, so zero current flows into the $-$ terminal. All of $I_1$ must therefore flow through $R_f$. [M1]
  4. $I_2 = \frac{V_- - V_{out}}{R_f} = \frac{0 - V_{out}}{R_f} = \frac{-V_{out}}{R_f}$ — Current flows from point X (at 0 V) towards $V_{out}$ through $R_f$. The negative sign appears because $V_{out}$ is on the far side of $R_f$ from the virtual-earth node.
  5. $\frac{V_{in}}{R_{in}} = \frac{-V_{out}}{R_f}$ $\Rightarrow V_{out} = -\frac{R_f}{R_{in}} \cdot V_{in}$ — Equating the two current expressions and rearranging gives the gain relationship directly. [M1]
  6. $\frac{V_{out}}{V_{in}} = -\frac{R_f}{R_{in}}$ — This is the standard AQA result. The magnitude of the gain is $R_f / R_{in}$; the negative sign indicates the output is inverted (180° phase shift) relative to the input. [A1]

Answer: $\frac{V_{out}}{V_{in}} = -\frac{R_f}{R_{in}}$

Notice what the formula does and does not contain. The gain depends entirely on the ratio $R_f / R_{in}$ — the op-amp's own open-loop gain, its internal transistors, its temperature — none of that appears. This is why negative feedback is so powerful: it makes the circuit behaviour depend on passive, stable components rather than on the op-amp's variable internal properties.

5. The Negative Sign: Phase Inversion

The minus sign in $V_{out}/V_{in} = -R_f/R_{in}$ is not a mathematical accident — it carries real physical meaning. When the input voltage goes positive, the output goes negative, and vice versa. For a sinusoidal input, this corresponds to a 180° phase shift between input and output.

Examiners test this regularly. If a question gives you a positive $V_{in}$ and asks for $V_{out}$, the answer must be negative (assuming the magnitude of gain is greater than zero). Equally, if $V_{in}$ is negative, $V_{out}$ will be positive. Always carry the sign through your calculation — dropping it is one of the most common sources of lost marks on this topic.

6. Worked Calculations: Applying the Formula

The gain formula can be rearranged to find any one of the four quantities — $V_{out}$, $V_{in}$, $R_f$, or $R_{in}$ — given the other three. Exam questions test all four rearrangements, so it is worth practising each direction. The worked examples below cover the most common scenarios you will encounter.

Worked example: Calculating Output Voltage and Selecting a Feedback Resistor

An inverting amplifier has $R_{in} = 5\ \text{k}\Omega$ and $R_f = 100\ \text{k}\Omega$. (a) Calculate the closed-loop voltage gain. (b) Calculate $V_{out}$ when $V_{in} = -0.15\ \text{V}$. (c) A designer wants a gain of magnitude 25 using the same $R_{in}$. Calculate the required $R_f$.

  1. $\text{Gain} = -\frac{R_f}{R_{in}} = -\frac{100\ \text{k}\Omega}{5\ \text{k}\Omega} = -20$ — The k$\Omega$ units cancel in the ratio, so only the numbers matter. The gain magnitude is 20 and the output is inverted. [B1]
  2. $V_{out} = \text{Gain} \times V_{in} = -20 \times (-0.15\ \text{V})$ — Substitute the gain from Step 1 and the given input voltage. Note both the gain and $V_{in}$ are negative. [M1]
  3. $V_{out} = (-20) \times (-0.15) = +3.0\ \text{V}$ — Negative times negative gives positive. The output is $+3.0\ \text{V}$. A negative input produces a positive output — consistent with phase inversion. [A1]
  4. $|\text{Gain}| = \frac{R_f}{R_{in}} \Rightarrow R_f = |\text{Gain}| \times R_{in} = 25 \times 5\ \text{k}\Omega$ — Rearrange the gain formula for $R_f$. Use the magnitude of gain since the negative sign is a consequence of the inverting configuration, not a separate choice of resistor. [M1]
  5. $R_f = 25 \times 5\ \text{k}\Omega = 125\ \text{k}\Omega$ — $25 \times 5 = 125$, so $R_f = 125\ \text{k}\Omega$. [A1]

Answer: (a) Gain $= -20$. (b) $V_{out} = +3.0\ \text{V}$. (c) $R_f = 125\ \text{k}\Omega$.

7. Assumptions and Limitations of Virtual-Earth Analysis

Virtual-earth analysis rests on the ideal op-amp model. For the derivation to hold exactly, you need: infinite open-loop gain, infinite input impedance (zero input current), and zero output impedance. Real op-amps approximate these conditions very well at low frequencies, which is why the formula works reliably in practice for audio and instrumentation applications.

At high frequencies, the open-loop gain of a real op-amp falls, so the virtual-earth approximation becomes less accurate and the actual gain deviates from $-R_f / R_{in}$. For AQA A Level, you are expected to work within the ideal model, but being able to state the assumptions and recognise their limits demonstrates the higher-order understanding that distinguishes a top-band response.

  • Ideal op-amp assumption 1: Open-loop gain $A \to \infty$, so the differential input voltage $\to 0$ V (virtual earth holds exactly).
  • Ideal op-amp assumption 2: Input impedance $\to \infty$, so zero current flows into either input terminal (KCL at the virtual-earth node is exact).
  • Ideal op-amp assumption 3: Output impedance $= 0\ \Omega$, so the output voltage is independent of the load connected.
  • Consequence: The closed-loop gain $-R_f / R_{in}$ is set entirely by the external resistors and is independent of the op-amp's internal parameters.

8. Exam Technique and Common Mistakes

AQA exam questions on the inverting amplifier fall into three categories: derivation questions (show where the formula comes from), calculation questions (find gain, $V_{out}$, or a resistor value), and explanation questions (describe what virtual earth means or justify an assumption). Each type rewards a slightly different approach, and the tips below address the most frequently penalised errors.

For a 'describe or explain virtual earth' question, a full-mark answer typically needs three linked ideas: the non-inverting input is at 0 V; the high open-loop gain forces the differential input to be negligibly small; therefore the inverting input is also at 0 V (virtual earth). Linking these with 'therefore' or 'because' signals the causal reasoning that distinguishes an explanation from a description.

Taken together, the virtual-earth condition and the KCL argument at the inverting input node give you everything needed to derive $V_{out}/V_{in} = -R_f/R_{in}$ from first principles — which is exactly what AQA's specification requires. Practise writing out that derivation in full, naming each assumption as you use it, and you will be well placed to handle any question variant the exam presents.

Frequently asked questions

How is an inverting amplifier circuit connected?

An inverting amplifier circuit has the non-inverting input connected directly to earth, the input signal applied through an input resistor to the inverting input, and a feedback resistor connecting the output back to that same inverting input. The node where the two resistors meet is the virtual earth.

What is the gain of an inverting amplifier?

The closed-loop voltage gain of an inverting amplifier is output voltage ÷ input voltage = −Rf ÷ Rin, where Rf is the feedback resistor and Rin the input resistor. The gain depends only on the ratio of the two resistors, and the negative sign shows that the output is inverted relative to the input.

What is a virtual earth?

A virtual earth is the inverting input of an op-amp in a negative-feedback circuit, which sits at 0 V even though no wire connects it to earth. The very large open-loop gain forces V+ − V− to be essentially zero, so with the non-inverting input at 0 V, the inverting input is also at 0 V.

How do you derive the gain of an inverting amplifier?

The inverting amplifier gain is derived by treating the inverting input as a virtual earth at 0 V, so the current through the input resistor Rin is input voltage ÷ Rin. No current enters the op-amp, so the same current flows through the feedback resistor Rf, giving input voltage ÷ Rin = −output voltage ÷ Rf, so the gain is −Rf ÷ Rin.

Why is the gain of an inverting amplifier negative?

The negative sign in the inverting amplifier gain means the output is inverted: when the input goes positive the output goes negative, and vice versa. For a sinusoidal input this is a 180° phase shift between input and output, so the sign must be carried through every calculation.

How do you calculate the output voltage of an inverting amplifier?

The output voltage of an inverting amplifier is the gain × the input voltage, with gain = −Rf ÷ Rin. With a 5 kΩ input resistor and a 100 kΩ feedback resistor the gain is −20, so an input of −0.15 V gives (−20) × (−0.15) = +3.0 V.

What is the phase shift of an inverting amplifier?

An inverting amplifier gives a 180° phase shift between input and output for a sinusoidal input, which is what the negative sign in the gain formula means. When the input goes positive the output goes negative, and vice versa, so the sign must be carried through every calculation.

How do you choose the feedback resistor for an inverting amplifier?

The feedback resistor for an inverting amplifier is chosen by rearranging the gain formula: Rf = gain magnitude × Rin. For a gain of magnitude 25 with a 5 kΩ input resistor, the feedback resistor must be 25 × 5 kΩ = 125 kΩ.

What assumptions does virtual-earth analysis make?

Virtual-earth analysis assumes an ideal op-amp: infinite open-loop gain, so the differential input voltage is zero; infinite input impedance, so no current flows into either input; and zero output impedance, so the output voltage is independent of the load. Real op-amps meet these well at low frequencies.

Why does negative feedback make amplifier gain predictable?

Negative feedback makes an inverting amplifier's gain predictable because the closed-loop gain depends only on the ratio of two resistors, not on the op-amp's open-loop gain, internal transistors or temperature. Circuit behaviour then rests on passive, stable components rather than the op-amp's variable internal properties.

Does an inverting amplifier work at high frequencies?

An inverting amplifier works less accurately at high frequencies because the open-loop gain of a real op-amp falls, so the virtual-earth approximation becomes less accurate and the actual gain deviates from −Rf ÷ Rin. At low frequencies, as in audio and instrumentation, the formula works reliably.

How small is the differential input in an inverting amplifier?

The differential input in an inverting amplifier is tiny: with an open-loop gain of 10⁵ and an output of 5 V, V+ − V− = 5 ÷ 10⁵ = 50 μV. That is so close to zero that the inverting input is effectively at earth potential, hence a virtual earth.

This CourseAll Revision NotesPast PapersPricing