LM358 operational amplifier pinout
LM358 operational amplifier (DIP-8), LM358, 5 V logic, 10.7×9.7 mm, 8 pins
verified20.10.2026
Top view, notch on the left: pins 1-4 at the bottom from left to right, 5-8 at the top from right to left (8 above 1), rotated 90° on the diagram.
Download PNG- Chip
- LM358
- Logic
- 5 V
- Power
- V+ (pin 8) 3-30 V
Important
- Single supply 3-30 V (V+ on pin 8, V− on pin 4 to ground) or dual supply ±1.5 to ±15 V.
- Inputs work from ground (from V−) up to V+ minus 1.5-2 V: with a 5 V supply keep the input signal below 3 V.
- The output stays about 1.5 V below the positive rail. For a full-scale signal into the ESP32 ADC at a 3.3 V supply use a rail-to-rail op-amp (MCP6002, LMV358).
- If the LM358 runs from 5 V or more, feed its output to an ESP32 input through a divider: at a 12 V supply the output reaches 10.5 V.
- Unused op-amp: IN+ to ground or mid-supply, IN− tied to OUT (follower). Floating inputs cause oscillation.
- An LM358 used as a comparator is slow and its output does not reach the positive rail: an LM393 is better for comparing voltages.
- No load, it draws about 0.7 mA for both channels (LM358B: 300 µA per channel).
Revisions and clones
- SOIC-8 (LM358D) and TSSOP-8: same pin order 1-8.
- LM358B and LM358BA (newer TI versions): 3-36 V supply, 300 µA per channel, same pins.
- LM2904: the same die for an extended temperature range, supply up to 26 V, same pins.
- KR1401UD5 (Russian-made): the references give the same pin order, check against the datasheet.
All pins
| Label | Number | Functions | Limits | Check |
|---|---|---|---|---|
| OUT1 | pin 1 | OUT1: output of amplifier 1 | verifiedThe output stays about 1.5 V below the positive supply (at 5 V the maximum is about 3.5 V). It reaches ground at low current.Labelled on other revisions as: 1OUT, OUTA, 1 | |
| IN1− | pin 2 | IN1−: inverting input 1 | verifiedLabelled on other revisions as: 1IN-, -INA, 2 | |
| IN1+ | pin 3 | IN1+: non-inverting input 1 | verifiedLabelled on other revisions as: 1IN+, +INA, 3 | |
| V− | pin 4 | Ground | verifiedWith a single supply this is ground. With a dual supply connect the negative rail here.Labelled on other revisions as: GND, V-, 4 | |
| IN2+ | pin 5 | IN2+: non-inverting input 2 | verifiedLabelled on other revisions as: 2IN+, +INB, 5 | |
| IN2− | pin 6 | IN2−: inverting input 2 | verifiedLabelled on other revisions as: 2IN-, -INB, 6 | |
| OUT2 | pin 7 | OUT2: output of amplifier 2 | verifiedThe output stays about 1.5 V below the positive supply (at 5 V the maximum is about 3.5 V). It reaches ground at low current.Labelled on other revisions as: 2OUT, OUTB, 7 | |
| V+ | pin 8 | 5 V | power input | verifiedLabelled on other revisions as: VCC, 8 |
Sources
Every pin is verified against the manufacturer's documents.
- TI LM358, LM358A, LM358B, LM2904 Industry-Standard Dual Operational Amplifiers (SLOS068AB, October 2024)datasheet, checked 20.10.2026PDIP-8 (P), top view: 1 OUT1, 2 IN1−, 3 IN1+, 4 V−, 5 IN2+, 6 IN2−, 7 OUT2, 8 V+; supply of LM358 and LM358A 3-30 V (recommended), LM358B 3-36 V; input down to ground; shorting the output to ground is allowed, current about 40 mA; output drives 10-20 mA
Size: PDIP-8 package 9.81×6.35 mm, pitch 2.54, rows 7.62 apart; the package is drawn narrower so the pins are visible (approximate).



