How to Solve Op Amp Circuits With Two Simple Rules

Solving op amp circuits comes down to two simple rules and one reliable method. Whether you’re working through a homework problem or designing a real amplifier stage, the process is the same: apply the ideal op amp assumptions, write node equations, and solve. Once you internalize this approach, even complex multi-stage circuits become manageable.

The Two Rules That Simplify Everything

An ideal op amp has infinite open-loop gain and infinite input impedance. Those two properties give you the only rules you need to memorize:

  • Rule 1: No current flows into either input terminal. Because the input impedance is infinite, the inputs act like perfect voltmeters. Whatever currents exist in your circuit must flow through the external resistors, not into the op amp.
  • Rule 2: The voltage at the two input terminals is equal. Because the open-loop gain is infinite, even a tiny difference between the inputs would drive the output to its rail. When negative feedback is present, the op amp adjusts its output until the inverting (−) and non-inverting (+) inputs sit at the same voltage.

Rule 2 only holds when the circuit has negative feedback, meaning there is a path from the output back to the inverting input. If there’s no feedback (as in a comparator configuration), the inputs are not forced equal and the output saturates at one of the supply rails. For every standard amplifier circuit you’ll encounter in a textbook, negative feedback is present, so both rules apply.

A Step-by-Step Procedure for Any Circuit

Node voltage analysis is the most systematic way to solve op amp circuits. Here’s the process:

1. Label every node. Identify each distinct point in the circuit where components connect. Assign a variable (V₁, V₂, etc.) to each node whose voltage you don’t already know. Pick one node as your reference (ground).

2. Apply the two ideal op amp rules. If the non-inverting input is connected to ground, you immediately know the inverting input is also at 0 V (this is called a “virtual ground”). If the non-inverting input is at some known voltage, the inverting input matches it. Write that relationship down before doing anything else.

3. Write Kirchhoff’s Current Law (KCL) at each unknown node. At every node with an unknown voltage, add up all the currents leaving the node and set the sum to zero. Express each current as a voltage difference divided by the resistance between the two nodes. Remember that zero current flows into the op amp inputs, so any branch going into an op amp input carries no current.

4. Solve the resulting equations. You’ll typically end up with one or two linear equations. Solve them algebraically for your output voltage in terms of the input voltage and resistor values.

This same four-step method works for inverting amplifiers, non-inverting amplifiers, summing amplifiers, and differential amplifiers. The circuit topology changes, but the procedure doesn’t.

Solving an Inverting Amplifier

The inverting amplifier is the most common starting point. It has an input resistor (Rᵢ) connecting the signal source to the inverting input, and a feedback resistor (R_F) connecting the output back to the inverting input. The non-inverting input is tied to ground.

Since the non-inverting input is at 0 V, Rule 2 tells you the inverting input is also at 0 V. This is the virtual ground. Now write KCL at the inverting input node. The current flowing through Rᵢ toward that node is Vᵢₙ / Rᵢ (since the node is at 0 V). The current flowing through R_F away from that node is −Vₒᵤₜ / R_F. No current enters the op amp. Setting the sum of currents to zero:

Vᵢₙ / Rᵢ + Vₒᵤₜ / R_F = 0

Rearranging gives you the gain formula: Vₒᵤₜ / Vᵢₙ = −R_F / Rᵢ. The negative sign means the output is inverted relative to the input. If R_F is 10 kΩ and Rᵢ is 1 kΩ, the gain is −10. A 0.1 V input produces a −1 V output.

Solving a Non-Inverting Amplifier

In a non-inverting amplifier, the input signal connects directly to the non-inverting (+) input. A voltage divider made of R₁ and R₂ sits between the output and ground, with its midpoint feeding back to the inverting (−) input.

Rule 2 tells you the inverting input is at the same voltage as the input signal, Vᵢₙ. The voltage divider sets the inverting input voltage to Vₒᵤₜ × R₁ / (R₁ + R₂). Setting these equal:

Vᵢₙ = Vₒᵤₜ × R₁ / (R₁ + R₂)

Solving for gain: Vₒᵤₜ / Vᵢₙ = 1 + R₂ / R₁. Notice this gain is always positive and always at least 1. A non-inverting amplifier with R₂ = 9 kΩ and R₁ = 1 kΩ has a gain of 10. If you set R₂ to zero (or remove it entirely), the gain becomes 1, which is a voltage follower, useful for buffering signals without loading the source.

One practical difference from the inverting configuration: the input signal connects directly to the op amp input, which has extremely high impedance (typically 10⁷ Ω for bipolar op amps and up to 10¹² Ω for FET-input types). This means the non-inverting amplifier draws almost no current from the signal source, making it a better choice when your source is weak or high-impedance.

Solving a Summing Amplifier

A summing amplifier is a variation of the inverting configuration with multiple input resistors, each carrying a different signal to the inverting input. The non-inverting input is grounded, so the inverting input sits at virtual ground.

Write KCL at the inverting node. Each input contributes a current of Vₙ / Rₙ. All of these currents, plus the feedback current through R_F, must sum to zero. For two inputs:

Vₒᵤₜ = −(R_F / R₁) × V₁ − (R_F / R₂) × V₂

This generalizes to any number of inputs. Each input voltage is independently scaled by the ratio of the feedback resistor to its own input resistor, then the results are summed (and inverted). If all input resistors are equal to R_F, the output is simply the inverted sum of all inputs. This circuit is the basis for audio mixers and digital-to-analog converters.

Solving a Difference Amplifier

A difference amplifier uses four resistors to amplify the voltage difference between two signals while rejecting any voltage common to both. One input connects through a resistor to the inverting input (with feedback from the output), and the other connects through a resistor to the non-inverting input (with a resistor to ground forming a voltage divider).

The analysis uses the same two rules but requires one extra step: you first find the voltage at the non-inverting input using the voltage divider, then set the inverting input equal to it (Rule 2), then write KCL at the inverting node. For the standard configuration with resistors R₁ and R₂, the result is:

Vₒᵤₜ = (R₂ / R₁) × (V₂ − V₁)

This only works cleanly when the resistor ratios are matched. If the resistors are mismatched, common-mode signals (voltages present on both inputs equally) leak into the output. In practice, even 1% resistor tolerance mismatches can noticeably degrade common-mode rejection. Precision applications use 0.1% or better matched resistor networks.

Gain-Bandwidth Product Limits

Real op amps don’t have infinite gain at all frequencies. Open-loop gain rolls off as frequency increases, and this places a hard ceiling on what your circuit can achieve. The key specification is the gain-bandwidth product (GBW): the frequency at which the open-loop gain drops to 1. For the classic 741 op amp, this is 1 MHz.

The rule is simple. Multiply your closed-loop gain by the bandwidth you need. That product cannot exceed the GBW. If your amplifier has a gain of 100, it can only operate up to 10 kHz with a 1 MHz GBW op amp. If you need a gain of 10, you get 100 kHz of bandwidth. A voltage follower (gain of 1) gets the full 1 MHz.

If your calculation shows you need more than the op amp can deliver, you either choose a faster op amp with a higher GBW, or split the gain across two stages. Two stages of gain-10 in series give you a total gain of 100, and each stage only needs a bandwidth equal to your signal frequency.

Slew Rate and Large Signals

Gain-bandwidth product describes behavior with small signals. For large signal swings, slew rate is the limiting factor. Slew rate is the maximum speed at which the output voltage can change, measured in volts per microsecond.

To avoid distortion, the output must be able to keep up with your signal. The required slew rate for a sine wave is 2π × frequency × peak voltage. If you’re amplifying a 50 kHz sine wave to a 10 V peak, you need a slew rate of at least 2π × 50,000 × 10 = 3.14 V/μs. If the op amp can’t slew fast enough, the output waveform’s peaks get rounded and flattened, a form of distortion called slew-induced distortion.

Accounting for DC Offset Errors

Ideal op amp analysis assumes perfect components, but real op amps have a small built-in voltage imbalance between their inputs called the input offset voltage. This offset gets amplified along with your signal and adds a DC error to the output.

The error at the output is always the offset voltage multiplied by the non-inverting gain of the circuit, regardless of whether you’re using an inverting or non-inverting topology. For an inverting amplifier with a gain of −R_F/R_G, the output becomes:

Vₒᵤₜ = Vᵢₙ × (−R_F / R_G) ± V_OS × (1 + R_F / R_G)

Notice the offset is multiplied by (1 + R_F / R_G), not just R_F / R_G. For a circuit with a gain of −100, the offset gets amplified by 101. If your op amp has a 1 mV offset, that’s 101 mV of DC error at the output. For high-gain or precision circuits, choosing an op amp with a low offset voltage (or using one with built-in offset trimming) matters more than the gain-bandwidth product or slew rate.