Op-Amp (Through-Hole) - LM358

The LM358 is a great, easy-to-use dual-channel opamp. Opamps have so many applications we figured we should probably carry at least one in a DIP package. LM358 applications include transducer amplifiers, DC gain blocks and all the conventional opamp circuits.

If you're looking for a good, standard opamp the LM358 should fill most of your needs. It can handle a supply of 3-32VDC and source up to 20mA per channel. This opamp is great if you need to operate two individual opamps from a single power supply. Comes in an 8-pin DIP package.

  • Two internally compensated op-amps
  • Internally frequency compensated for unity gain
  • Large DC voltage gain: 100 dB
  • Wide bandwidth (unity gain): 1 MHz (temperature compensated)
  • Wide power supply range:
    • Single supply: 3V to 32V
    • or dual supplies: +/-1.5V to +/-16V

Op-Amp (Through-Hole) - LM358 Product Help and Resources

Proto Pedal Example: Analog Equalizer Project

September 22, 2016

Building a gyrator-based analog equalizer using the Proto Pedal.

Beginner Parts Kit Identification Guide

March 22, 2019

The essential parts for beginning (or even experienced) hobbyists that gives you all of the basic through-hole components you will need to get started playing with embedded projects. We'll identify a few parts in the kit and provide a few basic circuits to get started!

Proto Pedal Example: Programmable Digital Pedal

September 22, 2016

Building a pedal around the Teensy 3.2 and Teensy Audio shield. Changing the effect in the pedal is as easy as uploading a new sketch!

Magnetic Levitation

November 20, 2019

This tutorial will show you how to build a magnetic levitation circuit using common parts.

Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

2 Soldering

Skill Level: Rookie - The number of pins increases, and you will have to determine polarity of components and some of the components might be a bit trickier or close together. You might need solder wick or flux.
See all skill levels

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

2 Programming

Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels

Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

3 Electrical Prototyping

Skill Level: Competent - You will be required to reference a datasheet or schematic to know how to use a component. Your knowledge of a datasheet will only require basic features like power requirements, pinouts, or communications type. Also, you may need a power supply that?s greater than 12V or more than 1A worth of current.
See all skill levels


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Mario1up / about 14 years ago / 2

    Can this be used in an audio amplifier circuit just like any other op-amp? As in, can this be a replacement for a LM386 or similar.

    • Aurelio / about 14 years ago / 1

      It would. but while you can use an LM386 to drive headphones or a small speaker, I wouldn't try the same with the 358. You could, but your maximum power is around 100mw.
      The main reason to use the 358 is that it runs on a single rail, and the output can swing from ground to like one volt less than VCC. I use it often as an active low pass filter to get low bandwidth analog outputs from PWM signals such as those from the Arduino.

      • Luka / about 14 years ago / 3

        Ok, so then what on SparkFun.com could be used as a replacement for an LM386? (I couldn't find an actual LM386 here).

  • Member #20870 / about 10 years ago / 1

    Just a warning: The output does not go all the way to the ground. I measured 0.6V at 8V I- and 2.45V I+ 9V power supply.

    • bsilva / about 9 years ago / 1

      Hmm... I'd check for leakage, or maybe you got a bad part. In my current circuit, I have a low output of .14V and my input isn't quite 0V.

      • bsilva / about 9 years ago / 1

        Just checked this. With 0V input on the OpAmp, I'm getting .002V output from the LM358.

  • bbotany / about 10 years ago / 1

    How bad of an idea is it to use this with a pair of zener's and a high side current sense resistor? I'm guessing if the zeners match right (is that hard to get?), then they could keep the high end of the differential voltage under the Vcc-1.5V ceiling of this op-amp and allow current control with an uninterrupted ground line.

  • Member #353344 / about 11 years ago / 1

    Hi there,

    Anyone has used this one for a precision full-wave rectifier?



  • Member #389252 / about 11 years ago / 1

    Could this be used as a replacement for the LMV358? What is the difference between the two? Thanks

    • Jux / about 11 years ago * / 1

      You can take a look at the spec. sheets to get a good comparison, but the main difference between the LM358 and LMV358 is the supply voltage. The LMV358 has a maximum Vss of 5.5V where as the LM358 can handle up to 32V. These are both general purpose low-power op amps, good for battery operated devices. Note that as low-power op amps they both have relatively slow slew rates (0.7V/us and 1V/us), meaning at higher frequencies the output becomes a triangle wave with decreasing voltage as the frequency increases. Check the spec sheets for frequency response info. Contrary to an earlier post I would not rate either as audio quality op amps as low slew rates result in distortion. EDIT: I have no experience with the LMV358, but from the spec sheet it has "performance specifications meeting or exceeding the LM358". They are probably close enough to be considered substitutes for each other.

  • Member #334509 / about 11 years ago / 1

    Will this be able to properly amplify an analog thermocouple signal i.e. a very small voltage without any kind of buffer? I am using a 741 currently and it is not working properly. Not sure why, but when amplifying a low signal such as 0.4 mV with a gain of 133, there is actuall a negative voltage output. Is this amplifier able to take such a small voltage and amplify voltages linearly with no problems? Thanks, Matt

    • AlienRelics / about 11 years ago / 1

      I know this is old, but for those who may find this:

      The input offset voltage is amplified along with the signal, that is why you will see a large output with no input.

      A 741 has offset null terminals. Connect the outer terminals of a 10k trim potentiometer from pin 1 to pin 5. Connect the center slider terminal of the trim pot to the negative supply voltage, or to ground. You really need to use both positive and negative supply voltages with the 741, unless the signal you are amplifying is a couple of volts above ground already. The 741 was not designed to work well with a single supply.

      In any case, for amplifying a signal this small, you will really want to use either a newer Op Amp with input offset voltage in the range of nV, find one with offset adjust terminals, figure out how to add offset compensation externally, or use a chopper amplifier.

    • Member #340283 / about 11 years ago / 1

      Yeah looking at the datasheet, the typical input offset voltage of this op amp is 2 mV, which is significantly larger than your input signal of .4 mV. It's the internal offset voltage that is causing Vout to go negative. You could try biasing the inputs to correct this, but I would recommend a different op amp.

  • engineer77 / about 12 years ago / 1

    Could I use this guy to raise 1.5v to 5+v DC? On the SFE page it says supply voltage range is 3v to 32v but in the datasheet it says -0.3 to 32v under "absolute maximum ratings." Which is correct?

    • bsilva / about 9 years ago / 1

      I'm using the LM358 to raise the voltage output from a DAC connected to a Pi. The DAC has a max output of 3.3V (makes sense) and I'm using the LM358 to raise this to 10V for an LED control system. As Mike mentions, you do need a separate supply for the LM358 that is a couple of volts above your target voltage.

    • MikeGrusin / about 12 years ago / 1

      Absolute maximum ratings tell you what will damage the part, not necessarily that it will operate within that range.

      You may know this, but if you haven't worked with op-amps before, note that this is not a power-supply chip that can change one voltage into another. It can indeed amplify/raise a 1.5V input signal to a 5V output signal, but you would have to be powering the whole chip with over 5V in order for that to happen.

  • Member #318651 / about 12 years ago / 1


  • brmellor / about 13 years ago / 1

    Can this be used in place of LM741 and LM311 op-amps?

    • SFUptownMaker / about 13 years ago / 1

      I would say definitely for the 741 and probably not for the 311. The 311 is actually a comparator, which is a slightly different concept, but op-amps can usually do double-duty as comparators. You may run into some trouble with the input voltage range and the output voltage- the 358 may not be able to drive the output as close to the rails as the 311 can. Also, the 311 has a much wider range of input voltages- +/-30V versus 0 to Vcc-2 for the 358.

  • Where on SFE would I find the non-DIP op-amps? I did a search but could only find this.
    UPDATE: Please undisirregard this comment.

Customer Reviews

No reviews yet.