The Core Inverting Operational Amplifier Formula

When designing analog signal conditioning circuits, the inverting amplifier is the most fundamental topology you will encounter. The core operational amplifier formula for the closed-loop voltage output of an inverting configuration is:

Vout = -Vin × (Rf / Rin)

This equation dictates that the output voltage is the input voltage multiplied by the ratio of the feedback resistor to the input resistor, inverted in polarity. Below is the strict definition of every symbol in this operational amplifier formula.

Table 1: Symbol Definitions for the Inverting Op-Amp Formula
Symbol Parameter Standard Unit Practical Circuit Context
Vout Output Voltage Volts (V) Measured at the op-amp output pin (e.g., Pin 6 on an 8-pin DIP) relative to circuit ground.
Vin Input Voltage Volts (V) The signal applied to the input resistor. Can be DC or the instantaneous AC voltage.
Rf Feedback Resistor Ohms (Ω) Connected between the output pin and the inverting input (-). Sets the gain ceiling.
Rin Input Resistor Ohms (Ω) Connected between the input signal source and the inverting input (-). Sets input impedance.

Ideal Assumptions vs. Real-World Silicon Limits

The operational amplifier formula above relies on three ideal assumptions: infinite open-loop gain, infinite input impedance (meaning zero current enters the inverting input node), and zero output impedance. In reality, no physical silicon matches these ideals. The formula applies accurately only when the op-amp's open-loop gain is at least 10,000 times greater than your target closed-loop gain, and when the output is not driven into saturation.

What does a realistic answer magnitude look like? A calculated Vout of 45V is mathematically valid on paper, but physically impossible if your op-amp is powered by a ±15V supply. A realistic Vout magnitude is strictly bounded by the supply rails, typically dropping 1.5V to 2V short of the rails for standard bipolar op-amps, or within millivolts of the rails for CMOS rail-to-rail output stages.

Before plugging numbers into the formula, you must know the hard limits of your chosen IC. The table below outlines real-world constraints for four common operational amplifiers you will find on the bench in 2026.

Table 2: Real-World Op-Amp Output Limits and Specifications
IC Part Number Typical Supply Range Max Realistic Vout Swing Input Bias Current Best Application
LM358 3V to 32V (Single/Dual) GND to (V+ - 1.5V) ~20 nA Single-supply DC sensing, battery monitors.
TL072 ±5V to ±18V ±13.5V (on ±15V rails) ~5 pA Audio preamps, high-impedance sensor buffers.
OPA2134 ±2.5V to ±18V ±12V (on ±15V rails) ~5 pA Precision audio, low-distortion instrumentation.
LM741 ±5V to ±18V ±12V (on ±15V rails) ~80 nA Legacy educational labs (avoid for new precision designs).

Source: Manufacturer datasheets from Texas Instruments and Analog Devices.

Rearranged Forms and Fatal Unit Traps

On the bench, you rarely solve for Vout blindly; more often, you are reverse-engineering a required resistor value to hit a specific gain target. Here are the algebraically rearranged forms of the core operational amplifier formula:

  • Solving for Input Voltage: Vin = -Vout × (Rin / Rf)
  • Solving for Feedback Resistor: Rf = -(Vout / Vin) × Rin
  • Solving for Input Resistor: Rin = -(Vout / Vin) × Rf

Unit Mistakes That Break the Math

The most common reason a breadboarded circuit fails to match your paper calculations is a unit mismatch. Because the formula uses a ratio for the resistors (Rf / Rin), the units for resistance cancel out. You can use 100kΩ and 10kΩ, or 100,000Ω and 10,000Ω; the ratio is exactly 10 either way. However, voltage units do not cancel. If your Vin is measured in millivolts (mV) and you blindly multiply by a dimensionless gain ratio of 10, your Vout will be in millivolts. If you expected Volts and feed that output node into a 5V ADC, you will read near-zero. Always convert Vin to base Volts before executing the multiplication.

Worked Example 1: Standard Signal Inversion and Gain

Scenario: You are conditioning a sensor signal using a TL072 op-amp powered by ±15V rails. The sensor outputs a positive DC voltage of 250 mV. You need to invert this signal and amplify it to a usable level for a microcontroller ADC that expects a negative-referenced signal. You select Rin = 4.7 kΩ and Rf = 47 kΩ (both standard E24 series values).

Objective: Calculate Vout with strict unit tracking.

  1. Convert all inputs to base SI units.
    Vin = 250 mV = 0.250 V.
    Rin = 4,700 Ω.
    Rf = 47,000 Ω.
  2. Calculate the resistor ratio (Closed-Loop Gain magnitude).
    Ratio = Rf / Rin
    Ratio = 47,000 Ω / 4,700 Ω = 10 (dimensionless).
  3. Apply the operational amplifier formula.
    Vout = -Vin × (Ratio)
    Vout = -0.250 V × 10
  4. Compute final magnitude and verify against realistic limits.
    Vout = -2.50 V.
    Verification: According to Table 2, a TL072 on ±15V rails can swing to approximately ±13.5V. Because |-2.50 V| is well within the ±13.5V boundary, the op-amp will not clip, and the ideal formula holds true.

Worked Example 2: Sizing the Feedback Resistor for a Target Output

Scenario: You are building an active low-pass filter stage. The input signal is a steady -0.5 V DC offset that you need to invert and scale up to exactly +4.0 V to bias the next transistor stage. You have a 10 kΩ precision resistor in your kit for Rin. You are using an OPA2134 on ±12V rails.

Objective: Find the exact required value for Rf.

  1. Identify known variables and target.
    Vin = -0.5 V
    Vout = +4.0 V
    Rin = 10,000 Ω
    Rf = ?
  2. Select the rearranged formula.
    Rf = -(Vout / Vin) × Rin
  3. Substitute values with units.
    Rf = -(4.0 V / -0.5 V) × 10,000 Ω
    Note: The negative signs cancel out, yielding a positive resistance value, which is physically required.
  4. Calculate and select a real-world component.
    Rf = -(-8) × 10,000 Ω
    Rf = 8 × 10,000 Ω = 80,000 Ω (or 80 kΩ).
    Bench Reality Check: 80 kΩ is not a standard E24 value. You must use an E96 series resistor (80.6 kΩ is the closest 1% standard value) or series two standard resistors (e.g., 47 kΩ + 33 kΩ = 80 kΩ exact). Furthermore, an 80 kΩ feedback resistor is perfectly safe regarding input bias current; the OPA2134's 5 pA bias current across 80 kΩ generates a negligible 0.4 μV offset error.

When the Ideal Formula Fails (Edge Cases)

If your multimeter reads a Vout that deviates from your calculated value by more than 1%, the ideal operational amplifier formula is no longer the limiting factor. Look for these physical edge cases:

  • Input Bias Current Offsets: If you use massive resistors (e.g., Rf = 10 MΩ) to save power, the tiny input bias current flowing into the op-amp's inverting pin creates a voltage drop across the resistors. On a legacy LM741 (80 nA bias current), 10 MΩ generates an 800 mV error, entirely destroying your calculated Vout. Keep parallel resistor combinations under 100 kΩ for bipolar op-amps.
  • Slew Rate Limiting: The formula assumes instantaneous output changes. If your Vin is a high-frequency AC signal, the op-amp's slew rate (measured in V/μs) limits how fast Vout can physically change. An LM358 slews at roughly 0.3 V/μs; asking it to output a 10V peak-to-peak sine wave at 100 kHz will result in a distorted triangle wave, rendering the DC gain formula useless for AC peak calculations.
  • Gain-Bandwidth Product (GBWP): The closed-loop gain calculated by Rf/Rin is only valid at low frequencies. As frequency increases, the op-amp's internal open-loop gain drops. If your TL072 has a GBWP of 3 MHz, and you design a circuit with a gain of 100 (40 dB), the formula will only hold true for signals below 30 kHz (3 MHz / 100).

For deeper analysis on how internal transistor architectures affect these edge cases, the All About Circuits semiconductor textbook provides excellent schematic breakdowns of the internal differential pairs that cause these non-ideal behaviors.