A decoupling capacitor gives a chip the charge that it needs in the first nanoseconds of a current step. The decoupling capacitor calculator gives the capacitance, the target impedance of the supply network, the number of capacitors to put in parallel and their self-resonant frequency from the current step, the allowed ripple and the transient time.
How the calculation works
- Enter the current step that the chip draws when it switches, the voltage ripple that you accept on the supply rail (often 2% to 5% of the rail voltage) and the duration of the transient.
- Enter the inductance (ESL) of one capacitor with its pads and vias, which is 0.5 to 1.5 nH for a ceramic capacitor on a good layout.
- Enter the value of the capacitor that you plan to use, for example 0.1 µF.
- The calculator gives the total capacitance C = ΔI × Δt / ΔV, the target impedance ΔV / ΔI, the number of capacitors to put in parallel and the self-resonant frequency of the capacitor.
Example
A processor draws a step of 2 A in 20 ns, and the supply may move by 50 mV. The capacitance is C = 2 × 20 ns / 0.05 V = 0.80 µF. The target impedance is 0.05 / 2 = 25 mΩ. With capacitors of 0.1 µF, you need 8 of them in parallel. If each has an ESL of 0.8 nH, the bank has 0.1 nH, and the capacitors resonate at 1 / (2π √(0.8 nH × 0.1 µF)) = 17.8 MHz.
Why it matters
The calculator helps electronics designers, hobbyists and students to size the bypass capacitors of a microcontroller, an FPGA or a processor, to understand the role of the inductance and to choose a number of parts. It gives the starting point before the simulation and the layout.
Good to know
Use the smallest and the closest capacitors for the highest frequencies, and add bulk capacitors for the lower ones. Remember that the effective capacitance of a ceramic capacitor can fall by half with the DC bias. Connect the capacitors to the planes with short, wide traces and vias on the pad side. Check the result with a measurement of the ripple.
Related tools
The capacitors calculator covers series and parallel combinations, the RC filter calculator gives a cutoff frequency, the PCB trace width calculator sizes the traces and the Ohm’s law calculator covers the basic relations.