# LM358 dual op-amp: specs and pinout

> A dual low-power operational amplifier IC. Values below are the Texas Instruments 'LM358, LM358A' column of the LM158/258/358/2904 family sheet; the…

[HTML version](https://soldr.ai/docs/components/lm358)

[Docs](https://soldr.ai/docs) / [Components](https://soldr.ai/docs/components)

A dual low-power operational amplifier IC. Values below are the Texas Instruments &#x27;LM358, LM358A&#x27; column of the LM158/258/358/2904 family sheet; the product name does not say whether it is an A or B version or which package, and the B versions differ.

Every value cites its sourceChip-level pinout

[Buy on Compoden](https://compoden.com/products/lm358-op-amp-dual-low-power-operational-amplifier-ic-compoden)

## Specs

| Spec | Value | Source |
|---|---|---|
| Supply voltage | 3 V to 30 V (LM358, LM358A); the LM358B versions allow 3 V to 36 V | source Section 5.3 Recommended Operating Conditions, p.5 |
| Operating temperature | 0 C to 70 C (LM358, LM358A) | source Section 5.3, p.5 |
| Input common-mode range | From V- to about V+ minus 1.5 V (LM358) | source Section 5.7, p.10 |
| Input offset voltage | 3 mV typ, 7 mV max at 25 C (LM358) | source Section 5.7, p.10 |
| Gain bandwidth and slew rate | 0.7 MHz; 0.3 V/us (G = +1) | source Section 5.7, p.10 |
| Quiescent current per amplifier | 350 uA typ, 600 uA max (VO = 2.5 V, VS = 5 V); 500 uA typ at VS = 30 V | source Section 5.7, p.10 |
| Output swing, positive rail | Within 1.5 V of the positive supply at VS = 5 V and RL of 2 kohm or more (max); within 2 V typ, 3 V max at VS = 30 V and RL of 10 kohm or more | source Section 5.7, p.10 |
| Short-circuit current | +/-40 mA typ, +/-60 mA max (VS = 10 V) | source Section 5.7, p.10 |
| Open-loop gain | 100 V/mV typ, 25 V/mV min (VS = 15 V, RL 2 kohm or more) | source Section 5.7, p.10 |
| Output current | Source 20 mA min / 30 mA typ; sink 10 mA min / 20 mA typ (VS = 15 V) | source Section 5.7, p.10 |

## Power

| | Value | Source |
|---|---|---|
| Supply | 3 V to 30 V | source Sections 5.3 and 5.7 |
| Current | 350 uA per amplifier at VS = 5 V | source Sections 5.3 and 5.7 |

## Chip pins
These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently.

This is a bare IC; the pin numbers are for the 8-pin SOIC, DIP and similar packages in the maker&#x27;s table. Which package the stocked part uses is not stated in the product name.

| Pin | Function | Voltage | Notes | Source |
|---|---|---|---|---|
| 1 OUT1 | Output of amplifier 1 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 2 IN1- | Negative input, amplifier 1 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 3 IN1+ | Positive input, amplifier 1 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 4 V- | Negative supply or ground (single supply) | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 5 IN2+ | Positive input, amplifier 2 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 6 IN2- | Negative input, amplifier 2 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 7 OUT2 | Output of amplifier 2 | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |
| 8 V+ | Positive supply | | | source Section 4 Table 4-1 (p.3), SOIC/DIP column |

## Build with it
Project ideas for the LM358 dual op-amp. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

- [Amplified LM35 thermometer](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20thermometer%20that%20amplifies%20an%20LM35%20sensor%20with%20an%20LM358%20and%20reads%20it%20on%20an%20Arduino%20Uno): Gain-setting resistors come from the resistor pack: a non-inverting stage has gain 1 + Rf/Rg, so Rf = 2 x Rg gives a gain of 3 (for example two equal resistors in series for Rf and one for Rg, measured with a meter). The LM35 gives 10 mV per degree C, so a gain of 3 is 30 mV per degree C: 100 C reads 3.0 V, under the limit. Run the LM358 from the Uno&#x27;s 5 V and keep the output below about 3.5 V (supply minus 1.5 V) so it does not clip. Learning project.
- [Light-activated night lamp](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20night%20lamp%20where%20an%20LM358%20compares%20an%20LDR%20divider%20with%20a%20trimpot%20and%20switches%20a%205%20mm%20LED%20through%20a%20BC547%20transistor): One amplifier used as a comparator on a 5 V supply; its output high level stays at least 1.5 V below the supply, so it drives the BC547 base through a resistor from the resistor pack (choose the value from the transistor&#x27;s page). Learning project.
- [Potentiometer follower to an ADC](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20buffered%20analog%20input%20where%20an%20LM358%20voltage%20follower%20on%205%20V%20feeds%20a%203.3%20V%20potentiometer%20signal%20into%20an%20ADS1115%20on%20an%20ESP32): Run the LM358 from 5 V and feed the 10k potentiometer from the ESP32&#x27;s 3.3 V: the sheet gives the common-mode input range as V- to V+ minus 1.5 V (3.5 V at 5 V, only 1.8 V at 3.3 V, and its table is specified from 5 V up), and a follower&#x27;s output equals its input, so a 0 V to 3.3 V signal stays inside both the input range and the ADS1115&#x27;s supply. A 10k potentiometer can also be read by the ADS1115 directly; this idea is for practising the follower. Learning project.

## Common mistakes

- The output cannot swing to the positive rail: at a 5 V supply it is specified only to within 1.5 V of it, so a 5 V LM358 will not give a full 0 to 5 V output (source: [link](https://www.ti.com/lit/ds/symlink/lm358.pdf), Section 5.7).
- The inputs must stay between V- and about V+ minus 1.5 V; above that range the output is wrong (source: [link](https://www.ti.com/lit/ds/symlink/lm358.pdf), Section 5.7).
- The LM358 is rated 0 C to 70 C, not the -40 C to 85 C of the LM358B part (source: [link](https://www.ti.com/lit/ds/symlink/lm358.pdf), Section 5.3).

## Not covered by the official source

- The product name does not give the version (A or B) or package; values use the LM358/LM358A column.
- The common-mode input and output swing values are stated as in the sheet at the test conditions given, not guaranteed elsewhere.
- The LM358 characteristics table is specified for VS = 5 V to 30 V; no figures are given there at 3.3 V.

## Sources

- [link](https://www.ti.com/lit/ds/symlink/lm358.pdf) (TI LM158/LM258/LM358/LM2904 family data sheet SLOS068AB, October 2024)
