NewAI Part GeneratorFree to get started
FREE TOOL

Decoupling capacitor calculator

A rail’s voltage, allowed ripple and current step set its target impedance. This decoupling capacitor calculator finds that target and how many capacitors keep the rail at or under it across a frequency band. The second tab works as a PDN calculator: enter a mix of values and look for anti-resonance peaks on a log-log impedance plot.

Calculate
Examples
V
%

Allowed deviation as a percentage of the rail.

A

If you only know the maximum current, TI estimates the step as half of it.

Hz

Where the regulator stops holding the rail.

Hz

Where package inductance takes over; AN 574 calls it FEFFECTIVE.

F

After DC bias: X5R and X7R parts lose capacitance at their working voltage.

Ω

From the manufacturer’s curve. TI quotes 10 to 100 mΩ for 1 to 100 nF ceramics.

H

Part plus pads and vias. 1.5 nH is XAPP623’s mounted 0402.

s

Optional: gives the largest loop inductance the edge allows.

s

Optional: gives the bulk capacitance to carry the step until then.

Capacitors in parallel

5

to stay under 330 mΩ

Target impedance
330 mΩ
Allowed voltage deviation
165 mV
Self-resonance
12.99 MHz unchanged by N
|Z| of 5 at 1 MHz
316.6 mΩ
|Z| of 5 at 100 MHz
185.6 mΩ
Lowest |Z| (ESR ÷ 5)
10 mΩ at self-resonance
Needed by the low edge alone
5
Needed by the high edge alone
3
Total capacitance
500 nF
Under target with 5
960 kHz to 176 MHz

The bottom of the band sets the count: below resonance the capacitance is what limits |Z|. A larger value would need fewer parts there.

Series R-L-C model with fixed values. ESR and capacitance really vary with frequency, temperature and DC bias, and capacitors far from the load add spreading inductance.

Impedance against frequency
10m100m110100k1M10M100M1GFrequency (Hz)|Z| (Ω)Ztarget 330 mΩSRF 13 MHzband lowband high
5 in parallelOne capacitor

How does decoupling capacitor sizing work?

Start with Ztarget = rail voltage × ripple ÷ transient current. At 3.3 V, 5 % and a 0.5 A step that is 330 mΩ. Then divide a capacitor’s |Z| at the band edges by the target and round up: a 100 nF part with 50 mΩ ESR and 1.5 nH mounted has 1.58 Ω at 1 MHz and 928 mΩ at 100 MHz, so 5 in parallel meet it over that band.

Decoupling capacitor formulas

A load step ΔI through the PDN impedance Z produces a voltage ΔV = ΔI × Z. Keeping Z under a limit keeps the rail in tolerance.

Ztarget = V × (ripple ÷ 100) ÷ ΔI
Ztarget
highest allowed PDN impedance in Ω
V
rail voltage in V
ripple
allowed deviation in %
ΔI
transient current step in A

One capacitor is a series resistor, inductor and capacitor. Its impedance and resonance are:

|Z| = √(ESR² + (ωL − 1 ÷ (ωC))²)     fres = 1 ÷ (2π√(LC))
ESR
equivalent series resistance in Ω
L
mounted series inductance in H
C
capacitance in F, after DC-bias derating
ω
2π × frequency

N identical capacitors divide |Z| by N, and because |Z| falls to ESR at resonance and rises on both sides, the worst points of a band are its edges. The count is the larger of the two edges, and the band actually under the target has a closed form:

N = ⌈ max(|Z(flow)|, |Z(fhigh)|) ÷ Ztarget ⌉
f± = (√(X² + 4L ÷ C) ± X) ÷ (4πL), where X = √((N Ztarget)² − ESR²)

Different capacitor values combine as admittances, so each value contributes N ÷ Z:

1 ÷ Ztotal = Σ Nk ÷ Zk

For a step that has to be carried until the regulator reacts, and for the fastest edge:

Cbulk = ΔI × Δtresponse ÷ ΔV     Lmax = ΔV × Δtedge ÷ ΔI

Decoupling capacitor calculation examples

Example 1: a 3.3 V microcontroller rail with 100 nF parts

Ztarget = 3.3 × 0.05 ÷ 0.5 = 330 mΩ. With 50 mΩ ESR and 1.5 nH mounted, one capacitor resonates at 13 MHz and has 1.58 Ω at 1 MHz and 928 mΩ at 100 MHz. Those edges need 5 and 3 capacitors, so 5 are required. With 5 in parallel the rail is under target from 960 kHz to 176 MHz.

Example 2: a 1.0 V core with a 5 A step

Ztarget = 1.0 × 0.03 ÷ 5 = 6 mΩ. To cover 500 kHz to 20 MHz with only XAPP623’s 2.2 µF 0805 part takes 42 capacitors, set by the 20 MHz edge, which is why real designs mix values. If the regulator takes 10 µs to respond, the bulk capacitance is 1.67 mF. A 1 ns edge allows a loop of only 6 pH, far below any mounted capacitor in the table below, so at that speed the charge has to come from the package and the die.

Example 3: XAPP623’s four-value mix

XAPP623 Table 8 uses 2 × 680 µF, 7 × 2.2 µF, 13 × 220 nF and 26 × 22 nF and reports an impedance below 33 mΩ from 500 kHz to 150 MHz, rising to 0.11 Ω at 500 MHz. This model gives a worst case of 32.3 mΩ over that band (at 150 MHz) and 109 mΩ at 500 MHz, with anti-resonance peaks at 4.8 MHz (8.04 mΩ) and 17.7 MHz (10.6 mΩ).

Decoupling capacitor values and parasitics from XAPP623

The four capacitor presets in the calculator, from XAPP623 Table 8. ESL includes about 0.8 to 0.9 nH of mounting inductance. They are published simulation values for one 2005 design, not datasheet limits, so use your manufacturer’s curves for the final design.

BodyCMounted ESLESRSelf-resonance|Z| at 1 MHz|Z| at 100 MHz
040222 nF1.5 nH200 mΩ27.7 MHz7.23 Ω893 mΩ
0603220 nF1.8 nH60 mΩ8 MHz715 mΩ1.13 Ω
08052.2 µF2 nH20 mΩ2.4 MHz63 mΩ1.26 Ω
E680 µF2.8 nH570 mΩ115 kHz570 mΩ1.85 Ω

Target impedance by rail and step

Ztarget for a 5 % allowance. Scale linearly for another tolerance.

Rail \ Step100 mA500 mA1 A5 A10 A
5 V2.5 Ω500 mΩ250 mΩ50 mΩ25 mΩ
3.3 V1.65 Ω330 mΩ165 mΩ33 mΩ16.5 mΩ
1.8 V900 mΩ180 mΩ90 mΩ18 mΩ9 mΩ
1.2 V600 mΩ120 mΩ60 mΩ12 mΩ6 mΩ
1 V500 mΩ100 mΩ50 mΩ10 mΩ5 mΩ

What goes wrong on a real board

  • Mounting often outweighs the part. XAPP623 shows the same 0402 land at 4 nH with long traces, 0.8 nH with end vias, 0.6 nH with side vias and 0.4 nH with double side vias. AN 574 gives 0.57 nH on the top layer and 2.3 nH on the bottom of one board. Short fat connections matter more than the capacitor’s own ESL.
  • Datasheet parasitics are for the bare part. KYOCERA AVX measured about 0.87 nH on a 0603 and 1.05 nH on an 0805 chip, and found inductance tracks the case size, not the capacitance.
  • X5R and X7R parts lose capacitance under DC bias, so a 10 µF part at its rated voltage can be far below 10 µF. Enter the derated value from the manufacturer’s bias curve.
  • ESR is not constant. It varies with frequency and with the dielectric, and very low ESR makes anti-resonance peaks sharper.
  • The regulator and the package bound the problem. TI puts the point where a regulator stops holding the rail at roughly 500 kHz to 1 MHz for a PMIC. Above an FEFFECTIVE or FMAX the package inductance dominates and more board capacitors do not help.
  • A flat target is a simplification. Real load currents vary by frequency, so treat the result as a first pass before a simulation or measurement.

Glossary

Target impedance (Ztarget)
The highest PDN impedance that keeps the rail in tolerance for the expected current step.
ESR
Equivalent series resistance, the floor of a capacitor’s impedance at resonance.
ESL
Equivalent series inductance. Sets impedance above resonance and includes the pads and vias once mounted.
Self-resonant frequency (SRF)
The frequency where capacitive and inductive reactance cancel and |Z| equals ESR.
Anti-resonance
A parallel-resonance peak in |Z| between two capacitor values, where one is inductive and the other still capacitive.
PDN
Power distribution (or delivery) network: regulator, planes, capacitors and package between the source and the die.
Bypass capacitor
On a power rail, another name for a decoupling capacitor, and the bypass capacitor value is found the same way.

Related guides

Frequently asked questions

What is target impedance in a power distribution network?

It is the highest impedance the rail can have and still stay in tolerance when the load steps: Ztarget = rail voltage × allowed ripple ÷ transient current. Keep |Z| at or below it across the frequencies the load draws current at.

How many decoupling capacitors do I need?

It depends on the band and the target, not on the number of power pins alone. With 100 nF parts of 50 mΩ ESR and 1.5 nH mounted, a 330 mΩ target from 1 MHz to 100 MHz needs 5. The 1 MHz edge sets the count, because one 100 nF part has 1.58 Ω there.

What is the self-resonant frequency of a 100 nF capacitor?

With 1.5 nH of mounted inductance it is 13 MHz, from 1 ÷ (2π√(LC)). Above it the part behaves as an inductor. Resonance moves with the board layout, because the pads and vias are part of L.

Does paralleling capacitors change the resonant frequency?

Not when the parts are identical: C multiplies by N while L and ESR divide by N, so the product LC stays the same and the whole impedance curve drops by a factor of N. Parts with different values do interact, and form anti-resonance peaks between their resonances.

Should I use one decoupling capacitor value or several?

Altera’s AN 574 recommends several values rather than many of the same value: a large bank of identical parts lowers the ESR near resonance, which raises the neighboring impedance peaks. Check any mix on the second tab of the calculator.

What ripple percentage and transient current should I use?

Use the tolerance your device specifies; 5 % is the example in the AVX paper. Use the worst-case load step if you can estimate it. TI’s Sitara PDN guide uses half of the maximum current as the step, and AN 574 likewise uses a percentage of total draw.

How much bulk capacitance does a rail need?

C = ΔI × Δt ÷ ΔV covers the step until the regulator responds. KYOCERA AVX’s example is a 20 A step, 15 µs of response and 5 % of 1.8 V, which needs 3.333 mF.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.