The Noninverting Op Amp: Symbol, Pinout, and Core Math

The direct answer for the voltage gain of a noninverting op amp is Av = 1 + (Rf / Ri). The input signal is applied to the noninverting (+) terminal, meaning the output signal maintains the same phase and polarity as the input. The inverting (-) terminal is tied to a voltage divider formed by the feedback resistor (Rf) and the ground-referenced input resistor (Ri).

When looking at the standard schematic symbol, the op amp is drawn as a triangle. The '+' input is the noninverting pin, and the '-' input is the inverting pin. In a physical 8-pin DIP (Dual In-line Package) IC, the pinout is standardized across almost all dual op amp part numbers:

  • Pin 1: Output A
  • Pin 2: Inverting Input A (-)
  • Pin 3: Noninverting Input A (+)
  • Pin 4: V- (Negative Supply or Ground)
  • Pin 5: Noninverting Input B (+)
  • Pin 6: Inverting Input B (-)
  • Pin 7: Output B
  • Pin 8: V+ (Positive Supply)
Bench Tip: Because of the high open-loop gain (often >100,000), the op amp will drive its output to whatever voltage is necessary to make the voltage at the inverting pin exactly equal to the voltage at the noninverting pin. This is the 'virtual short' principle that makes the gain math work.

Selecting and Biasing the Right IC for Your Circuit

Choosing an op amp is not just about picking a random triangle symbol. You must match the IC's supply voltage range, input common-mode range, and output swing to your application. Here are the three safe default part numbers I keep in my bench stock, complete with their operating ratings and typical 2026 bulk pricing:

Part NumberBest ApplicationSupply VoltageKey LimitationTypical Price
LM358General purpose, single-supply DC sensing3V to 32V (Single) or ±1.5V to ±16V (Dual)Class-B output stage causes crossover distortion near 0V; slow slew rate (0.6V/µs).~$0.12
TL072Audio preamps, high-impedance sensor buffering±5V to ±15V (Dual supply required for best performance)Will not operate on a single 5V rail; inputs cannot swing to the negative rail.~$0.35
MCP60013.3V/5V microcontroller ADC buffering (ESP32/Arduino)1.8V to 6.0V (Single)Low bandwidth (1 MHz GBW); not suitable for high-frequency RF or fast PWM filtering.~$0.28

Biasing for Single vs. Dual Supply

If you are using a dual supply (e.g., ±12V), biasing is trivial: the noninverting input references the 0V system ground. However, most modern DIY and embedded projects run on a single supply (e.g., 5V or 3.3V). Because an op amp cannot output a voltage below its V- pin (usually 0V in single supply), a DC input near 0V will clip the negative half of an AC signal.

The Fix: Create a virtual ground. Use two equal-value resistors (e.g., 10kΩ each) as a voltage divider from VCC to GND. This creates a VCC/2 reference. Feed this reference to the noninverting pin through a low-pass filter (add a 10µF capacitor to ground to reject power supply noise). AC-couple your actual input signal into the noninverting pin via a 1µF series capacitor. The op amp will now amplify the AC signal centered around VCC/2.

Operation Regions and a Complete Application Circuit

An op amp does not always operate in its linear region. Understanding where the device saturates is critical for debugging. Below are the three operation regions for a standard LM358 powered by a single 12V supply:

Operation RegionCondition (V+ vs V-)Typical Output VoltageOutput Current Capability
Linear (Active)V+ ≈ V- (Virtual short maintained)Tracks (Vin × Gain). Range: ~0.02V to 10.5VSource up to 30mA; Sink up to 20mA
Positive SaturationV+ > V- (Input differential > 2mV)Pegged at ~10.5V (VCC - 1.5V headroom)Limited by internal short-circuit protection (~40mA max)
Negative SaturationV+ < V- (Input differential < -2mV)Pegged at ~0.02V (Ground + saturation voltage)Sinks current down to ground rail

Complete Application Circuit: 100mV Shunt Amplifier

Let's build a practical circuit: amplifying a 0-50mV DC signal from a current shunt resistor so an ESP32 ADC (0-3.3V range) can read it. We need a gain of roughly 60. We will use the MCP6001 powered by a clean 3.3V rail.

  1. Power: Connect VCC to 3.3V and V- to GND. Place a 100nF ceramic bypass capacitor directly across Pins 8 and 4.
  2. Input: Feed the shunt voltage (0-50mV) directly into Pin 3 (Noninverting +).
  3. Feedback Network: Connect Ri (1kΩ) from Pin 2 (Inverting -) to GND. Connect Rf (59kΩ) from Pin 2 to Pin 1 (Output). Note: 59k is a standard 1% E96 value; 60.4kΩ or a 56k+3.3k series combo also works.
  4. Gain Calculation: Av = 1 + (59,000 / 1,000) = 60.
  5. Output: A 50mV input yields exactly 3.0V at Pin 1, perfectly utilizing the ESP32's ADC range without clipping.

For a deeper dive into op amp stability and compensation networks in feedback loops, refer to the Analog Devices Op Amp Basics guide.

Failure Modes and Multimeter Testing

Op amps are robust, but they fail in predictable ways. The most common bench failures are input overvoltage (exceeding the absolute maximum differential input rating, which ruptures the internal protection diodes or gate oxide) and output short circuits (which triggers thermal shutdown or melts the bond wires if the IC lacks protection).

If your circuit is misbehaving, do not just desolder the chip immediately. Use your digital multimeter (DMM) to test it in-circuit first:

  1. De-energize and Discharge: Remove power and short the supply rails with a 1kΩ resistor to discharge any bulk capacitors.
  2. DMM Diode Test (Power Pins): Set your meter to diode mode. Place the red probe on V- (Pin 4) and the black probe on V+ (Pin 8). You should read an open circuit (OL) or a very high diode drop. If it reads 0.00V or a dead short, the internal silicon is melted. Replace the IC.
  3. DMM Diode Test (Input Protection): Measure from the inputs (Pins 2 and 3) to V+ and V-. You should read a typical silicon diode drop (0.5V to 0.7V). If you read a short, the input ESD protection diodes have been blown by an overvoltage event.
  4. Live Virtual Short Test: Power the circuit. Set the DMM to DC millivolts. Measure directly between Pin 2 and Pin 3. In a functioning linear circuit, this differential voltage must be < 5mV. If you measure a large differential voltage (e.g., 1.5V) and the output is not pegged to a rail, the op amp has an internal open circuit and is dead.
  5. Verify Output Drive: Measure the output pin (Pin 1) relative to ground. If the math dictates 2.5V but you read 0.5V, temporarily disconnect the load. If the voltage jumps to 2.5V, your op amp isn't broken; you are just exceeding its 20mA output current limit.
Safety Warning: When testing op amps in mains-referenced circuits (like off-line SMPS feedback loops), ensure you are using an isolated differential probe or a properly isolated oscilloscope. Standard DMMs referenced to earth ground can create a dead short across the shunt if the ground lead is clipped to the high-side rail.

Frequently Asked Questions

Why is my noninverting op amp output stuck at the positive rail?

If your output is pegged to VCC (minus the saturation headroom), the op amp is in positive saturation. This happens when the voltage at the noninverting (+) pin is higher than the voltage the feedback network can pull the inverting (-) pin up to. Common culprits include an open-circuit feedback resistor (Rf), a shorted ground resistor (Ri), or an input signal that exceeds the designed maximum range. Check Rf for a broken solder joint first.

Can I use a noninverting op amp as a unity gain buffer?

Yes, and it is one of the most useful configurations for impedance matching. To build a unity gain buffer (gain = 1), simply connect the output pin directly to the inverting (-) pin, and feed your signal into the noninverting (+) pin. You omit Rf and Ri entirely. This provides massive input impedance (often >100 GΩ for JFET/CMOS inputs) and low output impedance, preventing a high-impedance sensor from being loaded down by a microcontroller's ADC sampling capacitor. Note that some older op amps, like the LM358, can become slightly unstable in unity-gain configurations at high frequencies; check the datasheet for 'unity-gain stable' confirmation.

What happens if I swap the inverting and noninverting inputs?

If you accidentally route your input signal to the inverting (-) pin and tie the noninverting (+) pin to ground through a resistor, you have just built an inverting amplifier. The gain formula changes to Av = -(Rf / Ri), meaning your output signal will be inverted (a positive input voltage yields a negative output voltage). In a single-supply circuit where the negative rail is 0V, an inverting configuration trying to output a negative voltage will simply clip hard at 0V, resulting in a completely flatlined or half-wave rectified output signal.