The Op Amp Non Inverting Amplifier: Direct Answer & Gain Formula
If you need to boost a weak sensor signal without flipping its polarity, the op amp non inverting amplifier is your go-to topology. The direct answer for its voltage gain is defined by a single, elegant formula:
Av = 1 + (Rf / Rin)
Unlike the inverting configuration, which routes the signal through the feedback network and introduces a 180-degree phase shift, the non-inverting amplifier feeds your input signal directly into the high-impedance positive (+) terminal. The output signal remains perfectly in phase with the input. The gain is strictly determined by the external feedback resistor (Rf) and the ground-referenced resistor (Rin) connected to the negative (-) terminal.
Because the input signal doesn't pass through the resistor network, the input impedance of this circuit is exceptionally high—often in the megaohm or gigaohm range, depending on the specific IC. This makes it the undisputed champion for buffering high-impedance sources like piezo sensors, electret microphones, and passive guitar pickups, ensuring you don't load down the source and lose signal amplitude.
Pinout, Symbol, and Safe Default Part Numbers
Before wiring anything, you need to know what you're holding. The standard schematic symbol for an op-amp is a triangle pointing right. The top input marked with a plus (+) is the non-inverting input; the bottom marked with a minus (-) is the inverting input. The point of the triangle is the output.
Physically, most hobbyist op-amps come in an 8-pin DIP (Dual In-line Package) housing two independent amplifiers (a 'dual' op-amp). The industry-standard pinout is:
- Pin 1: Output A
- Pin 2: Inverting Input A (-)
- Pin 3: Non-Inverting Input A (+)
- Pin 4: V- (Negative Supply or GND)
- Pin 5: Non-Inverting Input B (+)
- Pin 6: Inverting Input B (-)
- Pin 7: Output B
- Pin 8: V+ (Positive Supply)
Choosing the right IC prevents 90% of beginner headaches. Here are the safe default part numbers for 2026, complete with their operational ratings and typical single-unit pricing:
| Part Number | Best For | Supply Voltage | Slew Rate | Key Limitation | Approx. Price |
|---|---|---|---|---|---|
| LM358 | General purpose, low cost | 3V to 32V (Single/Dual) | 0.3 V/µs | Crossover distortion, not rail-to-rail output | $0.15 |
| TL072 | Audio, low-noise analog | ±5V to ±18V (Dual only) | 13 V/µs | Requires dual supply, high minimum voltage | $0.65 |
| MCP6002 | 3.3V/5V MCU interfacing | 1.8V to 6V (Single) | 0.6 V/µs | Low bandwidth, slow for high-speed ADC | $0.45 |
| OPA2134 | Audiophile, precision DC | ±2.5V to ±18V (Dual) | 10 V/µs | Higher current draw, premium pricing | $4.50 |
Complete Application Circuit: 11x Gain ESP32 Sensor Buffer
Let's build a practical circuit. You have a low-voltage analog sensor outputting 0–300mV, and you need to read it with an ESP32's 12-bit ADC, which expects a 0–3.3V range. We need a gain of exactly 11.
The Math: Av = 1 + (Rf / Rin) = 11. Therefore, Rf / Rin must equal 10. We will use standard 1% tolerance metal film resistors: Rin = 10kΩ and Rf = 100kΩ.
Tools & Materials:
- MCP6002 Dual Op-Amp IC (Rail-to-Rail I/O, perfect for 3.3V single supply)
- 10kΩ and 100kΩ 1% metal film resistors
- 100nF (0.1µF) X7R ceramic decoupling capacitor
- Breadboard, jumper wires, and a 3.3V power source (e.g., ESP32 3V3 pin)
Wiring Steps:
- Power the IC: Connect ESP32 3V3 to Pin 8 (V+). Connect ESP32 GND to Pin 4 (V-).
- Decouple: Place the 100nF ceramic capacitor physically as close as possible across Pin 8 and Pin 4. This shunts high-frequency noise and prevents the op-amp from oscillating.
- Wire the Input: Connect your sensor's signal wire directly to Pin 3 (Non-Inverting Input +).
- Wire the Ground Reference: Connect the 10kΩ resistor (Rin) from Pin 2 (Inverting Input -) to GND.
- Wire the Feedback Loop: Connect the 100kΩ resistor (Rf) from Pin 1 (Output) back to Pin 2 (Inverting Input -).
- Route the Output: Connect Pin 1 to your ESP32 GPIO pin configured for ADC reading (e.g., GPIO 34).
Verify: Power the circuit. Apply a known 100mV DC signal to the input. Use your multimeter to measure the voltage at Pin 1. You should read exactly 1.10V (±10mV). If you read 3.3V or 0V, proceed to the troubleshooting section.
Biasing, Operation Regions, and Real-World Limits
An op-amp doesn't magically create energy; it can only output voltages within the bounds of its power supply rails. Understanding the operation regions is critical to diagnosing why your signal looks 'chopped off' on an oscilloscope.
| Operation Region | Condition | Typical Output Voltage (Vout) | Output Current Limit |
|---|---|---|---|
| Linear (Active) | Vin is within valid range | Vin × Av | Typically ±20mA to ±30mA |
| Positive Saturation | Vin × Av > V+ rail | V+ minus 1.5V (LM358) or V+ minus 50mV (MCP6002) | Short-circuit protected (~40mA max) |
| Negative Saturation | Vin × Av < V- rail | V- plus 0.2V (LM358) or V- plus 5mV (MCP6002) | Short-circuit protected (~40mA max) |
The Single-Supply Biasing Trap: If you are amplifying an AC signal (like audio) using a single positive supply (e.g., 0V and 5V), you cannot feed a signal that swings below 0V. The op-amp will hit negative saturation and clip the bottom half of your waveform. To fix this, you must create a 'virtual ground' at Vcc/2 (2.5V) using a voltage divider, and AC-couple your input and output with series capacitors. This biases the signal in the middle of the linear region, allowing it to swing both up and down without hitting the rails.
Troubleshooting: How It Fails and Multimeter Testing
Op-amps rarely just 'die' without a cause. They usually fail because of overvoltage on the inputs, drawing too much current from the output, or latch-up from static discharge. I once spent three hours chasing a 'dead' TL072 audio circuit, only to realize the breadboard's power rail was split in the middle and the V- pin was floating at 0V instead of -9V.
Grab your digital multimeter (DMM) and follow this diagnostic path:
- Verify Power Rails: Set DMM to DC Voltage. Probe Pin 8 and Pin 4. If you don't see your expected supply voltages, the IC is unpowered. Check your breadboard rails for splits.
- Check the Virtual Short: In a properly functioning linear circuit, the op-amp's internal feedback forces the voltage at the inverting input (Pin 2) to perfectly match the non-inverting input (Pin 3). Probe both pins. If Pin 3 is at 500mV, Pin 2 should read between 495mV and 505mV. If there is a massive discrepancy (e.g., Pin 3 is 500mV, Pin 2 is 0V), your feedback resistor (Rf) is likely open or disconnected.
- Test for Pegged Rails: If the output (Pin 1) is stuck at your positive or negative supply rail, you have an open loop. Power down, and use the DMM's continuity/beep mode to check the physical connection of Rf from the output back to the inverting input.
- Check for Oscillation: If your DMM reads a random, fluctuating DC voltage at the output with zero input signal, the op-amp is likely oscillating at a high frequency that your DMM's low-pass filter is misinterpreting. Ensure your 100nF decoupling capacitor is installed directly across the V+ and V- pins, not halfway across the breadboard.
Frequently Asked Questions
How to wire an op amp non inverting amplifier on a single supply?
To wire this topology on a single supply (e.g., 0V to 5V) for AC signals, you must establish a DC bias point at half your supply voltage (2.5V). Create this using two equal-value resistors (e.g., 10kΩ each) in series from V+ to GND, and buffer that midpoint with a 10µF capacitor to ground. Route your AC input signal through a coupling capacitor into the non-inverting pin, and reference your feedback network to the 2.5V bias point instead of raw ground. This keeps the output centered in the linear region.
Why is my op amp non inverting amplifier clipping the output signal?
Clipping occurs when your calculated output voltage exceeds the physical limits of the op-amp's power supply rails. For example, if you input 1V with a gain of 10 on a 5V supply, the math demands 10V out. A standard LM358 will hard-clip at roughly 3.5V (V+ minus 1.5V). To fix this, either reduce the gain by lowering Rf, increase the power supply voltage (if the IC's datasheet permits), or switch to a true Rail-to-Rail output op-amp like the MCP6002, which can swing within 50mV of the positive rail.
What is the input impedance of an op amp non inverting amplifier?
The input impedance of this configuration is exceptionally high, essentially equal to the common-mode input impedance of the op-amp itself, multiplied by the loop gain. For a standard BJT-input op-amp like the LM358, this is typically 1 MΩ to 10 MΩ. For JFET or CMOS input op-amps (like the TL072 or MCP6002), it can exceed 1012 Ω (1 Teraohm). Because it doesn't load the source, it is the preferred topology for piezoelectric sensors and high-impedance instrument pickups.
Op amp non inverting amplifier vs inverting: which should I choose?
Choose the non-inverting configuration when you need high input impedance to prevent loading a weak signal source, or when you must preserve the phase (polarity) of the signal, such as in DC sensor buffering or audio paths. Choose the inverting configuration when you need to sum multiple signals together (mixer circuits), when you need a gain of less than 1 (attenuation), or when you want a predictable, fixed input impedance defined entirely by your input resistor, which is useful for impedance matching in RF or high-speed analog lines.






