Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

LM358Dual operational amplifier

Give a small analog signal a useful gain.

Manufacturer-referenced

Texas Instruments · LM358P

PDIP-8SLOS068AB · October 2024

LM358 contains two independent operational amplifiers in one eight-pin package. Both channels share the supply pins. Negative feedback sets a useful closed-loop gain. The inputs can operate near ground, but the output does not reach the positive supply rail. This page covers the classic LM358P in PDIP-8 and LM358D in SOIC-8.

Real View

LM358P black package with silver leads, rendered from the same geometry as its rotatable 3D view.
LM358P · PDIP-8Package illustration

Pinout

LM358PPDIP-8Top view
Select a pin to see its functionPDIP-8 · 8 pins

PCB Footprint

Loading footprint…
Powered by
Finding PDIP-8 packageTop view · mm

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom
8Physical pins LM358PPDIP-8 Manufacturer-referencedTexas Instruments

Pin diagram

Select a pin to explore its connection

Package map
Highlight
LM358PPDIP-8Top view

Click a lead or use the arrow keys. Top view

1
PIN 1 · Outputs

OUT1

Output

Function

Amplifier A output.

How to connect

Feed back to IN1− through Rf; connect the measured output here.

Electrical note

Allow output headroom; do not treat it as a rail-to-rail output.

Key specifications

One package, two signal paths. Set their gains with external feedback.

Recommended supply3–30 V
Gain-bandwidth product0.7 MHz · typical
Ambient range0–70 °C
Independent amplifiers2 channels

Operating profile

Supply, signals and operating conditions

LM358 operating profile
ParameterValueConditions / notes
Selected packagePDIP-8LM358P · 8 pins
Recommended input rangeV− to V+ − 2 VUse the supply rails as references.
Positive output headroom≈1.5 VTypical at 5 V, RL ≥ 2 kΩ; not a guaranteed rail swing.
Use these values with the stated grade and test conditions.

Package details

LM358P · PDIP-8

Selected package
Selected LM358 physical package
PropertyDetails
ManufacturerTexas Instruments
Part numberLM358P
PackagePDIP-8
Connections8 pins
MountingThrough-hole
Lead pitch2.54 mm
Package codeP
Thermal referenceBoard-dependent; see TI thermal table

Operating conditions

Classic LM358P / LM358D

Scroll sideways to see all columns.

ParameterValueConditions / notes
Supply difference3–30 VRecommended operating range
Ambient temperature0–70°CLM358 grade
Input common-mode rangeV− to V+ − 2 VRecommended operating conditions
Supply absolute maximum32 VStress rating, not an operating target

TI SLOS068AB, sections 5.1 and 5.3.

Electrical characteristics

Typical values are not production guarantees

Scroll sideways to see all columns.

ParameterValueConditions / notes
Gain-bandwidth product0.7 MHz typicalClassic LM358
Slew rate0.3 V/µs typicalUnity gain
Input offset voltage3 mV typical; 7 mV maximum25°C; see manufacturer test conditions
Input bias current20 nA typical magnitude25°C
Supply current350 µA typical per channel5 V; unloaded; 0–70°C test row
High-side output headroom1.5 V typical5 V supply, RL ≥ 2 kΩ
Near-ground output5 mV typical; 20 mV maximum5 V; RL ≤ 10 kΩ; 0–70°C

TI SLOS068AB, section 5.7. Conditions differ between rows; consult the PDF before selecting a part.

Gain and example readings

Non-inverting DC example

Scroll sideways to see all columns.

ParameterValueConditions / notes
Closed-loop gain1 + Rf / RgWithin the linear operating region
Example resistorsRf = 20 kΩ; Rg = 10 kΩGain = 3
Example input / ideal output0.50 V / 1.50 VCalculated, not a measured result
Explorer clipping ceiling3.50 VIllustrative 5 V − 1.5 V headroom
Explorer input limit3.00 V5 V − 2 V recommended common-mode headroom

The explorer uses a fixed DC headroom approximation. It omits offset, bias, noise, frequency, temperature and load-dependent effects.

Package reference

LM358P · PDIP-8

Scroll sideways to see all columns.

ParameterValueConditions / notes
MountingThrough-holeSelected physical package
Lead pitch2.54 mmCheck land pattern dimensions before PCB manufacture
Pin mapping8 numbered pinsSame functions in PDIP-8 and SOIC-8
OrientationTop viewUse the notch / pin-1 marker

The package selector updates all four views together.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Outputs2 pins

Signal inputs4 pins

Supply2 pins

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

LM358 at a glance

Follow the labeled connections and functional stages

LM358 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Compare the inputs

The amplifier responds to the difference between its + and − inputs. A small difference can produce a large output change without feedback.

Step 2 / 3

Close the feedback loop

Rf returns part of OUT1 to IN1−. Rg connects that node to ground. In the linear region, the circuit settles with approximately equal input voltages.

Step 3 / 3

Read the result

With Rf = 20 kΩ and Rg = 10 kΩ, the ideal gain is 3. An input of 0.50 V requests 1.50 V at the output. Raising the input eventually runs into the output headroom.

LM358 in a circuit

A physical PDIP-8 package, two gain-setting resistors and clear signal wiring.

5 V LM358 non-inverting amplifier: pin 3 input; Rf 20 kiloohms from output pin 1 to pin 2; Rg 10 kiloohms to ground; pin 8 supply; pin 4 ground; 100 nF bypass. Channel B follows VIN with pins 6 and 7 joined.
Top view. Identical VIN, +5 V and GND labels identify shared nets. The meter represents a high-impedance load.

Connect it, step by step

Follow the component values and pin connections

Power and bypass

Connect V+ (8) to +5 V and V− (4) to ground. Place 100 nF between the rails near the IC.

Set channel A gain

Connect VIN to pin 3. Put 20 kΩ between pins 1 and 2, and 10 kΩ from pin 2 to ground. Measure at pin 1.

Keep channel B defined

Connect pin 5 to the same VIN and join pins 6 and 7. Channel B follows VIN with no extra load; its inputs are not left floating.

Try the amplifier

Change the input and feedback. See the gain and output respond.

5 V · DC explorer
Closed-loop gain—
Ideal output—
Estimated output—

Enable JavaScript to explore the amplifier.

05 V5 VInput voltage →Output voltage →
Estimated outputIdeal gainInput outside recommended range

Gain = 1 + Rf / Rg · VOUT(ideal) = VIN × Gain

Illustrative DC model at 5 V with a light load: 3.50 V upper output and 0.02 V lower output. Real headroom depends on load, temperature and part variation. Offset, bandwidth, slew rate and noise are omitted; use the ProTech example for a running simulation.

Inside LM358

Two amplifiers, a shared supply and a controlled feedback path.

LM358 functional channels and a conceptual input, gain, compensation and output signal path.
Functional explanation of the classic LM358; not a transistor-level die schematic.

Explore the circuit

Select a stage to see its role and connections

Two separate channels

Channel A uses pins 1, 2 and 3. Channel B uses pins 5, 6 and 7. Their outputs are independent.

Shared supply

Pins 8 and 4 power both channels. Decouple the supply close to the package.

Feedback makes gain useful

External feedback controls the relationship between input and output. Compensation helps stability, while output swing and speed remain finite.

Selected packagePDIP-8LM358P
Physical connections8 pinsPackage-specific numbering
Reference collection5 tables20 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

PDIP-8
Physical pin numbers8 pins

Scroll within the table to see all columns and rows.

LM358 pin functions and connections
PinSignalTypeFunction & connection
OUT1OutputAmplifier A output.
Connection guidance

Feed back to IN1− through Rf; connect the measured output here.

Allow output headroom; do not treat it as a rail-to-rail output.

IN1−Inverting inputAmplifier A feedback input.
Connection guidance

Connect the junction of Rf and Rg here.

Negative feedback controls the gain while the amplifier is operating linearly.

IN1+Non-inverting inputAmplifier A signal input.
Connection guidance

Connect the input signal and its common ground.

Keep within the recommended common-mode range.

V−Supply returnLowest supply potential for both channels.
Connection guidance

Connect to ground in the illustrated single-supply circuit.

IN2+Non-inverting inputAmplifier B signal input.
Connection guidance

In this example, connect to VIN so the spare channel acts as a buffer.

IN2−Inverting inputAmplifier B feedback input.
Connection guidance

Connect directly to OUT2 for a unity-gain follower.

OUT2OutputAmplifier B output.
Connection guidance

Connect to IN2−; leave the buffered output otherwise unloaded.

Do not tie the two outputs together.

V+Positive supplyHighest supply potential for both channels.
Connection guidance

Connect to +5 V and place a 100 nF bypass capacitor to pin 4 nearby.

PDIP-8 · Top view · Select a pin number to open its interactive pinout.

Operating conditions

Classic LM358P / LM358D

Manufacturer-referenced values4 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Supply difference3–30 VRecommended operating range
Ambient temperature0–70°CLM358 grade
Input common-mode rangeV− to V+ − 2 VRecommended operating conditions
Supply absolute maximum32 VStress rating, not an operating target

TI SLOS068AB, sections 5.1 and 5.3.

Electrical characteristics

Typical values are not production guarantees

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Gain-bandwidth product0.7 MHz typicalClassic LM358
Slew rate0.3 V/µs typicalUnity gain
Input offset voltage3 mV typical; 7 mV maximum25°C; see manufacturer test conditions
Input bias current20 nA typical magnitude25°C
Supply current350 µA typical per channel5 V; unloaded; 0–70°C test row
High-side output headroom1.5 V typical5 V supply, RL ≥ 2 kΩ
Near-ground output5 mV typical; 20 mV maximum5 V; RL ≤ 10 kΩ; 0–70°C

TI SLOS068AB, section 5.7. Conditions differ between rows; consult the PDF before selecting a part.

Gain and example readings

Non-inverting DC example

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Closed-loop gain1 + Rf / RgWithin the linear operating region
Example resistorsRf = 20 kΩ; Rg = 10 kΩGain = 3
Example input / ideal output0.50 V / 1.50 VCalculated, not a measured result
Explorer clipping ceiling3.50 VIllustrative 5 V − 1.5 V headroom
Explorer input limit3.00 V5 V − 2 V recommended common-mode headroom

The explorer uses a fixed DC headroom approximation. It omits offset, bias, noise, frequency, temperature and load-dependent effects.

Package reference

LM358P · PDIP-8

Manufacturer-referenced values4 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
MountingThrough-holeSelected physical package
Lead pitch2.54 mmCheck land pattern dimensions before PCB manufacture
Pin mapping8 numbered pinsSame functions in PDIP-8 and SOIC-8
OrientationTop viewUse the notch / pin-1 marker

The package selector updates all four views together.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Texas Instruments · SLOS068AB · October 2024
Official PDF datasheet

Sensor signal conditioning

Apply a small analog sensor output to a non-inverting stage. Choose gain for the signal range, ADC reference and available output swing.

Manufacturer application guide

Voltage buffer

Use a follower when the voltage should remain similar but the following circuit needs a lower source impedance. Check input and output limits.

Manufacturer application guide

Active low-pass filter

Combine resistance, capacitance and feedback to filter a slow signal. Evaluate bandwidth, loading and settling in the complete circuit.

Manufacturer application guide

Take it into ProTech

Find LM358 in the Components Library to place its schematic symbol and connect its pins.

Simulation model available · Open the adjustable amplifierOpen ProTech

Component view