Building a Mini Amplifier with the LM386: Schematic and Parts List

To build a mini amplifier with the LM386, all you need besides the IC is a potentiometer, four capacitors, a resistor and an 8 Ω speaker. The circuit runs on a 9 V battery and boosts the headphone output of a phone or MP3 player to a level you can hear from a speaker. The gain is set internally to 20; adding a single capacitor between pin 1 and pin 8 raises it to 200. In this article you will find the bill of materials, the schematic, step-by-step assembly and fixes for problems such as hiss and hum.
What is the LM386, and why is it a good first amplifier project?
The LM386 is a low-voltage, single-channel (mono) audio power amplifier IC. It comes in an 8-pin package and is designed to work with very few external components. Three features make a first amplifier project easier:
- The gain is preset. The feedback resistors are inside the IC, so you get a gain of 20 without calculating any external resistors.
- A single supply is enough. The inputs are ground-referenced, and the output automatically biases to half the supply voltage. No dual (positive and negative) supply is needed.
- It draws little current. According to the datasheet, its quiescent current at a 6 V supply is typ. 4 mA, max. 8 mA. This makes it well suited to battery-powered circuits.
The IC has clear limits, too: output power is around 1 W at most. It easily drives a small desktop speaker and works well as the output stage of a radio, an intercom or a 555 astable circuit. Do not expect it to drive a large speaker cabinet.
LM386 pin connections

| Pin | Name | Function |
|---|---|---|
| 1 | GAIN | Gain setting (together with pin 8) |
| 2 | −INPUT | Inverting input |
| 3 | +INPUT | Non-inverting input; the audio signal goes here |
| 4 | GND | Ground |
| 5 | VOUT | Output; goes to the speaker through a capacitor |
| 6 | VS | Supply voltage (+) |
| 7 | BYPASS | Bypass capacitor terminal |
| 8 | GAIN | Gain setting (together with pin 1) |
Which LM386 should you choose?
In the LM386 family, the letter in the part number indicates the package and the final digit indicates the power and supply class. For a breadboard or perfboard, the DIP-packaged LM386N-4 is a good fit; its leads plug straight into a breadboard and it operates from 5 V to 18 V. If you are designing a PCB, the SOIC-packaged LM386MX-1 takes up less space and operates from 4 V to 12 V.
| Feature | LM386N-4 | LM386MX-1 |
|---|---|---|
| Package | PDIP-8 (through-hole) | SOIC-8 (surface mount) |
| Operating supply voltage | 5 V – 18 V | 4 V – 12 V |
| Absolute maximum supply | 22 V | 15 V |
| Output power (THD 10%) | Min. 700 mW, typ. 1000 mW (16 V, 32 Ω) | Min. 250 mW, typ. 325 mW (6 V, 8 Ω) |
| Package dissipation (absolute maximum) | 1.25 W | 0.73 W |
| Gain | 20 (26 dB); 200 (46 dB) with 10 µF between pins 1–8 | |
| Input resistance | Typ. 50 kΩ | |
| Input voltage limit | ±0.4 V | |
| Speaker impedance | Min. 4 Ω | |
| Operating temperature | 0 °C – 70 °C | |
The values in the table are taken from the Texas Instruments LM386 datasheet. A 9 V battery is within the operating range of both versions. For supplies above 12 V, only the N-4 can be used; the datasheet specifies the N-4’s output power at 16 V with a 32 Ω load. Because the power the IC turns into heat rises with the supply voltage, choose a 16 Ω or 32 Ω speaker instead of 8 Ω above 12 V.
Bill of materials
| Ref. | Component | Value | Function |
|---|---|---|---|
| U1 | Audio amplifier IC | LM386N-4 | Amplification |
| P1 | Potentiometer | 10 kΩ | Volume control |
| C1 | Electrolytic capacitor | 220 µF or 250 µF, at least 16 V for a 9 V supply | Blocks DC to the speaker |
| C2 | Ceramic or film capacitor | 47 nF (0.05 µF) | Keeps the output stable together with R1 |
| R1 | Resistor | 10 Ω | In series with C2 |
| C3 | Electrolytic capacitor | 10 µF | Bypass; suppresses supply noise |
| C4 | Electrolytic capacitor | 100 µF, at least 16 V for a 9 V supply | Supply filter |
| C5 | Electrolytic capacitor (optional) | 10 µF | Raises the gain to 200 |
| LS1 | Speaker | 8 Ω | Audio output |
| – | 9 V battery and battery clip, breadboard, 3.5 mm audio cable |
The application circuit in the datasheet uses 250 µF and 0.05 µF at the output. These values are hard to find on the market; the nearest standard values, 220 µF and 47 nF, do the same job. The datasheet does not give a value for C4; it only recommends a capacitor close to the supply pin, and 100 µF is a common choice for this.
LM386 amplifier schematic

The circuit is the datasheet’s minimum-parts application with two capacitors (C3 and C4) added. Here is what each component does:
- P1 (10 kΩ): The audio source connects to one end of the potentiometer and ground to the other. The wiper goes to pin 3 and sets how much of the incoming signal reaches the IC.
- Pin 2: The unused inverting input is tied directly to ground.
- C1: The output pin sits at half the supply voltage. With a 9 V battery, that means about 4.5 V DC. C1 blocks this DC and passes only the audio signal to the speaker.
- C2 and R1: Connected in series from pin 5 to ground. The speaker’s voice coil behaves inductively at high frequencies; this pair keeps the IC’s output stable.
- C3: Connected from pin 7 to ground, it reduces how much supply-line ripple reaches the output. The datasheet gives the power supply rejection ratio (PSRR) as typ. 50 dB with a 10 µF bypass capacitor (6 V supply, 1 kHz, gain 20).
- C4: Placed right next to pin 6 to reduce the effect of the wiring between the battery and the IC.
Step-by-step assembly
- Place the LM386N-4 across the center channel of the breadboard with its notch facing up. Pin 1 is then at the top left, and the pins are numbered counterclockwise.
- Connect pin 4 to the ground rail and pin 6 to the positive rail. Insert C4 between the two rails with its positive lead on the pin 6 side.
- Connect pin 2 to ground.
- Connect one outer terminal of P1 to ground, the other outer terminal to the signal wire of the audio cable (left or right channel), and the wiper to pin 3. Connect the ground wire of the audio cable to the circuit ground.
- Insert C3 with its positive lead on pin 7 and its negative lead to ground.
- Connect C2 and R1 in series, with one end to pin 5 and the other to ground.
- Connect the positive lead of C1 to pin 5 and its negative lead to one terminal of the speaker. The other speaker terminal goes to ground.
- Turn the potentiometer all the way down, connect the battery and slowly turn up the volume.
Before connecting the battery, double-check the polarity of the electrolytic capacitors and the positions of pin 4 and pin 6. Reverse polarity can damage the IC.
Raising the gain from 20 to 200

Inside the IC there is a 1.35 kΩ resistor between pin 1 and pin 8 that holds the gain at 20 (26 dB). When a 10 µF capacitor is connected between these two pins, the resistor is bypassed at audio frequencies and the gain rises to 200 (46 dB). The capacitor’s positive lead goes to pin 1. If a resistor is added in series with the capacitor, the gain can be set anywhere between 20 and 200; in the datasheet example, 1.2 kΩ with 10 µF gives a gain of 50.
Higher gain does not always mean better sound. At a gain of 200, noise and interference at the input are also amplified 200 times. With sources that have a strong output, such as a phone or MP3 player, leave pins 1 and 8 open. Save the gain of 200 for an electret microphone preamp or a very weak signal. At high gain, the datasheet requires the unused input to be shorted to ground or connected to ground through 0.1 µF; in this circuit, pin 2 is already grounded.
Example calculations
How much input signal is needed?
Power in the speaker is found from P = V² / R. For 125 mW into an 8 Ω speaker, the required output voltage is V = √(0.125 × 8) = 1 V (RMS). At a gain of 20, an input of 1 / 20 = 50 mV is enough. At a gain of 200, the same power is reached with only 5 mV. Because a phone’s headphone output can deliver a much larger signal than this, the sound distorts immediately at a gain of 200. Even at a gain of 20, do not turn the source up to full volume with P1 fully open: the datasheet limits the input voltage to ±0.4 V.
How much bass does C1 cut?
C1 and the speaker form a high-pass filter. The cutoff frequency is calculated with the formula f = 1 / (2π × R × C):
- 250 µF and 8 Ω: f ≈ 80 Hz
- 220 µF and 8 Ω: f ≈ 90 Hz
- 470 µF and 8 Ω: f ≈ 42 Hz
Small speakers cannot reproduce frequencies below these anyway. If you use a larger speaker, you can extend the bass response by making C1 470 µF.
Common mistakes
- Feeding too much signal into the input. The input limit is ±0.4 V. Do not connect a signal with an amplitude close to the supply voltage, such as a 555 output, directly to pin 3. First reduce it with a resistor divider, then add a series capacitor (for example 100 nF) at the input; this way the DC component of the signal is not amplified either.
- Leaving out C2 and R1. The circuit produces sound without this pair, but with a long speaker cable or at high gain, whistling and hiss may appear at the output.
- Not fitting C3 and C4. As the battery weakens, its internal resistance rises and the supply voltage fluctuates with the audio. The result is a repeating “putt-putt” sound (motorboating) or hum.
- A long, unshielded input cable. Because the input resistance is 50 kΩ, an exposed input wire picks up mains hum. That is why you hear a buzz when you touch it with your finger. Keep the input connection short.
- Connecting a load below 4 Ω. The datasheet calls for a speaker impedance of at least 4 Ω. Two 4 Ω speakers in parallel make 2 Ω and stress the IC. A 4 Ω speaker also heats the IC more than an 8 Ω one; if in doubt, use 8 Ω.
- Shorting the two channels of a stereo source together. The LM386 is a single-channel device. Use one channel, or put a resistor in series with each channel and join the other ends of the resistors.
If you need more power
The LM386’s power is enough for benchtop experiments. When you need a higher volume, the next step up is an IC such as the 5-pin TDA2030, which mounts on a heatsink. According to its datasheet, the TDA2030 runs from ±6 V to ±18 V and delivers typ. 14 W into a 4 Ω load at 0.5% distortion from a ±16 V supply. In return, it needs a larger power supply, a heatsink and more external components. For other options, see the audio amplifier ICs category.
Frequently asked questions
How many watts does the LM386 deliver?
The LM386’s output power ranges from 325 mW to 1 W depending on the version. According to the datasheet, the LM386N-1 and LM386M-1 deliver typ. 325 mW at a 6 V supply into an 8 Ω load. The LM386N-3 delivers typ. 700 mW at 9 V into 8 Ω, and the LM386N-4 typ. 1000 mW at 16 V into 32 Ω. These values are measured at 10% distortion.
What voltage does the LM386 run on?
The LM386N-1, N-3, M-1 and MX-1 versions operate from 4 V to 12 V, and the LM386N-4 from 5 V to 18 V. The absolute maximum supply voltage is 22 V for the N-4 and 15 V for the others.
How do you set the LM386 gain to 200?
Connect a 10 µF capacitor between pin 1 and pin 8, with the positive lead on pin 1. The capacitor bypasses the internal 1.35 kΩ resistor and the gain rises from 20 to 200 (46 dB).
Why does my LM386 amplifier hiss or hum?
The most common causes are missing bypass and supply capacitors (C3, C4), leaving out the 47 nF and 10 Ω pair at the output, more gain than necessary and a long, unshielded input cable. Adding 10 µF to pin 7 and keeping the gain at 20 fixes the problem in most cases.
Can you build a stereo amplifier with the LM386?
The LM386 is a single-channel IC. For stereo, build two copies of the same circuit: one for the left channel and one for the right. Both circuits can run from the same battery.
Conclusion
The LM386 is the shortest route to building an amplifier with a bill of materials of no more than ten parts. Leave the gain at 20, do not skip C3 and C4, and keep the input short; that covers most of the precautions needed for clean sound. You can start with the LM386N-4 for a breadboard or the LM386MX-1 for a PCB.
References
Products in this article
-
$2.00LM386N-4/NOPB
Texas Instruments · EE01976-15IC AMP CLASS AB MONO 1W 8DIPRoHS compliant6 In Stock -
$1.79LM386MX-1/NOPB
Texas Instruments · EE01137-2IC AMP CLASS AB MONO 325MW 8SOIC53 In Stock -
$3.00TDA2030
HGSEMI · EE01976-13IC AMP AB MONO 18W 5PENTAWATTRoHS compliant8 In Stock
More from Projeler
- ProjelerBeginner
TP4056 18650 Charging Circuit: PROG and DW01A Protection
How do you build an 18650 charging circuit with the TP4056? PROG resistor calculation (1100/R), LED states, heating, and over-discharge and short-circuit protection with…
- ProjelerBeginner
Building an LM317 Adjustable Power Supply: Circuit and Calculations
Building a 1.25–21 V adjustable power supply with the LM317: schematic, bill of materials, R1-R2 resistor calculation, heatsink calculation and common wiring mistakes.

