A capacitor stores electrical energy in an electric field, acting as a localized charge reservoir to smooth voltage, block DC, or filter noise. But treating all capacitors as interchangeable is a fast track to noisy audio, unstable power rails, and smoked PCBs. When evaluating a capacitor and its types for a new layout or a bench repair, the dielectric material dictates everything from temperature stability to catastrophic failure modes.
This guide cuts through the textbook theory and focuses on what you actually need to know at the workbench: which dielectric to choose, how to read the cryptic markings on tiny SMD parts, what visual cues indicate a dying component, and how to safely substitute parts when your exact BOM item is out of stock.
The Core Selection Framework: Which Type for Which Job
Before looking at specific part numbers, you must match the circuit's electrical demands to the capacitor's physical strengths. Here is the direct selection framework used in modern PCB design and repair:
- Decoupling and Bypass (Digital ICs, MCUs): Use Multi-Layer Ceramic Capacitors (MLCC), specifically X7R or X5R dielectrics. They offer low Equivalent Series Resistance (ESR) and fast transient response in tiny 0402 or 0603 packages. Place a 100nF (0.1µF) cap as close to the VCC pin as physically possible.
- Bulk Power Filtering (Switching Regulators, Motor Drives): Use Aluminum Electrolytic or Polymer capacitors. You need high capacitance (100µF to 4700µF) to handle large current draws and smooth low-frequency ripple. Look for 'Low ESR' series like the Panasonic FR or Rubycon ZL.
- Audio Signal Coupling and Crossovers: Use Polypropylene or Polyester Film capacitors. Ceramic capacitors (Class 2) exhibit microphonics and voltage coefficient distortion that will color audio signals. Film caps provide linear, distortion-free AC coupling.
- Precision Timing and RF Filters: Use Class 1 Ceramic (C0G/NP0) or Polystyrene film. These have near-zero temperature coefficients. An X7R cap will drift wildly with temperature changes, destroying the center frequency of an RF filter or the baud rate of a 555 timer circuit.
- Mains EMI Suppression (AC Line Filtering): Use X2 and Y2 Safety Film capacitors. These are specifically designed to fail open (not short) and are potted in flame-retardant resin to prevent line-voltage fires.
Capacitor Types Compared: Construction, Tolerance, and Tempco
The following spec-sheet-table breaks down the electrical realities of the most common capacitor families. Note how tolerance and temperature coefficient (Tempco) vary wildly between chemistries.
| Type / Dielectric | Construction | Typical Tolerance | Tempco / Stability | Typical Use Case |
|---|---|---|---|---|
| MLCC (Class 1 - C0G/NP0) | Ceramic (Titanates) | ±5% (J) | ±30 ppm/°C (Ultra-stable) | RF matching, precision oscillators, snubbers |
| MLCC (Class 2 - X7R/X5R) | Ceramic (Barium Titanate) | ±10% to ±20% | ±15% over temp range | General bypass, decoupling, non-critical filtering |
| Aluminum Electrolytic | Etched foil + liquid/polymer electrolyte | -20% / +80% | Poor (dries out >85°C) | Bulk filtering, power supply smoothing |
| Tantalum (MnO2 / Polymer) | Sintered tantalum powder pellet | ±10% to ±20% | Moderate (stable over time) | Space-constrained bulk filtering, medical/space |
| Polyester Film (Mylar/PET) | Metallized plastic film wound | ±5% to ±10% | ±10% over temp range | Audio coupling, general purpose through-hole |
| Polypropylene Film (PP) | Metallized plastic film wound | ±1% to ±5% | Excellent (low dielectric absorption) | High-end audio, high-voltage snubbers, motor run |
Decoding Capacitor Markings and Codes
Reading a 1000µF electrolytic is easy: the value and voltage are printed right on the sleeve. But deciphering a 0603 SMD ceramic or a vintage through-hole disc requires knowing the EIA (Electronic Industries Alliance) coding system.
The 3-Digit EIA Code (Ceramics and Film)
The first two digits are the significant figures, and the third digit is the multiplier (number of zeros) in picofarads (pF).
- 104: 10 + four zeros = 100,000 pF = 100 nF = 0.1 µF. (The most common bypass cap in electronics).
- 473: 47 + three zeros = 47,000 pF = 47 nF.
- 221: 22 + one zero = 220 pF.
Tolerance Letter Suffixes
You will often see a letter trailing the numeric code or printed on the side of the component:
- J = ±5%
- K = ±10% (Very common on X7R ceramics)
- M = ±20% (Standard for electrolytics and high-value ceramics)
- Z = +80% / -20% (Older electrolytics, essentially a 'minimum guaranteed' spec)
Voltage and Dielectric Codes
On small SMD MLCCs, the voltage and dielectric are often coded in a two-character string on the reel or packaging, not the part itself. For example, in a Murata or TDK part number, X7R denotes the dielectric, while a voltage code like 1C means 16V, and 1E means 25V. Always check the manufacturer's datasheet for SMD reel codes, as a 50V cap and a 6.3V cap can look physically identical under a magnifying glass.
Failure Modes and Visual Symptoms on the Bench
Capacitors are the most common point of failure in aging electronics. Here is what to look for when troubleshooting a dead board.
Tantalum capacitors (usually small, rectangular, surface-mount components in yellow, black, or orange) fail as a dead short. If connected to a low-impedance power rail without current limiting, they will undergo thermal runaway, literally catching fire and emitting toxic smoke. Never probe a suspected shorted tantalum with your bare fingers, and always use current-limited bench supplies when bringing up a board with high-density tantalum decoupling.
1. Aluminum Electrolytic: The ESR Spike and Dry-Out
Visual Symptom: The top aluminum cross-vent bulges upward, or a brown, crusty residue leaks from the bottom rubber bung onto the PCB. Sometimes, they look perfectly fine visually.
Electrical Symptom: Equivalent Series Resistance (ESR) spikes from a normal 0.05Ω to over 5Ω. The capacitance meter might still read 1000µF, but the cap can no longer pass high-frequency ripple current. It acts like a resistor, heating itself up and causing switching regulator output voltage to ripple wildly.
The Fix: Desolder and test with a dedicated ESR meter. Replace with a 105°C rated 'Low ESR' equivalent (e.g., Panasonic FR series). Do not use standard 85°C general-purpose caps in switching power supplies.
2. MLCC Flex Cracks (The Invisible Killer)
Visual Symptom: None visible to the naked eye. Under a microscope, you may see a hairline fracture near the solder pad termination.
Electrical Symptom: Dead short across the power rail, or intermittent faults that appear only when the PCB is flexed or tapped.
Root Cause: Ceramic is brittle. If a board is mechanically stressed (e.g., screwed into a chassis with uneven standoffs, or dropped), the board flexes and cracks the MLCC. Moisture ingress then creates a short.
The Fix: Use X2Y capacitors or soft-termination MLCCs (like KEMET's FT-CAP) in areas near mounting holes or board edges where mechanical stress is highest.
3. Safety Film (X2/Y2): Capacitance Loss
Visual Symptom: The plastic casing may look slightly melted or discolored, but often looks pristine.
Electrical Symptom: The 'X2' capacitor across the AC mains line in a switch-mode power supply loses capacitance over time due to continuous high-voltage transients. The EMI filter stops working, and the power supply fails to start or blows the mains fuse due to noise.
The Fix: Always replace with an identical X2 or Y2 safety-rated film capacitor. Never substitute a standard DC-rated film cap here; it will explode if subjected to an AC mains surge.
Safe Substitution Rules When the Exact Part is Missing
When your BOM calls for a specific part that is on a 40-week lead time, you must substitute. Follow these strict rules to avoid redesigning the board later.
- Voltage Rating (The Derating Rule): You can always substitute a higher voltage rating, but you must account for physical size and DC bias. For MLCCs, a 10µF 16V X5R cap might lose 60% of its capacitance at 12V due to the DC bias effect. If you substitute a 10µF 25V cap, it will maintain its capacitance much better at 12V. However, a 25V cap might be physically larger (e.g., 1210 vs 0805 package), so check your PCB footprint.
- Capacitance Value (Decoupling vs. Timing): For power rail decoupling, substituting a slightly higher value (e.g., 220nF instead of 100nF) is generally safe and can help with lower-frequency noise. However, for RC timing circuits, active filters, or RF matching networks, you must substitute within the exact tolerance (e.g., ±1% or ±5%). A 10% drift in a Sallen-Key filter will shift the cutoff frequency and ruin the phase margin.
- Dielectric Substitution (Never Cross the Streams): You can substitute a C0G/NP0 cap for an X7R cap (upgrading stability), but you must never substitute an X7R for a C0G in a timing or RF circuit. The X7R will introduce voltage-dependent capacitance drift and microphonic noise. Furthermore, never substitute a polarized capacitor (electrolytic/tantalum) for a non-polarized requirement (AC coupling), as the reverse voltage will destroy the dielectric oxide layer.
Frequently Asked Questions
Can I use a higher voltage capacitor than the schematic specifies?
Yes, electrically it is always safer to use a higher voltage rating. A 50V capacitor will run much cooler and more reliably on a 12V rail than a 16V capacitor. The primary constraints are physical size (higher voltage caps are larger and may not fit the PCB footprint) and cost. For ceramic MLCCs, using a higher voltage rating is actually recommended to combat the DC bias effect, ensuring you get the full advertised microfarads under actual operating voltage.
Why do MLCCs lose capacitance when DC voltage is applied?
This is known as the DC Bias effect, and it is a major trap for modern PCB designers. Class 2 ceramic dielectrics (X5R, X7R) use barium titanate, which is highly non-linear. When you apply a DC voltage across the dielectric, the internal crystal structure aligns and 'stiffens', reducing its ability to store charge. A 10µF 0805 X5R capacitor rated for 16V might only provide 2.5µF of actual capacitance when 12V DC is applied. Always check the manufacturer's DC bias curves (available on sites like Murata's online simulators) before finalizing a power supply design.
What is the exact difference between X7R and X5R ceramic capacitors?
The EIA code defines the temperature operating range and maximum capacitance shift. Both allow a ±15% capacitance change over their temperature range. The difference is the temperature limits: X5R operates from -55°C to +85°C, while X7R operates from -55°C to +125°C. For consumer electronics and hobbyist Arduino/ESP32 projects running at room temperature, X5R is perfectly fine and usually cheaper. For automotive, industrial, or power supply applications where ambient heat exceeds 85°C, X7R is mandatory to prevent the capacitance from dropping out of spec.
How do I test a capacitor without desoldering it from the board?
You cannot accurately measure capacitance in-circuit using a standard multimeter, because parallel components (resistors, other caps, semiconductor junctions) will skew the reading. However, you can test for the most common failure mode: a dead short. Set your multimeter to continuity or resistance mode. If you read near 0 ohms across the capacitor pads, the capacitor is shorted (or a parallel IC is dead). To accurately measure capacitance and ESR, you must desolder at least one leg of the component to isolate it from the circuit, as detailed in standard circuit theory practices.
Are polymer capacitors worth the higher price over standard electrolytics?
For bulk filtering on the output of high-frequency switching regulators (1MHz+), absolutely. Solid polymer aluminum capacitors (like Panasonic OS-CON or KEMET AO) have an ESR as low as 3 milliohms and do not contain liquid electrolyte, meaning they cannot dry out over time. While a standard 470µF electrolytic might cost $0.20 and a polymer equivalent costs $1.50, the polymer part will eliminate high-frequency output ripple and last the lifetime of the product without ESR degradation.






