Learn how to choose a capacitor with this complete PCB engineer’s guide โ covering dielectric type, voltage derating, ESR, tolerance, package size, and real design examples.
Choosing the wrong capacitor is one of the most expensive mistakes you can make in PCB design โ not because capacitors are expensive, but because the consequences often don’t show up until the board is in production or in the field. A capacitor with the right value but the wrong dielectric drifts out of spec at temperature. A correctly rated part in the wrong package causes layout problems that require a board respin. A voltage-rated component with no derating headroom fails six months after deployment.
After years of PCB design and working through component selections across power electronics, RF, and mixed-signal boards, I can tell you that how to choose a capacitor is a multi-variable decision โ not just a question of “what value do I need?” This guide walks through every parameter you need to evaluate, how they interact, and how to make a confident, defensible component selection for any application.
Why Capacitor Selection Is More Complex Than It Looks
Most beginners approach capacitor selection the same way: find the value in the schematic, filter by that value on Digi-Key, pick the cheapest one in stock. For some applications, that works fine. For many others, it’s a recipe for problems.
Every capacitor on a PCB is doing a specific job: decoupling a power rail, filtering a signal, setting a time constant, coupling an AC signal, or storing bulk energy. Each of those jobs has a different set of requirements around dielectric type, voltage rating, ESR, temperature stability, size, and cost. Getting all those variables right simultaneously is the real skill in capacitor selection.
The good news is that once you understand the framework, it becomes systematic rather than guesswork.
Step 1 โ Define the Application First
Before you look at a single spec, you need to clearly define what the capacitor is doing in the circuit. The application determines which parameters are critical and which ones you can relax.
Capacitor Application Categories and Their Priority Parameters
| Application | Primary Parameter | Secondary Parameters | Capacitor Type Usually Used |
| IC decoupling / bypass | Low ESR, good HF response | Voltage rating, temp stability | Ceramic (X7R, C0G) |
| Bulk power supply filtering | High capacitance, low ESR | Ripple current rating, lifetime | Electrolytic, tantalum |
| Signal coupling (AC blocking) | Capacitance value, low leakage | Voltage rating, size | Ceramic, film |
| RC timing circuits | Tight tolerance, temp stability | Leakage current | Ceramic C0G, film |
| Filter circuits (audio/RF) | Tight tolerance, low ESR/ESL | Temp coefficient | Ceramic C0G, film |
| High-voltage circuits | Voltage rating with derating | Dielectric strength | Film, ceramic high-V |
| Energy storage / holdup | High capacitance, ESR | Charge/discharge cycles | Electrolytic, supercap |
| RF impedance matching | Very tight tolerance, low loss | Q factor, temp stability | Ceramic C0G, mica |
| Motor run / power factor | AC voltage handling | Thermal stability | Film (self-healing) |
| EMI suppression | Impedance at target frequency | Leakage, safety rating | X/Y-class ceramic, film |
Define your application category first, then use that to set your selection priorities before you open any distributor database.
Step 2 โ Determine the Required Capacitance Value
The capacitance value is determined by the circuit design โ it comes from your calculations, simulation, or reference design. But how you interpret and apply that value depends on the application.
Tolerance: How Precise Does the Value Need to Be?
For bypass and decoupling applications, capacitor tolerance barely matters. A 10% or even 20% variance from nominal makes no practical difference when you’re supplying transient current to a digital IC.
For RC timing circuits and filters, tolerance matters a great deal. A ยฑ20% capacitor in a precision timer can shift the timing interval by 20%. In a Butterworth filter, it will move the cutoff frequency and change the filter response shape.
Capacitor Tolerance Guide
| Tolerance Class | Code | Typical Use |
| ยฑ0.5 pF | D | Precision RF, crystal circuits |
| ยฑ1% | F | Active filters, precision timing |
| ยฑ2% | G | High-precision signal circuits |
| ยฑ5% | J | Standard signal and filter work |
| ยฑ10% | K | General-purpose bypass, decoupling |
| ยฑ20% | M | Bulk bypass, power supply caps |
| +80% / โ20% | Z | Non-critical applications only |
As a rule: use ยฑ5% (J) or better for any circuit where the capacitance value directly sets a frequency, delay, or gain. Use ยฑ10% to ยฑ20% for power supply and decoupling work where the exact value is not critical.
Capacitance Shift Under DC Bias โ The Ceramic Capacitor Trap
This is one of the most underappreciated problems in capacitor selection. Ceramic capacitors with Class II dielectrics (X5R, X7R, Y5V) suffer significant capacitance loss under DC bias. A 10ยตF X5R ceramic capacitor rated at 10V may only deliver 3โ5ยตF of effective capacitance when biased at 9V.
This effect is worst with:
- High-K dielectrics (X5R, X7R, Y5V โ worst of all)
- Small packages (0402 and below)
- High voltage-to-rating ratios
How to handle it: For capacitors that will see significant DC bias, check the manufacturer’s bias derating curves (Murata and TDK publish these online) and select a part whose effective capacitance at your operating voltage meets your circuit requirement โ not just the nominal capacitance at zero bias.
Step 3 โ Select the Right Capacitor Dielectric Type
The dielectric is the insulating material between the capacitor plates, and it defines almost every important characteristic of the component. Choosing the right dielectric is the single most impactful decision in the selection process.
Ceramic Capacitors โ Dielectric Class Comparison
| Dielectric | EIA Code | Temp Range | Cap Change vs Temp | DC Bias Effect | Best For |
| C0G / NP0 | Class I | โ55ยฐC to +125ยฐC | ยฑ30 ppm/ยฐC (negligible) | None | RF, oscillators, precision filters |
| X7R | Class II | โ55ยฐC to +125ยฐC | ยฑ15% | Moderate | General-purpose decoupling, SMD |
| X5R | Class II | โ55ยฐC to +85ยฐC | ยฑ15% | Moderate | Consumer electronics decoupling |
| X8R | Class II | โ55ยฐC to +150ยฐC | ยฑ15% | Moderate | Automotive, high-temp industrial |
| Y5V | Class II | โ30ยฐC to +85ยฐC | +22% / โ82% | Severe | Avoid for precision work |
| Z5U | Class II | +10ยฐC to +85ยฐC | +22% / โ56% | Severe | Legacy designs only |
Practical decision rule:
Use C0G/NP0 for any application where capacitance stability matters: oscillator load caps, active filter networks, sample-and-hold circuits, precision timing, and RF matching networks. Values above ~1nF in C0G become expensive and physically large.
Use X7R for general SMD decoupling and bypass work across industrial temperature ranges. It’s the workhouse of digital PCB design.
Use X5R for consumer-grade designs where the temperature range is tighter and cost pressure is higher.
Avoid Y5V for anything where the capacitance value matters. Its 82% possible capacitance loss at temperature extremes makes it unsuitable for most real-world designs.
Electrolytic Capacitors โ When and How to Choose Them
Aluminum electrolytic capacitors are the go-to choice when you need high capacitance โ tens to thousands of microfarads โ at low cost. They are polarized, have relatively high ESR compared to ceramics, and their service life is temperature-dependent.
Key selection parameters for electrolytics:
| Parameter | Guidance |
| Capacitance | Select based on ripple current / holdup time calculation |
| Voltage rating | Minimum 1.5ร the maximum operating voltage |
| Temperature rating | 85ยฐC standard, 105ยฐC preferred, 125ยฐC for high-temp |
| ESR | Check maximum ESR spec; lower is better for ripple filtering |
| Ripple current | Must exceed the RMS ripple current in your circuit |
| Lifetime (hours) | 1000h, 2000h, 5000h ratings โ choose based on product lifespan |
Electrolytic lifetime roughly halves for every 10ยฐC rise in operating temperature above the rated maximum. If you mount a 105ยฐC rated cap near a hot component and it runs at 95ยฐC continuously instead of 85ยฐC, you’ve roughly doubled the effective service stress. Always consider thermal management in your layout.
Film Capacitors โ The Right Choice for Precision and AC Applications
Film capacitors use a plastic film dielectric (polyester, polypropylene, polystyrene). They are non-polarized, extremely stable with temperature, have very low ESR and ESL, and can handle AC voltages well. Their disadvantage is physical size โ they’re generally much larger than ceramic or electrolytic equivalents.
Film capacitors are the right choice for:
- Audio signal path components (very low distortion)
- Power factor correction (AC line voltage handling)
- Snubber circuits (fast voltage transient handling)
- Motor run capacitors
- High-voltage DC circuits up to 2kV and beyond
Tantalum Capacitors โ High Density, Handle With Care
Tantalum capacitors offer excellent capacitance density, low ESR, and reliable performance in a compact SMD package. However, they have a critical weakness: they can fail catastrophically (short circuit, sometimes accompanied by fire) if subjected to voltage spikes or reverse polarity.
Tantalum selection rules:
- Never exceed 50โ70% of the rated voltage under any operating condition
- Always add inrush current limiting (series resistance of at least 3ฮฉ per volt) when used at power supply inputs
- Never use in circuits with hard-switched inductive loads
- Confirm polarity marking before soldering โ the stripe marks positiveย on SMD tantalums
Step 4 โ Set the Voltage Rating Correctly
Voltage derating is not optional โ it’s engineering best practice and in many industries it’s a mandatory requirement.
Voltage Derating Guidelines by Application
| Application / Environment | Recommended Derating | Example |
| Consumer electronics | 80% of rated voltage | 12V rail โ use 16V or 25V cap |
| Industrial / telecom | 70% of rated voltage | 48V rail โ use 100V cap |
| Automotive | 60โ70% of rated voltage | 42V load dump โ use 100V cap |
| Military / aerospace | 50% of rated voltage | Strict reliability specs |
| Tantalum capacitors | 50% maximum (all markets) | 5V rail โ use 10V tantalum |
Under-voltage derating is the single most common root cause of capacitor field failures. It takes almost no extra cost to specify a higher-voltage-rated part, but the reliability benefit is significant.
Keep in mind that automotive applications must also account for load dump transients (which can reach 40V+ on a 12V system) and cold crank scenarios. Always design to the peak transient voltage, not the nominal rail voltage.
Step 5 โ Evaluate ESR and ESL for Your Frequency Range
Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL) are parasitic elements that limit a capacitor’s real-world performance, particularly at higher frequencies.
What ESR Affects
High ESR means power is lost as heat inside the capacitor when AC or ripple current flows through it. In a switching power supply, the output ripple voltage across the capacitor is: V_ripple = I_ripple ร ESR. A high-ESR output capacitor produces more output ripple and generates more self-heating, shortening its lifespan.
What ESL Affects
ESL (typically 1โ3 nH for through-hole caps, 0.5โ1 nH for SMD ceramics) creates an inductive impedance above the capacitor’s self-resonant frequency (SRF). Above the SRF, the capacitor behaves inductively rather than capacitively โ it stops filtering and starts adding impedance. This is why a single large ceramic bypass capacitor doesn’t work well at high frequencies, and why designers often place a small C0G ceramic in parallel with an X7R to extend the effective filtering frequency range.
ESR Comparison by Capacitor Type
| Capacitor Type | Typical ESR Range | SRF (typical) |
| MLCC Ceramic (SMD) | 1โ100 mฮฉ | 10 MHz โ 1 GHz |
| Tantalum (SMD) | 50โ300 mฮฉ | 1โ10 MHz |
| Aluminum Electrolytic | 50 mฮฉ โ 5 ฮฉ | 10 kHz โ 1 MHz |
| Low-ESR Electrolytic | 10โ100 mฮฉ | 100 kHz โ 1 MHz |
| Polymer Electrolytic | 5โ50 mฮฉ | 1โ10 MHz |
| Film (polypropylene) | 1โ50 mฮฉ | 1โ100 MHz |
For switching power supply output filtering, use low-ESR electrolytic or polymer capacitors. For high-frequency decoupling (above 10 MHz), use small SMD ceramics placed as close as possible to the IC.
Step 6 โ Consider Temperature Range and Stability
Your capacitor needs to maintain its required performance across the full temperature range the end product will experience โ not just at room temperature.
Operating Temperature Range by Application
| Product Category | Minimum Temp | Maximum Temp | Recommended Dielectric |
| Consumer electronics | 0ยฐC | 70ยฐC | X5R, X7R |
| Industrial equipment | โ40ยฐC | 85ยฐC | X7R, C0G |
| Automotive (interior) | โ40ยฐC | 85ยฐC | X7R, X8R |
| Automotive (engine bay) | โ40ยฐC | 125ยฐC | X8R, AEC-Q200 rated |
| Military / aerospace | โ55ยฐC | 125ยฐC | C0G, military-grade film |
For electrolytic capacitors, the key temperature concern is lifespan โ always select the highest temperature rating you can fit in the budget for designs that run warm. 105ยฐC rated electrolytics in a circuit that only reaches 60ยฐC will last many times longer than 85ยฐC-rated parts in the same circuit.
Step 7 โ Select the Right Package and Physical Size
Getting the electrical selection right but specifying the wrong footprint means a board respin. Package selection involves three considerations: the PCB footprint, the height clearance, and mechanical stress tolerance.
Common SMD Ceramic Capacitor Package Sizes
| EIA Package | Dimensions (L ร W mm) | Height (typical) | Capacitance Range |
| 0201 | 0.6 ร 0.3 | 0.3 mm | 1 pF โ 100 nF |
| 0402 | 1.0 ร 0.5 | 0.5 mm | 1 pF โ 10 ยตF |
| 0603 | 1.6 ร 0.8 | 0.8 mm | 1 pF โ 22 ยตF |
| 0805 | 2.0 ร 1.25 | 1.25 mm | 1 pF โ 47 ยตF |
| 1206 | 3.2 ร 1.6 | 1.6 mm | 100 pF โ 100 ยตF |
| 1210 | 3.2 ร 2.5 | 2.5 mm | 1 nF โ 100 ยตF |
| 2220 | 5.7 ร 5.1 | 2.5 mm | 1 nF โ 100 ยตF high-V |
Mechanical Stress and Flex Cracking
Ceramic capacitors are brittle. When PCBs are flexed โ during assembly, testing, insertion into enclosures, or in service โ standard ceramic capacitors can develop microcracks in the dielectric that cause either intermittent failure or direct short circuits.
For boards that experience significant flex (handheld devices, board-edge connectors, PCBs with large plug-in connectors), use soft-termination (flexible-termination) ceramic capacitors in your at-risk locations. They’re slightly more expensive but dramatically more robust against flex cracking. This is especially important for larger ceramic packages (0805 and above) placed near board edges or near connectors.
Step 8 โ Verify Safety and Compliance Requirements
For products connected to mains power or used in safety-critical applications, capacitors must carry the appropriate safety certifications.
Safety-Rated Capacitor Classes
| Class | Application | Requirement |
| X1 | Line-to-line, severe transient environment | โฅ400V peak handling |
| X2 | Line-to-line, standard environment (most common) | โฅ250V peak handling |
| Y1 | Line-to-ground, double insulation | High isolation |
| Y2 | Line-to-ground, basic insulation (most common) | 150โ300V AC rating |
| Y3 | Line-to-ground, limited application | Lower rating |
X and Y class capacitors are safety-rated and must carry certification marks (UL, VDE, TรV, etc.) for products sold in regulated markets. Using a standard capacitor in a line-to-ground (Y position) application without proper certification is a compliance failure โ regardless of whether the electrical performance seems adequate.
Step 9 โ Apply the Complete Capacitor Selection Checklist
Here’s the systematic checklist I run through on every capacitor selection. It takes two minutes per part and prevents the vast majority of selection errors.
Capacitor Selection Decision Checklist
| Step | Question | Action If Not Met |
| 1 | Is the capacitance value correct at operating voltage (check bias derating for ceramics)? | Select higher-rated or larger package |
| 2 | Is the tolerance adequate for the circuit function? | Upgrade to tighter tolerance class |
| 3 | Is the voltage rating โฅ 1.5ร (consumer) or โฅ 2ร (industrial/auto) of max operating voltage? | Select higher voltage rating |
| 4 | Is the dielectric appropriate for temperature range and stability requirements? | Change dielectric class |
| 5 | Is the ESR low enough for the ripple current / switching frequency? | Use lower-ESR type |
| 6 | Does the package fit the PCB footprint and height clearance? | Adjust footprint or package |
| 7 | Is the operating temperature range covered? | Select higher-rated temperature class |
| 8 | Does the component meet ripple current rating? (electrolytics) | Select higher-rated part or parallel caps |
| 9 | Is flex cracking a risk? (large ceramics near board edge) | Use soft-termination type |
| 10 | Does the application require safety certification (X/Y class)? | Select safety-rated component |
| 11 | Is the part in production and available from โฅ2 distributors? | Check availability, add approved alternates |
Step 10 โ Practical Selection Examples From Real Designs
Example 1: Decoupling a 3.3V MCU with a 100 MHz Clock
Requirements: Low ESR, good HF response, operates โ40ยฐC to +85ยฐC
Selection: 100nF, X7R, 0402, 10V rating
- 10V rating = 3ร the 3.3V rail โ good derating
- X7R covers โ55ยฐC to +125ยฐC, stable enough for bypass work
- 0402 is compact enough to place adjacent to IC power pins
- ESR typically <50mฮฉ โ adequate for digital decoupling
Also add: 10ยตF X5R or X7R in 0603/0805 as a secondary bulk cap per IC power domain.
Example 2: Output Filter for a 12V, 5A Buck Converter Switching at 400 kHz
Requirements: High capacitance, low ESR, handles ripple current, โ40ยฐC to +85ยฐC industrial
Selection: 100ยตF polymer aluminum electrolytic, 25V, 105ยฐC, ESR <30mฮฉ, ripple current rating >2A RMS
- 25V = 2ร the 12V output โ good derating
- Polymer type chosen for low ESR vs standard aluminum
- 105ยฐC rated for industrial reliability
- Ripple current spec checked against converter output ripple current calculation
Example 3: Load Capacitor for a 25 MHz Crystal Oscillator
Requirements: Precise value, near-zero temperature drift, low loss
Selection: 18pF, C0G/NP0, 0402, 50V
- C0G dielectric โ capacitance stable within ยฑ30 ppm/ยฐC
- ยฑ5% tolerance (J grade) โ may need ยฑ1% (F) if oscillator is frequency-critical
- 50V rating โ overkill, but C0G at this value is small enough that higher voltage makes no size difference
Useful Resources for Capacitor Selection
| Resource | Type | What It’s Useful For |
| Murata SimSurfing | Simulation Tool | Frequency response, DC bias derating, temperature curves for real parts |
| TDK Product Finder | Component Database | Filter by dielectric, temp code, ESR, voltage |
| KEMET SPICE Models | SPICE Library | Simulation models including ESR/ESL |
| Digi-Key Parametric Search | Distributor Database | Cross-reference by value, package, voltage, dielectric |
| Mouser Capacitor Selector | Distributor Database | Stock check, multi-vendor availability |
| Vishay Application Notes | Application Notes | Film and tantalum selection guides |
| AVX SpiCap Tool | Simulation Tool | Impedance and ESR vs frequency for ceramic caps |
| IPC-2221 Design Standard | Industry Standard | PCB design rules including component derating |
| AEC-Q200 Standard | Automotive Standard | Qualification requirements for automotive passives |
Frequently Asked Questions About How to Choose a Capacitor
1. How do I know what capacitance value to use?
The capacitance value should come from your circuit design calculations or a verified reference design. For decoupling, 100nF ceramic is a near-universal starting point for each digital IC power pin, supplemented by 10ยตF bulk caps per power domain. For filters and timing circuits, calculate the value from the target frequency using the relevant formula (e.g., f = 1/(2ฯRC) for simple RC filters). Don’t guess โ simulate or calculate, then verify on the bench.
2. Can I use a higher capacitance than specified?
For decoupling and filtering, a higher value is usually fine or even beneficial. For timing circuits, RC filters, and resonant circuits, changing the capacitance directly changes the frequency or delay โ so substituting a different value will alter circuit behavior. Always understand what the capacitor is doing before substituting values.
3. What happens if I use a capacitor with a lower voltage rating than the circuit requires?
Operating a capacitor above its voltage rating risks dielectric breakdown โ a partial or complete failure of the insulating layer between the plates. For ceramic capacitors this typically means a cracked or shorted part. For electrolytic capacitors it can mean venting, leaking electrolyte, or in severe cases, rupture. Always derate: use a part rated at minimum 1.5ร (consumer) to 2ร (industrial) the maximum voltage the capacitor will see in operation.
4. Is it okay to use ceramic capacitors instead of electrolytic for power supply filtering?
Yes, increasingly so. Modern X7R and X5R ceramics are available in values up to 100ยตF and have far lower ESR than equivalent electrolytics. Many power supply designs now use all-ceramic output capacitors. The key constraint is that ceramics with high K dielectrics lose capacitance under DC bias โ always check the effective capacitance at the operating voltage using the manufacturer’s derating curves. Also verify the ceramic doesn’t introduce acoustic noise issues in voltage regulators (piezoelectric effect in MLCCs can cause audible whining at low switching frequencies).
5. How do I choose between tantalum and electrolytic for the same value?
Tantalum capacitors have lower ESR, better volumetric efficiency, and longer rated service life than standard aluminum electrolytics. They’re the better choice when space is constrained and when low ESR matters. However, they’re more expensive and must be handled carefully โ voltage spikes can cause tantalum to fail short (and sometimes burn). For cost-sensitive, space-tolerant designs like bulk power supply filtering, aluminum electrolytic is the practical choice. For compact, reliability-sensitive designs (medical, aerospace, portable industrial), tantalum or polymer electrolytic is worth the premium.
Final Thoughts on Capacitor Selection
Learning how to choose a capacitor properly is one of those skills that separates competent PCB engineers from great ones. The component might cost a few cents, but the decision involves balancing capacitance accuracy, voltage headroom, ESR, dielectric stability, package size, operating temperature, safety certification, and supply chain availability โ all simultaneously.
Work through the selection process systematically: define the application first, determine the value and tolerance you need, select the dielectric for stability and temperature, set the voltage rating with proper derating, verify ESR against your frequency and ripple requirements, and confirm the package fits your layout. Use manufacturer simulation tools like Murata SimSurfing to verify real-world performance under operating conditions, not just nominal datasheet values.
The few extra minutes spent doing this properly at the design stage will save you hours of debugging later โ and potentially prevent a costly field failure.