The Core Job: What a Capacitor Actually Does

A capacitor stores electrical energy in an electric field between two conductive plates separated by an insulator (dielectric), releasing it to smooth voltage, filter signals, or provide burst current. In DC circuits, it acts as a local energy reservoir; in AC circuits, its impedance drops as frequency rises, allowing it to pass high-frequency signals while blocking DC.

Think of a capacitor like a pressurized water accumulator in a plumbing system. If the main pump (your power supply) stutters, the accumulator pushes water into the pipes to maintain pressure until the pump recovers. In electrical terms, this is governed by the equation: I = C × (dV/dt).

Bench Example: Sizing a Bulk Reservoir
Imagine an ESP32 drawing 1A during a WiFi transmission burst, and your voltage regulator has a 10ms response lag. To prevent the 5V rail from dropping below 4.5V (a 0.5V allowable drop, or dV), you need:
C = (I × dt) / dV
C = (1A × 0.01s) / 0.5V = 0.02 Farads, or 20,000µF.
This is why we use smaller local decoupling capacitors (like 100nF) right at the ESP32 VCC pin to handle the high-frequency microsecond spikes, leaving the bulk 20,000µF job to large electrolytics at the power entry.

Dielectric Showdown: Which Type for Which Job

The dielectric material inside the capacitor dictates its behavior, physical size, and failure modes. Selecting the wrong dielectric is the most common cause of unstable power rails and noisy audio. For deeper physics on dielectric absorption and equivalent series resistance (ESR), refer to the All About Circuits capacitor guide.

Passive Capacitor Dielectric Comparison Matrix
Type Construction / Dielectric Tolerance Tempco / Stability Typical Use Case
MLCC (C0G/NP0) Ceramic (Class 1) ±5% ±30ppm/°C (Ultra-stable) RF filters, oscillator timing, precision analog
MLCC (X7R/X5R) Ceramic (Class 2) ±10% to ±20% ±15% over temp range Digital decoupling, general bypass, non-critical filtering
Aluminum Electrolytic Etched foil / liquid electrolyte -20% / +80% High drift, dries out over time Bulk power smoothing, low-frequency audio coupling
Tantalum (MnO2) Porous tantalum / manganese dioxide ±10% / ±20% Moderate stability, low temp drift Space-constrained bulk decoupling, medical/aerospace
Metallized Film (PP/PET) Plastic film / vacuum deposited metal ±1% to ±5% Extremely stable, self-healing Audio crossovers, AC line snubbers, motor run caps

Decoding the Shell: How to Read Capacitor Markings

Capacitor markings are notoriously inconsistent across form factors. Here is how to read the three most common physical packages you will encounter on the bench.

1. Ceramic MLCC (The 3-Digit Code)

Small radial and surface-mount ceramics use a 3-digit EIA code measured in picofarads (pF). The first two digits are the significant figures; the third is the multiplier (number of zeros).

  • 104 = 10 × 10^4 pF = 100,000 pF = 100nF (or 0.1µF). This is the universal decoupling value.
  • 105 = 10 × 10^5 pF = 1,000,000 pF = 1µF.
  • 221 = 22 × 10^1 pF = 220pF.

A trailing letter indicates tolerance: J = ±5%, K = ±10%, M = ±20%.

2. Aluminum Electrolytic (Printed Bands)

Through-hole electrolytics print the value directly (e.g., 470µF 25V). The critical marking is the negative stripe, usually grey or black with minus signs (-). The shorter lead from the factory is also the negative cathode. Reversing this will cause the part to vent violently.

3. Metallized Film (The EIA Voltage Code)

Film capacitors (like the classic WIMA red boxes or yellow axial types) often use a letter-number prefix for voltage rating before the capacitance code.

  • 1H = 50V DC
  • 2A = 100V DC
  • 2E = 250V DC
  • 2G = 400V DC

Example: A cap marked 2A104J is a 100V, 100nF, ±5% film capacitor.

When Things Go Wrong: Failure Modes and Visual Symptoms

Capacitors fail in specific, predictable ways based on their chemistry. Recognizing these visual symptoms saves hours of troubleshooting with a multimeter.

Safety Warning: Failed electrolytic and tantalum capacitors can retain a lethal charge or vent caustic, flammable electrolyte. Always discharge large capacitors with a high-wattage bleeder resistor (e.g., 1kΩ 5W) before handling, and wear safety glasses when inspecting bulging cans.
Capacitor Failure Modes and Visual Diagnostics
Component Type Primary Failure Mode Visual / Olfactory Symptoms Root Cause
Aluminum Electrolytic Electrolyte boil / Venting Domed aluminum top, split K-vent, brown crusty residue on the PCB, bulging heat-shrink sleeve. Reverse polarity, excessive ripple current, or operating near/above max temperature rating (drying out).
MLCC (Ceramic) Flex cracking / Short circuit No external signs, or a microscopic hairline crack near the termination edge. Board draws dead-short current. Mechanical PCB flex (board bending during connector insertion or enclosure mounting). Fails as a dead short.
Tantalum Thermal runaway / Fire Charred, blackened epoxy body, melted PCB pad, distinct acrid burning plastic smell. Overvoltage spike, reverse polarity, or excessive surge current without adequate series resistance.
Metallized Film Corona discharge / Open circuit Swollen plastic casing, internal buzzing sound (in AC apps), capacitance drops to zero. High voltage ionization degrading the film, or extreme overvoltage clearing the metallization.

The Substitution Matrix: Swapping Parts Safely

When your exact BOM part is out of stock at DigiKey or Mouser, you must substitute safely. Follow these hard rules to avoid blowing up your prototype.

Rule 1: Voltage Can Go Up, Never Down

You can always replace a 16V capacitor with a 25V or 50V part. The physical footprint might be larger, but the dielectric will handle the stress. Never substitute a 10V part for a 16V requirement; the margin for error is zero, especially on unregulated DC buses.

Rule 2: Beware the MLCC DC Bias Trap

Class 2 ceramics (X5R, X7R) suffer from severe DC bias derating. A 10µF 0805 X5R capacitor rated for 10V might only provide 2µF of actual capacitance when 10V is applied across it. If you are substituting an MLCC for a bulk filtering job, check the manufacturer's DC bias curve. If the curve shows a 60% drop at your operating voltage, you must step up to a 1206 package or double the nominal capacitance.

Rule 3: ESR Matters in Switching Regulators

According to Texas Instruments application notes on regulator stability, substituting a standard aluminum electrolytic with a low-ESR ceramic or polymer cap in an older buck converter design can cause control loop oscillation. Conversely, using a high-ESR standard electrolytic in a modern high-frequency regulator will cause massive output voltage ripple and overheating. Match the ESR profile, not just the microfarad value.

Rule 4: The Tantalum 50% Derating Law

Manganese dioxide tantalum capacitors are notorious for failing short when hit by power-on surge currents. The industry standard (detailed in Cornell Dubilier and KEMET application guides) is to derate tantalum voltage by 50%. If your rail is 12V, you must use a 25V or 35V tantalum. If you cannot meet this derating, switch to a polymer aluminum or MLCC.

Decision Path: Pick Your Exact Part

Stop guessing. Use this decision tree to terminate your selection process with a concrete, orderable part number for your next build.

  • Scenario A: Decoupling a 3.3V microcontroller (ESP32/STM32) VCC pin.
    • Requirement: High frequency response, small footprint, low cost.
    • Pick: 100nF (0.1µF) 0805 X7R MLCC, 16V.
    • Concrete Part: Samsung CL21B104KBFNNNE or KEMET C0805C104K5RACTU.
  • Scenario B: Smoothing the output of a 12V, 2A buck converter.
    • Requirement: High capacitance, low ESR to handle 500kHz+ switching ripple, moderate temp.
    • Pick: 470µF 25V Low-ESR Aluminum Electrolytic, 105°C rated.
    • Concrete Part: Panasonic EEUFM1E471 (FM series is the bench standard for low ESR).
  • Scenario C: Timing network for a 555 oscillator or RF filter.
    • Requirement: Zero capacitance shift over temperature, tight tolerance.
    • Pick: 1nF to 10nF C0G/NP0 Ceramic, 50V.
    • Concrete Part: KEMET C315C102J1G5TA (Never use X7R here; the piezoelectric effect and tempco will drift your frequency).
  • Scenario D: Audio signal coupling (blocking DC between preamp stages).
    • Requirement: No microphonic effect, low dielectric absorption, non-polar.
    • Pick: 1µF to 4.7µF Metallized Polyester (Mylar) or Polypropylene Film, 50V.
    • Concrete Part: WIMA MKS2C041001I00KSSD (Avoid ceramics in audio signal paths to prevent microphonic ringing).
  • Scenario E: Space-constrained 5V rail backup on a dense PCB.
    • Requirement: High volumetric efficiency, stable, but requires strict voltage derating.
    • Pick: 47µF 10V Polymer Tantalum (not MnO2).
    • Concrete Part: KEMET T520D476M010ATE045 (Polymer chemistry eliminates the thermal runaway fire risk of standard MnO2 tantalums while keeping the tiny D-case footprint).