December 4, 2026

Decoupling Capacitors Explained: Why Every Chip Wants a 100 nF Capacitor Right Next to Its Power Pin

A tiny ceramic capacitor soldered right beside a microcontrollers power pin

Look at almost any circuit board and there is a tiny capacitor sitting beside every chip, usually 100 nF, usually as close to the power pin as it can physically get. It is so routine that hobbyists often leave it out of breadboard builds, and the circuit often works anyway, until it doesn’t: a microcontroller that resets when a relay clicks, a sensor reading that jumps for no reason. To show what that capacitor does and why its position matters as much as its value, a supply feeding a chip that draws short pulses of current was simulated in ngspice with five different decoupling arrangements. The parts’ parasitic values are stated assumptions, chosen to be typical, and the simulation files are kept with the post’s notes.

Video: EEVblog on YouTube

The problem: current arrives in spikes

Digital chips gulp current

A microcontroller or logic chip does not draw a smooth current. Every time its internal transistors switch, on each clock edge, it pulls a short spike of current from the supply, then almost nothing until the next edge. Those spikes last nanoseconds.

The wire is the problem, not the supply

The power supply itself may be perfectly steady. The trouble is the path between it and the chip. Every trace and wire has inductance, and inductance resists a change in current with a voltage drop of L × di/dt. In the model, the supply path had 50 nH of inductance, roughly what a few centimeters of wire or a long thin trace might have, and the chip drew 100 mA pulses that rose in 2 ns. That gives:

50 nH × (0.1 A / 2 ns) = 2.5 V

of drop across the wire at each edge. On a 3.3 V supply, that is most of the voltage gone, for a few nanoseconds, every time the chip switches.

What decoupling does

Analog Devices’ tutorial on the subject, MT-101, describes the small capacitor’s job as supplying the instantaneous charge requirements of the circuits locally, so that the charge need not come through the inductance of the power trace. The capacitor sits right at the pin, holds a small reserve of charge, and covers each spike before the wire has to react.

Electrical engineering equipment

The simulation

The circuit

A 3.3 V source fed the chip through 0.1 Ω and 50 nH. The chip was a current source pulsing from 0 to 100 mA for 20 ns every 100 ns, a 10 MHz pattern. Each capacitor was modeled with its real-world imperfections: a small series resistance (ESR) and a small series inductance (ESL), because a real capacitor and its connections are never a pure capacitance. The assumed values: a 100 nF ceramic with 20 mΩ ESR and 1 nH ESL when mounted close to the pin; the same part with an extra 10 nH of connecting trace when mounted far away; and a 10 µF bulk capacitor with 10 mΩ and 5 nH.

Results

Decoupling Lowest voltage at the chip Highest Droop
None 0.79 V 5.80 V 2.51 V
100 nF, close 3.242 V 3.349 V 0.058 V
100 nF, far (extra 10 nH) 2.840 V 3.752 V 0.460 V
10 µF only 3.070 V 3.527 V 0.230 V
100 nF close + 10 µF 3.257 V 3.335 V 0.043 V

Without any capacitor, the supply at the chip swung from 0.79 V to 5.80 V: well below what any 3.3 V part needs to keep running, and on the overshoot above its absolute maximum rating. A single 100 nF capacitor placed close cut the dip to 58 mV.

Placement matters as much as value

The same capacitor, a few centimeters away

Moving the 100 nF capacitor away from the pin, modeled as 10 nH of extra connection, made the droop eight times worse, 0.46 V instead of 0.058 V, with an overshoot to 3.75 V. The capacitor’s value had not changed. The inductance of the path between the capacitor and the chip had put the problem right back.

What manufacturers say

Chip makers’ own guidance says the same thing. Microchip’s getting-started guidelines for its PIC18 microcontrollers recommend a 0.1 µF (100 nF) ceramic capacitor and state that decoupling capacitors must be placed as close to the pins as possible, preferably on the same side of the board, and that if a via is needed, the trace from pin to capacitor should be no longer than 0.25 inch (6 mm). The same guide suggests adding a second, smaller capacitor of 0.01 µF to 0.001 µF in parallel if the board has noise at tens of megahertz.

On a breadboard

A breadboard’s long internal strips and jumper wires add inductance everywhere. The practical version of the rule: put the capacitor directly across the chip’s power and ground pins, legs as short as possible, not at the far end of the power rail.

Water tank

Why a big capacitor alone is not enough

10 µF did worse than 100 nF

The 10 µF capacitor stores a hundred times more charge than the 100 nF one, yet on its own it let the supply droop 0.23 V, four times worse than the small capacitor placed close. The reason is its inductance. Larger capacitors come in bigger packages with longer internal current paths, and at high frequencies that inductance matters more than the capacitance.

Impedance against frequency

A capacitor’s impedance falls as frequency rises, until its own series inductance takes over and the impedance starts rising again. The point where the two balance is its self-resonant frequency, 1 / (2π√(LC)). With the assumed values:

Capacitor Self-resonance Impedance at 1 MHz At 10 MHz At 100 MHz
10 µF, 5 nH 0.7 MHz 0.018 Ω 0.313 Ω 3.14 Ω
100 nF, 1 nH 15.9 MHz 1.59 Ω 0.098 Ω 0.61 Ω
100 nF far, 11 nH 4.8 MHz 1.52 Ω 0.532 Ω 6.90 Ω
10 nF, 0.5 nH 71.2 MHz 15.9 Ω 1.56 Ω 0.16 Ω

Above its self-resonance, a capacitor behaves like an inductor. The 10 µF part is the lowest-impedance choice at 1 MHz and among the worst at 100 MHz. The 100 nF part close to the pin is best around 10 MHz, which is where the simulated 10 MHz switching pattern lived.

Large and small together

MT-101 recommends the same pairing that tested best: a large capacitor of typically 10 µF to 100 µF no more than 2 inches from the chip, acting as a reservoir of charge, plus the small capacitor as close to the power pins as possible to short high-frequency noise away. In the simulation, that combination gave the smallest droop of all, 43 mV. The large capacitor handles slower dips; the small one handles the fast edges the large one cannot reach in time. Following Microchip’s suggestion of a second, smaller part, one more run paired the close 100 nF capacitor with a 10 nF one (0.5 nH): the droop fell to 30 mV and the peak to 3.322 V, the best of every arrangement tried.

What the overshoot means

Ringing

With no capacitor, or with the capacitor too far away, the voltage did not just dip. It overshot to 5.8 V and 3.75 V. The wire’s inductance and the chip’s own small capacitance form a resonant circuit that rings after every current spike. For a 3.3 V chip, a 5.8 V spike is beyond typical absolute maximum ratings and can damage it over time, separate from any reset or glitch.

Ground matters too

The return path to ground has inductance as well. The same MT-101 summary says decoupling capacitors should connect to a large-area, low-impedance ground plane through a via or short trace. On a hobby board without a ground plane, short, direct ground connections from each capacitor to the chip’s ground pin do the same job.

Microchip

Practical rules from the numbers

For every chip

One 100 nF ceramic capacitor per power pin, as close to the pin as possible, with short connections to both power and ground. Larger chips with several power pins get one per pin.

For each board

One bulk capacitor, 10 µF or more, near where power enters the board or near the busiest chips, shared among them. On boards driving motors, relays or LEDs that switch large currents, a larger bulk capacitor helps hold up the supply during those surges. The earlier post on MOSFETs as switches covers the circuits that cause those surges, and the post on ADC resolution explains why analog readings are among the first things supply noise ruins.

Sources

  • MT-101 Decoupling Techniques, Analog Devices (Chinese-language edition, with English figure text): https://wcm-cce.cldnet.analog.com/media/cn/training-seminars/tutorials/mt-101_cn.pdf
  • MT-101 Decoupling Techniques, Analog Devices (English copy hosted by ESCIES): https://escies.org/download/webDocumentFile?id=62177
  • 3.2.1 Decoupling Capacitors, PIC18(L)F24/25K40 data sheet, Microchip: https://onlinedocs.microchip.com/oxy/GUID-1D505EA5-E85D-4EE5-A4D4-5C143EE029E3-en-US-5/GUID-5E21B5DD-C6AE-4717-B5F0-C728FEECFDB8.html

719 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *