Skip to datasheet
Dual operational amplifier

LM358 Basic Circuit

Build a basic LM358 circuit with labeled pins, component values and connection guidance.

Package view

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.

Component view