The non inverting amplifier formula defines the closed-loop voltage gain of an operational amplifier circuit where the input signal is applied directly to the non-inverting (+) terminal. Because the signal does not undergo a phase inversion, this topology is the standard choice for sensor buffering, audio pre-amplification, and impedance matching. The core equation is Av = 1 + (Rf / Rin). This guide breaks down the derivation, provides rearranged forms for PCB component selection, and walks through real-world bench examples with strict unit tracking.

The Non Inverting Amplifier Formula and Symbol Definitions

The closed-loop voltage gain (Av) of a standard non-inverting operational amplifier circuit is derived from the ideal op-amp "golden rules": infinite input impedance (no current flows into the input pins) and infinite open-loop gain (the voltage difference between the inverting and non-inverting inputs is driven to zero, creating a "virtual short").

When a voltage Vin is applied to the non-inverting pin, the virtual short forces the inverting pin to also sit at Vin. This voltage is developed across the input resistor (Rin) to ground, creating a current that must also flow through the feedback resistor (Rf) to the output. Summing the voltage drops yields the standard formula.

Symbol Parameter Standard Unit Practical Bench Notes
Av Closed-Loop Voltage Gain V/V (Dimensionless) Often expressed in decibels (dB) in audio/RF. Av = 20 is +26 dB.
Vout Output Voltage Volts (V) Bounded by the op-amp's supply rails. Cannot exceed VCC or go below VEE.
Vin Input Voltage Volts (V) Must remain within the op-amp's common-mode input voltage range.
Rf Feedback Resistor Ohms (Ω) Connects output pin to inverting input. Typical values: 1kΩ to 100kΩ.
Rin Input (Ground) Resistor Ohms (Ω) Connects inverting input to ground. Also labeled R1 or Rg in some datasheets.

For a deeper look at the internal transistor architectures that make these ideal assumptions possible, refer to the Analog Devices MT-041 Tutorial on Op-Amp Architectures, which details how real-world input stages approximate the virtual short.

Rearranged Forms for Component Selection

On the bench or in CAD, you rarely solve for Av from scratch; you usually have a target gain and need to find the right E24 series resistor values. Here are the rearranged forms of the non inverting amplifier formula:

  • Solve for Feedback Resistor (Rf): R_f = R_in × (A_v - 1)
    Use when: You have standardized your BOM to a specific Rin value (e.g., 10kΩ) to minimize thermal noise and need to find Rf for a target gain.
  • Solve for Input Resistor (Rin): R_in = R_f / (A_v - 1)
    Use when: Your feedback network is constrained by a specific potentiometer or precision resistor value.
  • Solve for Output Voltage (Vout): V_out = V_in × (1 + (R_f / R_in))
    Use when: Verifying if the amplified signal will clip against your supply rails.
  • Solve for Input Voltage (Vin): V_in = V_out / (1 + (R_f / R_in))
    Use when: Reverse-engineering a sensor's raw output based on a measured amplified voltage at an ADC pin.

Worked Examples with Unit Tracking

The most common way the non inverting amplifier formula breaks in student labs and hobbyist projects is through unit mismatch. The resistor ratio (Rf / Rin) is dimensionless, meaning you can use kΩ for both, or Ω for both, but mixing units will yield catastrophic calculation errors. Similarly, failing to convert millivolts (mV) to Volts (V) when calculating Vout will result in answers that are off by a factor of 1,000.

Problem 1: Calculating Output Voltage from Sensor Data

Given: A thermocouple amplifier circuit uses an OPA2134 op-amp. Rf = 47 kΩ, Rin = 2.2 kΩ. The sensor outputs Vin = 45 mV.
Find: Vout.

  1. Convert units to base SI: Vin = 45 mV = 0.045 V. (Rf and Rin can remain in kΩ because the units cancel in the ratio).
  2. Calculate Gain (Av): Av = 1 + (47 / 2.2) = 1 + 21.36 = 22.36 V/V.
  3. Calculate Vout: Vout = 0.045 V × 22.36 = 1.006 V.

Bench check: If you forgot to convert 45 mV to 0.045 V, your math would yield 1006 V, an obvious physical impossibility that highlights the unit error.

Problem 2: Sizing Resistors for a Microcontroller ADC

Given: You need to amplify a 0-100 mV shunt monitor signal to fit a 0-3.3V ESP32 ADC input. You want a maximum Vout of 3.0V (leaving 0.3V of headroom). You have a precision 1.0 kΩ resistor for Rin.
Find: Required Rf.

  1. Determine Target Gain: Av = Vout / Vin = 3.0 V / 0.100 V = 30 V/V.
  2. Rearrange formula for Rf: Rf = Rin × (Av - 1).
  3. Substitute values: Rf = 1.0 kΩ × (30 - 1) = 1.0 kΩ × 29 = 29 kΩ.
  4. Select standard E24 value: 29 kΩ is not a standard 5% resistor. Use a 27 kΩ in series with a 2.0 kΩ, or select a 1% precision 29.4 kΩ resistor for exact scaling.

Assumptions, Limits, and Realistic Magnitudes

The non inverting amplifier formula assumes an ideal op-amp. In reality, physical silicon imposes strict limits on what the formula can achieve. According to the Electronics Tutorials guide on Non-Inverting Op-Amps, ignoring these real-world limits is the primary cause of circuit failure in DIY designs.

Realistic Magnitude Limits:

  • Gain (Av): While the math allows for a gain of 10,000, practical closed-loop gain is usually kept between 1 and 100. Beyond 100, the circuit's bandwidth collapses (due to the Gain-Bandwidth Product limit), and noise amplification renders the signal useless.
  • Minimum Gain: The formula dictates that Av can never be less than 1. If Rf = 0Ω and Rin = ∞ (open), Av = 1. This is known as a unity-gain buffer. You cannot use this topology to attenuate a signal.
  • Output Voltage Swing: The formula will happily calculate a Vout of 4.8V on a 5V supply. However, a standard LM358 op-amp cannot swing its output closer than ~1.5V to the positive rail. On a 5V single supply, an LM358 will clip at roughly 3.5V. To achieve a true 0-5V swing, you must specify a rail-to-rail output (RRIO) op-amp like the TLC2272 or MCP6002.
⚠️ Single-Supply Warning: If you are running a non-inverting amplifier on a single positive supply (e.g., 0V and 5V), the formula assumes the op-amp can handle input and output voltages down to 0V. Standard op-amps will phase-reverse or clip near the ground rail unless they specifically feature "single-supply" or "rail-to-rail input" architecture.

Frequently Asked Questions

Can the non inverting amplifier formula yield a gain of less than 1?

No. Mathematically, the lowest possible value for the resistor ratio (Rf / Rin) is zero, which occurs when Rf is shorted (0Ω) or Rin is open (infinite resistance). Plugging zero into the formula yields Av = 1 + 0 = 1. The non-inverting topology can only amplify or buffer; it cannot attenuate. If you need a gain of 0.5, you must use a passive voltage divider before a unity-gain buffer, or switch to an inverting amplifier topology.

How does the non inverting amplifier formula change for a single-supply circuit?

The core DC gain formula (Av = 1 + Rf/Rin) remains exactly the same. However, the application changes. In a single-supply circuit, you cannot swing below 0V. Therefore, you must inject a DC bias voltage (usually VCC/2) into the non-inverting pin via a voltage divider. The formula then applies to the AC signal superimposed on that DC bias. The output will sit at VCC/2 when the AC input is zero, and swing up and down from that midpoint according to the calculated gain.

Why does my calculated non inverting amplifier formula output clip in practice?

If your math says Vout should be 4.2V but your multimeter reads 3.5V, you have hit the op-amp's output swing limit. Check your datasheet for the "Output Voltage Swing" parameter. Standard bipolar op-amps lose 1V to 1.5V of headroom near the supply rails. Additionally, check your load resistance; driving a heavy load (e.g., a 100Ω speaker) will further reduce the maximum output voltage swing due to the op-amp's internal output impedance and current limiting circuitry.

What is the difference between the non inverting and inverting amplifier formulas?

The inverting amplifier formula is A_v = - (R_f / R_in). The key differences are the negative sign (indicating a 180-degree phase shift) and the absence of the "+ 1" term. In an inverting configuration, the non-inverting input is tied to ground, meaning the virtual ground sits at 0V, and the gain is strictly determined by the resistor ratio. In the non inverting configuration, the virtual short tracks the input signal, forcing the output to be the input voltage plus the voltage dropped across the feedback network, hence the "+ 1" representing the direct pass-through of the input signal to the output node.