An operational amplifier (op-amp) is a high-gain, DC-coupled voltage amplifier with differential inputs and a single-ended output. In practical op amp electronics, you rarely use them open-loop; instead, you wrap them in negative feedback to create precise, predictable gain stages, buffers, and filters. If you need a reliable, cheap part to buffer a sensor or amplify a low-frequency signal on a single 5V to 12V supply, the LM358 (or its modern CMOS cousin, the LMC6482) is your safe default. For audio mixing or dual-rail ±15V bench work, grab the TL072 or NE5532.
This guide skips the abstract semiconductor physics and focuses entirely on what you need at the workbench: how to read the pinout, how to bias the inputs for single-supply operation, a complete working circuit, and how to diagnose a dead chip with a multimeter.
Anatomy, Pinouts, and the Safe Default Selection Matrix
The standard symbol for an op-amp is a triangle pointing right. The non-inverting input (+) and inverting input (-) are on the left, and the output is on the right. Power rails (V+ and V-) are typically omitted in schematic symbols but are physically present on the chip.
Most hobbyist and prototyping op-amps come in an 8-pin DIP (Dual In-line Package) or SOIC surface-mount footprint. For a dual op-amp like the ubiquitous LM358, the Texas Instruments LM358 datasheet defines the standard pinout:
- Pin 1: Output A
- Pin 2: Inverting Input A (-)
- Pin 3: Non-Inverting Input A (+)
- Pin 4: V- (Ground or negative rail)
- Pin 5: Non-Inverting Input B (+)
- Pin 6: Inverting Input B (-)
- Pin 7: Output B
- Pin 8: V+ (Positive supply rail)
Choosing the right part prevents hours of debugging. Here is a data-dense matrix of the safest default op-amps for common DIY and prototyping scenarios in 2026.
| Part Number | Input Type | Supply Range | Slew Rate | GBW (MHz) | Best Application | Approx Cost |
|---|---|---|---|---|---|---|
| LM358 | BJT | 3V to 32V (Single/Dual) | 0.3 V/µs | 1.0 | General purpose, sensor buffering, low-speed DC | $0.15 |
| TL072 | JFET | ±18V (Dual rail preferred) | 13 V/µs | 3.0 | Audio mixers, guitar pedals, active filters | $0.45 |
| NE5532 | BJT | ±22V | 9 V/µs | 10.0 | Pro-audio, low-noise preamps, high-current drive | $0.60 |
| MCP6002 | CMOS | 1.8V to 6.0V | 0.6 V/µs | 1.0 | 3.3V MCU interfacing, battery-powered IoT sensors | $0.35 |
| OPA2134 | FET | ±18V | 20 V/µs | 8.0 | High-end audiophile gear, precision instrumentation | $3.50 |
Biasing Strategies and Operating Regions
The most common mistake in op amp electronics is assuming the chip knows what 'ground' is. An op-amp only cares about the voltage difference between its V+ and V- pins, and the voltage difference between its two inputs. If you run a TL072 on a single 9V battery (V+ = 9V, V- = 0V), an AC audio signal swinging negative will immediately hit the 0V rail and clip.
To fix this, you must bias the inputs to a midpoint voltage (a 'virtual ground'), typically Vcc/2. This allows the output to swing both up and down around that midpoint. As detailed in All About Circuits' op-amp fundamentals, the chip operates in distinct regions depending on the feedback network and input voltages.
| Operating Region | Feedback State | Voltage Differential (V+ to V-) | Typical Output Voltage | Practical Use Case |
|---|---|---|---|---|
| Linear (Active) | Closed-loop (Negative) | ~0V (Virtual short) | Between V- + 1V and V+ - 1.5V | Amplifiers, buffers, active filters |
| Positive Saturation | Open-loop or Positive | V+ input > V- input by >1mV | Clamped near V+ rail | Comparators, Schmitt triggers |
| Negative Saturation | Open-loop or Positive | V- input > V+ input by >1mV | Clamped near V- rail | Comparators, zero-crossing detectors |
| Common-Mode Violation | Any | Inputs exceed datasheet Vcm range | Unpredictable / Phase Reversal | None (This is a fault condition) |
How to select for the job: If your signal is DC (like a thermocouple or load cell), you need a single-supply part with 'Rail-to-Rail Input/Output' (RRIO) like the MCP6002, or you must accept that a standard LM358 cannot swing its output closer than ~1.5V to the positive rail. If your signal is AC audio, the LM358's crossover distortion makes it a poor choice; use a TL072 or NE5532 with a dual-rail supply or a well-filtered Vcc/2 virtual ground.
Complete Application Circuit: Single-Supply Electret Preamplifier
Let's build a practical, non-inverting AC amplifier using an LM358 on a single 9V supply. This circuit amplifies an electret microphone signal by roughly 40dB (gain of 100) to drive an ADC or audio cable.
Component List and Values
- U1: LM358 Dual Op-Amp (We will only use half; tie the unused half's output to its inverting input, and ground the non-inverting input to prevent oscillation).
- R1, R2: 100kΩ (Voltage divider to create 4.5V virtual ground)
- C1: 10µF Electrolytic (Filters the 4.5V bias node to ground)
- R3: 2.2kΩ (Provides bias voltage to the electret mic capsule)
- C2: 1µF Ceramic (AC coupling from mic to op-amp input)
- R4: 10kΩ (Input impedance matching and bias routing)
- Rf: 100kΩ (Feedback resistor)
- Rg: 1kΩ (Gain setting resistor to ground/bias)
- C3: 10µF Electrolytic (Blocks DC from Rg, ensuring DC gain is 1, while AC gain is 101)
- C4: 10µF Electrolytic (Output AC coupling capacitor)
Wiring and Math
- Establish the Bias: Connect R1 from 9V to Pin 3 (Non-inverting input). Connect R2 from Pin 3 to Ground (Pin 4). This sets the DC bias at 4.5V. Tie C1 from Pin 3 to Ground to keep this node quiet.
- Mic Biasing: Connect the mic capsule's positive terminal to 9V via R3 (2.2kΩ). Connect the mic's negative terminal to Ground. Route the signal from the mic's positive terminal through C2 (1µF) and then through R4 (10kΩ) into Pin 3.
- Set the Gain: Connect Rf (100kΩ) from Pin 1 (Output) to Pin 2 (Inverting input). Connect Rg (1kΩ) from Pin 2 to the positive lead of C3 (10µF). Connect the negative lead of C3 to Ground.
- Output Stage: Connect C4 (10µF) from Pin 1 to your output jack. The positive side of C4 faces Pin 1.
The Math: The AC gain is calculated as Av = 1 + (Rf / Rg). Here, 1 + (100,000 / 1,000) = 101. Because C3 blocks DC, the DC gain is simply 1 + 0 = 1. This means the DC output sits perfectly at 4.5V, while the AC audio signal is amplified 101 times. If your 9V battery drops to 7V, the bias shifts to 3.5V, but the circuit continues to function linearly.
Failure Modes and Multimeter Diagnostics
Op-amps are rugged, but they do fail. The most common bench fatalities are output short circuits (driving a low-impedance load like an 8Ω speaker directly without a buffer transistor), ESD strikes on the inputs, and phase reversal. Phase reversal happens in older BJT/JFET parts (like the LM358 or TL072) when an input voltage drops below the negative common-mode limit; the output suddenly slams to the positive rail instead of the negative rail, often destroying downstream components.
If your circuit is misbehaving, put down the oscilloscope and grab your digital multimeter (DMM). Follow this diagnostic sequence:
- Verify Power Rails (Pins 8 and 4): Power the circuit. Set your DMM to DC Volts. Measure Pin 8 to Pin 4. You should read your exact supply voltage (e.g., 9.0V). If it reads 0V, check your breadboard power rails. If it reads low (e.g., 4V), the chip is likely shorted internally or your supply is current-limiting.
- Check the Bias (Pins 3 and 5): Measure the non-inverting inputs. In our single-supply circuit, Pin 3 should read exactly half your supply voltage (4.5V). If it reads 0V or Vcc, your voltage divider (R1/R2) is broken or shorted.
- Verify the Virtual Short (Pins 2 and 3): In a properly functioning closed-loop linear circuit, negative feedback forces the inverting input (Pin 2) to match the non-inverting input (Pin 3). Measure the DC voltage difference between Pin 2 and Pin 3. It should be less than 5mV. If Pin 2 is sitting at 0V while Pin 3 is at 4.5V, your feedback loop (Rf or Rg) is open.
- Check the Output (Pin 1): Measure Pin 1 relative to ground. It should match the DC bias voltage (4.5V). If it is slammed to 0V or 9V (saturation), your inputs are out of the common-mode range, or the chip is dead.
- The Power-Off Short Test: Turn off the power. Set your DMM to resistance/diode mode. Measure between Pin 1 (Output) and Pin 8 (V+), and Pin 1 to Pin 4 (V-). You should not see a dead short (< 10Ω). If you read near 0Ω, the internal output transistor has melted, and the chip must be desoldered and replaced.
Keeping a drawer stocked with LM358s for DC sensor work, TL072s for dual-rail audio, and MCP6002s for 3.3V microcontroller projects will cover 95% of your bench needs. Understand the pinout, respect the common-mode input limits, and always decouple your power rails.






