Choosing capacitors for a switching power supply is rarely about picking the right capacitance value. The part that fails first in the field is almost never the one with too little capacitance. It is the one rated for the wrong ripple current, the one running 20°C hotter than the calculation assumed, or the one that lost half its capacitance under DC bias. This guide covers the types worth considering, the parameters that actually decide whether the design survives, and the arithmetic that connects them.
Key Capacitor Types for Switching Power Supplies
Four families cover nearly everything in a switching supply. What separates them is not capacitance range, which overlaps heavily, but how they behave when the voltage, the temperature and the ripple current all push at once.
- Multilayer ceramic (MLCC): low ESR and low ESL, no polarity, and the smallest footprint per unit of capacitance at high frequency. The catch is that capacitance depends heavily on the dielectric. C0G holds its value across temperature and voltage but tops out in the nanofarad range. X7R is the general purpose choice for output filtering. Y5V gives the highest capacitance in the smallest case and then loses most of it when it warms up or sees rated voltage. These parts are surface mount by definition, so the pad geometry and reflow profile come from the surface mount assembly process rather than from the capacitor itself.
- Aluminum electrolytic: the only affordable way to get hundreds of microfarads or more. ESR is high, ESL is higher, and the electrolyte evaporates over time, which is why the rated life is quoted in thousands of hours at maximum temperature rather than in years. Polarity is absolute; a reversed electrolytic vents within seconds.
- Tantalum and polymer tantalum: high capacitance density with much lower ESR than electrolytic and no dry-out mechanism. Solid tantalum fails short, though, which makes it a poor choice anywhere a short is worse than an open. Polymer versions remove most of the ignition risk and are the better option when the density is genuinely needed.
- Film: high voltage, high pulse current, and very stable capacitance with temperature. Larger and more expensive per microfarad, so it shows up in snubbers, high voltage input stages and anywhere the dV/dt is severe rather than in bulk output filtering.

Core Parameters for Capacitor Selection for Switching Power Supply
Six parameters decide a capacitor selection for a switching power supply. Most datasheets list all six, and most selection mistakes come from checking only the first two.
- Capacitance value: set by the ripple and hold-up requirement, not by what is already in the parts bin. Beware the number on the label: a 10µF X5R part at its rated DC voltage may deliver 3µF, and at 85°C less than that.
- Voltage rating: derate by family. Half the rated voltage is the usual ceiling for ceramic, 80% for electrolytic. A 16V electrolytic on a 12V rail is running at 75% and is fine; a 16V ceramic on the same rail has already passed the point where its capacitance holds up.
- ESR: sets output ripple, sets self-heating, and decides whether the loop is stable. MLCC sits lowest, often in the milliohm range. Polymer and solid tantalum come next, liquid electrolytic highest by an order of magnitude or more.
- Ripple current rating: the parameter that gets skipped and then kills parts. For electrolytic it is quoted at a specific frequency, usually 100 or 120Hz, and needs the datasheet frequency correction factor applied before comparing it with a switching ripple at tens or hundreds of kilohertz.
- Temperature range and life: the working range is the easy part. The service life at the actual ambient temperature is the part worth calculating, and the next section does it.
- Tolerance: ±20% is normal for electrolytic and most X7R, ±5% or better for C0G and film. On a filter that is already marginal, tolerance consumes part of the margin.
Working Out the Numbers
Capacitor selection gets a lot less arbitrary once the output ripple requirement is turned into two numbers: a minimum capacitance and a maximum ESR. Whichever one is harder to meet drives the choice.
Take a 5V, 3A buck running at 500kHz with an inductor ripple of 0.9A, and an output ripple budget of 50mV. On the capacitance side the output ripple is the inductor ripple current divided by eight, by the switching frequency, by the capacitance, which puts the minimum at 4.5µF. On the ESR side the ripple is simply the ripple current times ESR, so ESR has to stay under 55mΩ. Both conditions apply at once, and the second one is usually what rules out a cheap electrolytic.
The heat side is a separate calculation. Ripple current flowing through ESR produces power, and that power raises the core temperature, which shortens life. A part carrying 2A RMS through 100mΩ dissipates 0.4W continuously and has to get rid of it through the case and the board.
Life follows the same rule for every aluminum electrolytic: each 10°C drop doubles the expected life. A 105°C part rated at 5,000 hours running at 65°C is good for 16 times that, about 80,000 hours. The same part running at 45°C reaches 320,000 hours. This is the single strongest argument for keeping electrolytic away from hot components during layout.
Choosing by Position in the Supply
The same capacitor behaves differently depending on where it sits. Working position by position is faster than trying to satisfy every requirement with one family.
- Input bulk: holds the rail through the switching cycle and rides out line dips. Large electrolytic, sized by hold-up time rather than by ripple. Ripple current here is the RMS input current, which is often higher than designers expect on a wide input range.
- Output filter: low ESR matters more than capacitance once the ripple is ESR dominated. A ceramic bank plus one polymer or electrolytic part covers both the switching ripple and the slower load steps.
- Decoupling: small ceramic, placed by distance rather than by value. Above a few megahertz the trace inductance between the capacitor and the pin dominates, so moving the part 5mm closer does more than doubling its capacitance would. The same reasoning shows up in general PCB layout practice, where placement rules exist for exactly this reason.
- Compensation and feedback: C0G only. A part whose capacitance drifts with temperature and bias will move the loop crossover with it.
Placement decisions made here carry straight into the layout, so it helps to fix the capacitor list before the board is placed rather than after. The sequence from schematic to artwork is covered in switching power supply PCB design.
Filter Capacitor Selection for Switching Power Supply
Filter capacitors suppress ripple, and the frequency of that ripple decides which family can respond to it at all.
Low-Frequency Filter Capacitors
After rectification at 50 or 60Hz, the capacitor charges in short pulses and supplies the load for milliseconds at a time. Hundreds to thousands of microfarads of aluminum electrolytic is the normal answer, and ESR is almost irrelevant at that frequency. What matters is ripple current rating and physical size.
High-Frequency Filter Capacitors
Above roughly 10kHz the parasitic inductance of an electrolytic takes over. Its impedance stops falling with frequency and starts rising, so a large electrolytic that looks perfect on paper can do nothing at all about a 500kHz switching spike. The fix is a small ceramic placed in parallel, close enough that its own loop inductance stays low.
Four-terminal electrolytic parts exist for the same reason: the extra pair of terminals separates the current path from the sense path and cuts the effective ESL. They cost more and take more board area, so they are worth it mainly in high ripple current designs where a ceramic bank would need too many parts.
One caution about paralleling different values. A large electrolytic and a small ceramic in parallel form a resonant circuit, and between their two self-resonant frequencies the combined impedance can peak above either part alone. Adding more of the same value is safer than adding a decade apart, unless the layout keeps the loop areas small enough that the peak never matters.
Common Selection Mistakes
- Checking capacitance and voltage rating, then never opening the ripple current column.
- Reading the nominal capacitance without derating for DC bias. On a 10µF X5R at rated voltage, the effective value can fall below half.
- Choosing Y5V for a compact high-capacitance output filter, then wondering why the ripple grows in a warm enclosure.
- Putting a large MLCC where the ripple voltage across it is significant, then chasing an audible buzz on the board. The piezoelectric effect turns the ceramic body into a small speaker, and no amount of rework on the circuit will silence it.
- Mounting an electrolytic next to the switching device or the output diode, and losing most of its rated life to the 20°C rise that follows.
- Using solid tantalum on a rail that can see a transient above its rating. The failure mode is a short, and a short on a power rail is a fire risk.
- Paralleling values a decade apart without checking the impedance curve between them.
None of these show up in a simulation that uses ideal capacitors, which is how they reach production and come back as field returns.
Once the general selection is settled, the constraints change if the board is going into a vehicle. Temperature grades, qualification documents and the failure modes that matter under vibration all sit on top of the electrical choices, and they are covered in automotive grade capacitors.
If you are finalizing a capacitor list for a switching supply and want a second opinion before the BOM is released, send the schematic and the ripple requirement to OPCBA and we will review the selection against the parts you intend to buy.


