- General purpose: the LM358 (dual, DIP-8), the LM324 (quad, DIP-14), the TL072 (JFET-input dual, DIP-8) and the LM741 (single, DIP-8, also sold as the uA741 or "IC 741").
- Rail-to-rail, for 3.3 V and 5 V boards: the MCP6002 (dual), MCP6004 (quad) and LMV358 (dual).
- Audio duals for a split supply: the NE5532, LM833 and OPA2134.
- The rest: the TL081 and TL084 (the single and quad of the TL072's family), the OP07 precision single and the CA3140.
Aliases: LM358N, LM358P, LM324N, TL072CP, uA741, IC741, NE5532P, SA5532, LM833N, OPA134, MCP6001, LMV321, LMV324, TL071, TL074, OP07C, CA3140E, operational amplifier, rail-to-rail op-amp, audio op-amp. The LM2904 is the LM358 rated for -40 to 125 °C and the TL082 is the TL072's twin: search for either and you get the LM358 or the TL072.
Every amplifier inside is the same model the op-amp part uses, with the numbers of its own datasheet: open-loop gain, a gain-bandwidth product, a slew rate, an output that stops short of its rails, an output resistance and a short-circuit current limit. The amplifiers in one package share its supply pins and nothing else. All of them are in the part panel under Timers and analog.
Pins
Pin 1 is next to the notch, and the numbers run counter-clockwise seen from above: along the bottom row left to right, then back along the top.
The duals (DIP-8)
| Pin | LM358, LMV358 | TL072, NE5532, LM833, OPA2134 | MCP6002 |
|---|---|---|---|
| 1 | 1OUT |
1OUT |
VOUTA |
| 2 | 1IN- |
1IN- |
VINA- |
| 3 | 1IN+ |
1IN+ |
VINA+ |
| 4 | GND |
VCC- |
VSS |
| 5 | 2IN+ |
2IN+ |
VINB+ |
| 6 | 2IN- |
2IN- |
VINB- |
| 7 | 2OUT |
2OUT |
VOUTB |
| 8 | VCC |
VCC+ |
VDD |
The singles (DIP-8)
| Pin | LM741, OP07, CA3140 | TL081 |
|---|---|---|
| 1 | NULL1 (offset null) |
NULL1 |
| 2 | IN- |
IN- |
| 3 | IN+ |
IN+ |
| 4 | V- |
VCC- |
| 5 | NULL2 (OP07: NC) |
NULL2 |
| 6 | OUT |
OUT |
| 7 | V+ |
VCC+ |
| 8 | NC (OP07: NULL2, CA3140: STROBE) |
NC |
Offset null, NC and strobe are not connected inside the model.
The quads (DIP-14)
| Pin | LM324, TL084 | MCP6004 |
|---|---|---|
| 1, 2, 3 | 1OUT, 1IN-, 1IN+ |
VOUTA, VINA-, VINA+ |
| 4 | VCC (TL084: VCC+) |
VDD |
| 5, 6, 7 | 2IN+, 2IN-, 2OUT |
VINB+, VINB-, VOUTB |
| 8, 9, 10 | 3OUT, 3IN-, 3IN+ |
VOUTC, VINC-, VINC+ |
| 11 | GND (TL084: VCC-) |
VSS |
| 12, 13, 14 | 4IN+, 4IN-, 4OUT |
VIND+, VIND-, VOUTD |
The quads take their supply on pins 4 and 11, not on the corners, and pin 4 is the positive one.
Properties
offset is the input offset voltage in millivolts, added to every amplifier in the
package, and zero unless you set it. A real chip's offset is a few millivolts either
way and differs from one amplifier to the next; setting it shows what it does to a
comparator's switching point or a high-gain stage's output. The OP07 is bought for
its microvolts of offset; here every chip is that precise until you set one.
The numbers
| Chip | open-loop gain | gain-bandwidth | slew rate | output swing | short circuit |
|---|---|---|---|---|---|
| LM358, LM324 | 100 000 | 0.7 MHz | 0.3 V/µs | from 5 mV above GND to 1.5 V under VCC |
40 mA |
| TL072, TL081, TL084 | 200 000 | 3 MHz | 13 V/µs | 1.5 V inside both rails | 40 mA |
| LM741 | 200 000 | 1 MHz | 0.5 V/µs | 1.5 V inside both rails | 25 mA |
| NE5532 | 100 000 | 12 MHz | 5 V/µs | 2 V inside both rails | 38 mA |
| LM833 | 316 000 | 16 MHz | 7 V/µs | 1.2 V under the top, 1.3 V over the bottom | 29 mA |
| OPA2134 | 1 000 000 | 8 MHz | 20 V/µs | 1.2 V under the top, 0.5 V over the bottom | 36 mA |
| MCP6002, MCP6004 | 400 000 | 1 MHz | 0.6 V/µs | 25 mV inside both rails | 23 mA |
| LMV358 | 100 000 | 1 MHz | 1 V/µs | 10 mV under the top, 65 mV over the bottom | 40 mA |
| OP07 | 400 000 | 0.6 MHz | 0.3 V/µs | 2 V inside both rails | 25 mA |
| CA3140 | 100 000 | 4.5 MHz | 9 V/µs | 2 V under the top, 0.13 V over the bottom | 40 mA |
Each output is behind its open-loop output resistance (100 ohm, 75 ohm for the 741), so a load pulls it down a little: an LM358 sitting at its 3.5 V top into 10 k reads 3.47 V.
The sources are TI's data sheets (LM358, LM324, TL07x and TL08x, LM741, NE5532, LM833, OPA2134, LMV358, OP07), Microchip's (MCP6002) and Renesas' (CA3140). Where a sheet gives different sourcing and sinking limits, the model's single limit is the sourcing one. The OP07's sheet gives none, so it has the 741's 25 mA. The NE5532's swing is from TI's earlier sheets, which printed it.
Which one to use
On a single 5 V supply, the LM358 or LM324. Their outputs reach ground, so a
signal near 0 V can be amplified and a comparator's low is a real logic low. They
cannot get closer than 1.5 V to VCC, so on 5 V the output tops out at 3.5 V, which
an Arduino still reads as HIGH.
On a 3.3 V board, the MCP6002 or MCP6004. They run from 1.8 V to 6 V and their outputs reach within 25 mV of both rails, so an ESP32's or a Pico's ADC gets the whole range. The LMV358 is the same idea for 2.7 V to 5.5 V.
On a split supply, the 741 or the TL072. Wire V- (or VCC-) to a negative
supply, such as -12 V, and the output can go both sides of ground. On a single 5 V
supply both are stuck between 1.5 V and 3.5 V: a 741 asked for 0 V gives 1.5 V.
That is why a 741 copied from a textbook onto a 5 V Arduino circuit does not work,
and the simulator shows it.
For audio on a split supply, the NE5532, LM833 or OPA2134. They are fast; none of them gets near its rails, so give them ±9 V to ±15 V.
On one 5 V supply with a signal near ground, the CA3140, whose output goes down to 0.13 V. It stops 2 V under the top, so on 5 V it tops out at 3 V.
For a chip built to compare rather than amplify, see comparator chips.
While it runs
Each output lead and its label light while that output is above the middle of the supply. Put a multimeter or a scope on a pin to read the voltage.
What the model gets right
The non-inverting gain of 1 + Rf / Rg, the inverting gain of -Rf / Rin, the output swing of each chip, its slew rate (an LM358 comparator takes about 5 µs to rise 1.5 V), its gain-bandwidth product in an AC sweep, and comparator use with no feedback at all.
What it does not model
The inputs draw no current, so FET and JFET inputs (the TL07x's, the TL08x's and the OPA2134's reason for being) cannot be told apart from bipolar ones.
There is no common-mode input range. A real LM358's inputs stop working within
1.5 V of VCC, and a real 741's about 3 V from either rail; here they work anywhere.
No noise, so the NE5532's and LM833's low noise does not show. No phase reversal, no supply current, and the swing does not shrink with load current.
Fast slew rates are set by the bandwidth. The TL07x and TL08x (13 V/µs) and the OPA2134 (20 V/µs) slew faster than the simulator draws a slew, so their edges come from their bandwidth instead. The TL081 and TL084 use TI's original TL08x figures; TI's current TL08x die is faster (5.25 MHz, 20 V/µs), which this does not draw.
The offset-null pins do nothing. A nulling trimmer on the 741's NULL1 and
NULL2 changes nothing, so use offset.
Common mistakes
Running a 741 on 5 V and wondering why the output never goes below 1.5 V.
Putting an MCP6002 on 12 V: it is a 6 V part. Putting an NE5532 on a single 5 V supply: it stays 2 V from both rails, so it has 1 V to swing in.
Leaving the second amplifier of an LM358 floating does no harm here, but on a real
chip tie its + input to ground and its output to its - input, so it sits still.
Forgetting the supply: with nothing on VCC or on GND, or with VCC on a rail
nothing powers, the chip has no supply and its outputs drive nothing, so an LED on
one stays dark and a meter reads whatever the load pulls the pin to.
Related
LM358 amplifier on a scope, LM358 dark switch with an Arduino, 741 vs LM358 on 5 V, LM324 four-LED bar graph and TL072 amplifier on +-12 V are in the gallery at /templates, and the LM358 guide walks through them; swap any chip here in and compare.