Skip to content
Omnikalc

Decoupling capacitor calculator: size the bypass capacitors of a supply rail

Enter the current step, the allowed ripple, the transient time and the ESL of a capacitor to get the capacitance needed, the target impedance of the power network, the number of capacitors and their self-resonant frequency.

Updated on
Your inputs
A

Value out of range

mV

Value out of range

ns

Value out of range

nH

Value out of range

µF

Value out of range

Results

Total capacitance needed

0.800 µF

Target impedance of the supply network
25.0 mΩ
Number of capacitors in parallel
8
Inductance of the bank in parallel
0.100 nH
Self-resonant frequency of the capacitors
17.79 MHz

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.

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.

Frequently asked questions

What does a decoupling capacitor do?

A digital chip draws its current in short pulses each time its gates switch. The supply and its traces cannot react fast enough, because of their inductance, so the voltage at the chip would dip. A capacitor placed close to the supply pins gives the chip a local reserve of charge for the first nanoseconds, and keeps the supply voltage within the allowed ripple. It also keeps the noise of the chip from spreading to the rest of the board.

How is the capacitance found?

For a current step ΔI that lasts Δt, the capacitor gives the charge Q = ΔI × Δt, and the voltage falls by ΔV = Q / C. So the capacitance must be at least C = ΔI × Δt / ΔV. This is a first estimate for the bulk and the mid-range capacitors. It assumes that the capacitor supplies all the current for the time Δt, which is conservative if the power supply helps.

What is the target impedance?

The target impedance is the maximum impedance that the power network can have, over the whole range of frequency of the transient, so that the current step ΔI does not cause a voltage change larger than ΔV: Z = ΔV / ΔI. The network of the capacitors, the planes and the regulator must stay below this value. High-speed designs use several values of capacitors in parallel to cover a wide range of frequencies.

What are the limits of this calculator?

It does not include the ESR of the capacitors, their change of value with the DC bias or the temperature, the inductance of the planes and the vias or the anti-resonance peaks between different values. A real design is checked with the datasheet impedance curves and with a simulation of the power network. Place the capacitors as close as possible to the pins, with short connections to the planes.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.