A capacitor in electrical circuits is a passive two-terminal component that stores energy in an electric field between two conductive plates separated by an insulating dielectric. In DC applications, it blocks steady-state current while smoothing voltage ripple and providing local energy reserves. In AC applications, it couples signals, filters frequencies, and shifts phase. The fundamental governing equation is I = C(dV/dt), meaning current only flows when the voltage across the terminals is changing. The energy stored (in Joules) is calculated as E = ½CV².

While the basic physics remain constant, the physical construction and dielectric material drastically alter a capacitor's behavior regarding equivalent series resistance (ESR), temperature stability, and voltage coefficient. Selecting the wrong dielectric for a specific job is one of the most common causes of prototype failure on the bench.

Capacitor Type Selection Matrix

There is no universal capacitor. The dielectric material dictates the component's tolerance, temperature coefficient (tempco), and parasitic ESR. Use this matrix to select the correct chemistry for your circuit topology.

Dielectric / Type Construction Typical Tolerance Tempco & Stability ESR Range Primary Application
Ceramic (C0G/NP0) Multilayer (MLCC) ±0.5% to ±5% ±30 ppm/°C (Ultra-stable) < 50 mΩ RF tuning, precision timing, PLL filters
Ceramic (X7R/X5R) Multilayer (MLCC) ±10% to ±20% ±15% over temp (Non-linear) < 20 mΩ Decoupling, bypass, general SMPS filtering
Aluminum Electrolytic Wound foil with liquid/solid electrolyte -20% / +80% Poor (High temp drift, dries out) 100 mΩ to 1 Ω Bulk energy storage, low-freq audio coupling
Tantalum (MnO2) Sintered tantalum sponge pellet ±10% to ±20% Moderate (Stable but temp sensitive) 50 mΩ to 500 mΩ Space-constrained low-profile DC filtering
Film (Polypropylene) Wound metallized plastic film ±1% to ±5% Excellent (Linear, low absorption) < 10 mΩ Audio crossovers, snubbers, high-voltage AC
Bench Tip: The Ceramic Voltage Coefficient Trap
Class II ceramics (X7R, X5R, Y5V) exhibit severe capacitance drop under applied DC bias. A surface-mount 10µF X5R capacitor rated at 16V may only measure 2µF of actual capacitance when 16V is applied. Always check the manufacturer's DC bias derating curves for power rail decoupling; you often need to double the physical capacitance value to hit your target impedance.

Decoding Physical Markings and Capacitor Codes

Through-hole and surface-mount capacitors rarely have enough physical real estate to print the full microfarad value and voltage rating. Instead, manufacturers use standardized EIA (Electronic Industries Alliance) coding systems. Here is how to read them without guessing.

The 3-Digit Ceramic Code (Picofarad Base)

The first two digits represent the significant figures, and the third digit is the multiplier (number of zeros to add), yielding a value in picofarads (pF).

  • 104: 10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 µF (The most common bypass cap in electronics).
  • 223: 22 × 10³ pF = 22,000 pF = 22 nF.
  • 471: 47 × 10¹ pF = 470 pF.
  • 100: 10 × 10⁰ pF = 10 pF (Note: the third digit is zero, meaning no extra zeros).

Tolerance and Voltage Letter Codes

A letter following the numeric code usually denotes tolerance, while a separate letter-number pair indicates the DC voltage rating.

Tolerance Letter Value Voltage Code DC Rating
J ±5% 1E 25V
K ±10% 1H 50V
M ±20% 1J 63V
Z +80% / -20% 2A 100V

Electrolytic Polarity: On radial aluminum electrolytic capacitors, the painted stripe with minus signs (- - -) indicates the negative lead. On axial types, the stripe is usually positive, but always verify by checking that the longer lead is positive on new, unclipped parts. For surface-mount tantalums, the painted bar or line indicates the positive anode—the exact opposite of aluminum electrolytics.

Safe Substitution Rules When the Exact Part Is Missing

When you are prototyping or repairing a board and the exact BOM part is out of stock, you can substitute components, but only if you respect the electrical boundaries. Swapping a capacitor blindly will alter filter cutoff frequencies, cause oscillator drift, or result in catastrophic short circuits.

Rule 1: Voltage Rating Must Be Equal or Higher
Never substitute a lower voltage rating. Furthermore, you must apply derating rules based on chemistry. For aluminum electrolytics, derate by 20% (e.g., use a 63V cap on a 50V rail). For tantalum capacitors, derate by 50% (use a 20V cap on a 10V rail) to prevent surge-current failures during power-on.

Rule 2: Match the Dielectric Class for Timing and Filters
If the original design calls for a C0G/NP0 ceramic in an RC oscillator or an active filter, you cannot substitute an X7R or Y5V, even if the capacitance and voltage ratings match. Class II dielectrics (X7R) are piezoelectric and highly non-linear; their capacitance shifts with applied voltage and temperature, which will cause severe frequency drift and introduce microphonic noise into the signal path.

Rule 3: ESR Requirements in Switch-Mode Power Supplies (SMPS)
In the output filter of a buck or boost converter, the control loop compensation is often tuned to the ESR zero of the output capacitor. If the original design used a high-ESR aluminum electrolytic and you substitute a low-ESR MLCC or polymer capacitor without adjusting the feedback network, the regulator will likely suffer from sub-harmonic oscillation or phase-margin collapse, resulting in severe output ringing.

WARNING: Mains Safety Capacitors (X and Y Class)
If you are working on the AC mains input of a power supply, you will see X1, X2, Y1, or Y2 rated capacitors. These are specifically designed to fail open rather than short, and they are tested to withstand high-voltage impulse surges (up to 8kV). Never substitute a standard high-voltage DC film or ceramic capacitor across mains lines. If a standard cap shorts, it will bypass the fuse and create a direct fire hazard or lethal shock risk.

Failure Modes and Visual Symptoms on the Bench

Capacitors fail in distinct ways depending on their internal chemistry and the stress applied. Recognizing these visual and electrical symptoms speeds up troubleshooting immensely.

Aluminum Electrolytic: Venting and Drying Out

The Mechanism: Electrolytics contain a liquid or gel electrolyte. Over time, or when subjected to excessive ripple current, the electrolyte heats up and vaporizes, generating internal hydrogen gas. Alternatively, reverse polarity causes rapid electrochemical gas generation.

Visual Symptoms: The top of the can features a cross-scored vent. When internal pressure exceeds the threshold, the vent pops open. Look for a bulging dome, a cracked vent cross, or a crusty brown/black residue leaking from the bottom rubber seal onto the PCB. Electrically, the capacitance drops drastically, and ESR spikes into the multi-ohm range.

Multilayer Ceramic (MLCC): Flex Cracking

The Mechanism: MLCCs are essentially brittle blocks of sintered ceramic. If the PCB bends—either during manufacturing depanelization, connector insertion, or mechanical shock—the board flexure transfers tensile stress to the capacitor terminals. This causes a micro-crack to propagate diagonally from the terminal into the ceramic body, shorting internal layers together.

Visual Symptoms: Often invisible to the naked eye. Under a microscope, you may see a hairline fracture near the solder fillet. Electrically, it presents as a dead short or a highly leaky resistance across the power rail. If a power rail is shorted and you cannot find the culprit, use a thermal camera or apply localized freezing spray; the shorted MLCC will often be the hottest (or coldest) component.

Tantalum: Thermal Runaway and Fire

The Mechanism: Manganese dioxide (MnO2) tantalum capacitors are highly sensitive to reverse voltage and fast voltage surges (high dV/dt). A surge current can create a localized hot spot in the dielectric. Because the MnO2 cathode is a semiconductor, its resistance drops as it heats up, drawing more current, creating more heat, and triggering a thermal runaway loop.

Visual Symptoms: The component will be physically scorched, cracked, or entirely blown apart. In severe cases, tantalum capacitors will literally catch fire and emit a bright spark and white smoke. If you see a charred spot on a board near a power entry point, check for a failed tantalum bulk cap.

For deeper technical specifications on dielectric behaviors and application guidelines, refer to the All About Circuits capacitor textbook chapter and the Vishay MLCC technical guide. Always verify component ratings against the manufacturer's official datasheet before finalizing a PCB layout or executing a board-level repair.