A capacitor works by accumulating opposite electrical charges on two conductive plates separated by an insulating dielectric, creating an electric field that stores energy. When voltage is applied, electrons crowd onto one plate while being repelled from the other, establishing a potential difference. The dielectric material resists the flow of direct current but polarizes at the molecular level, allowing the component to store charge and release it when the circuit demands it.

If you are trying to figure out how does capacitor work in a practical sense, think of it as a fast-acting local energy reservoir. It smooths out voltage ripples, blocks DC while passing AC signals, and tunes resonant frequencies. But picking the wrong dielectric or misreading a marking can lead to catastrophic failure. This guide cuts through the theory and gives you the exact frameworks to identify, test, and select the right capacitor for your bench or jobsite.

The Core Physics: Energy Storage and Dielectric Polarization

At the bench level, a capacitor's behavior is governed by its physical geometry and the dielectric material between its plates. The capacitance ($C$) in Farads is determined by the plate area ($A$), the distance between the plates ($d$), and the permittivity ($\varepsilon$) of the dielectric:

$C = \frac{\varepsilon \cdot A}{d}$

This is why multilayer ceramic capacitors (MLCCs) can achieve high capacitance in tiny packages: they stack hundreds of microscopic layers (increasing $A$) separated by nanometers of ceramic (decreasing $d$).

The energy ($E$) stored in the electric field is calculated as:

$E = \frac{1}{2} C V^2$

Bench Example: A standard 100µF aluminum electrolytic capacitor charged to 12V stores $0.5 \times 0.0001 \times 144 = 7.2$ millijoules of energy. While this seems small, if that capacitor is shorted through a low-resistance path (like a dropped screwdriver), it discharges in microseconds, generating a massive current spike capable of vaporizing thin traces or causing a loud, startling pop.

Decoding the Markings: What the Numbers on Your Capacitor Mean

Capacitor markings are notoriously inconsistent across chemistries. Misreading a code by a single order of magnitude is a classic breadboard mistake. Here is how to read the physical part.

Ceramic Capacitors (The 3-Digit Code)

Through-hole and small SMD ceramics use a three-digit picofarad (pF) multiplier system, similar to resistor color codes.

  • First two digits: Significant figures.
  • Third digit: Multiplier (number of zeros to add).
  • Example: A cap marked 104 means $10 \times 10^4$ pF = 100,000 pF = 100 nF = 0.1 µF.
  • Example: A cap marked 222 means $22 \times 10^2$ pF = 2,200 pF = 2.2 nF.

Film and Ceramic Letter Codes (Tolerance and Voltage)

You will often see a letter trailing the numbers (e.g., 104K or 2A104J). This indicates tolerance.

  • J = ±5%
  • K = ±10%
  • M = ±20%
  • Z = +80% / -20% (Common on older electrolytics)

On film capacitors, a prefix like 2A indicates the voltage rating. '2A' stands for 100V DC, while '2E' stands for 250V DC, based on the EIA voltage code chart.

Aluminum Electrolytic

These are large enough to print directly. You will see the capacitance (e.g., 470µF), the maximum DC working voltage (e.g., 25V), and a temperature rating (usually 85°C or 105°C). Crucially, they feature a prominent stripe indicating the negative terminal. The casing is connected to the negative lead.

Capacitor Types Compared: Construction, Tolerance, and Tempco

Not all capacitors are created equal. The dielectric material dictates the component's temperature coefficient (tempco), equivalent series resistance (ESR), and DC bias characteristics. Below is the definitive comparison for selecting the right chemistry.

Capacitor Dielectric Comparison Matrix
Type / Dielectric Construction Typical Tolerance Tempco / Stability Best Use Case
MLCC (C0G / NP0) Multilayer Ceramic ±1% to ±5% Ultra-stable (±30 ppm/°C). No DC bias drop. RF circuits, active filters, precision timing, resonant tanks.
MLCC (X7R / X5R) Multilayer Ceramic ±10% to ±20% Moderate (±15% over temp). Loses up to 50% capacitance at rated DC bias. General decoupling, bypass, bulk ceramic filtering.
Aluminum Electrolytic Foil + Liquid Electrolyte -20% to +50% Poor. Dries out over time. High ESR. Bulk power supply smoothing, low-frequency audio coupling.
Tantalum (MnO2) Sintered Tantalum Powder ±10% to ±20% Stable over temp. Very low ESR. Fails short catastrophically. Space-constrained low-profile DC filtering (if voltage derated 50%).
Film (Polypropylene) Metallized Plastic Film ±1% to ±5% Excellent. Self-healing properties. High-voltage AC, motor run caps, high-end audio crossovers, snubbers.

For a deeper dive into how dielectric absorption and DC bias affect MLCCs, refer to TDK Electronics' capacitor technical guides, which detail the severe capacitance derating curves for X7R parts under high DC voltage.

Failure Modes: Visual Symptoms and Bench Diagnostics

Capacitors rarely fail without leaving evidence. Knowing the visual and electrical symptoms of a failing part will save you hours of oscilloscope debugging.

Aluminum Electrolytic: The Dried-Out Bulge

  • Visual Symptom: The top vent dome is bulging upward, or the rubber bottom seal is pushed out. You may see brown, crusty electrolyte residue on the PCB or smell a faint, sweet 'fishy' odor.
  • Electrical Symptom: Massive spike in Equivalent Series Resistance (ESR). A 1000µF cap might still read 900µF on a standard multimeter, but its ESR has jumped from 0.05Ω to 5Ω, rendering it useless for high-frequency filtering.
  • Fix: Replace with a low-ESR, 105°C rated part (e.g., Panasonic FR or Rubycon ZL series). Never use a standard 85°C general-purpose cap in a switching power supply.

MLCC (Ceramic): The Invisible Flex Crack

  • Visual Symptom: Often none to the naked eye. Under a microscope, you may see a hairline crack near the terminal ends, usually caused by PCB bending (flex cracking) during assembly or connector insertion.
  • Electrical Symptom: Intermittent shorts or a dead short to ground that disappears when the board is flexed in the opposite direction.
  • Fix: Remove the cracked MLCC. For future revisions, route board stiffeners or use 'soft-termination' MLCCs (like KEMET's X series) in high-stress zones.

Tantalum: Thermal Runaway

Warning: Standard MnO2 tantalum capacitors fail as a dead short and can ignite if subjected to reverse voltage, excessive ripple current, or voltage spikes exceeding their rating. Always derate tantalum voltage by at least 50% (e.g., use a 16V rated part on a 5V rail). For modern designs, substitute with Polymer Tantalum (e.g., KEMET KO-CAP), which fails open and does not ignite.

The Decision Path: Picking the Right Part and Substituting Safely

When designing a circuit or repairing a board, use this decision tree to lock in the exact component you need. Do not default to 'whatever is in the bin'.

Decision Tree: Which Type for Which Job?

If your application requires... Then select this chemistry... Concrete Default Pick (Part Number)
High-frequency IC decoupling / bypass (10kHz - 100MHz) MLCC (X7R or X5R) Murata GRM21BR71H104KA88 (0.1µF, 50V, 0805, X7R)
Precision analog filters, RF tuning, or audio signal path MLCC (C0G / NP0) or Polystyrene Film KEMET C0805C103J5GACTU (0.01µF, 50V, 0805, C0G)
Bulk DC power supply smoothing (Post-rectifier) Aluminum Electrolytic (Low ESR, 105°C) Panasonic EEU-FR1V102 (1000µF, 35V, FR Series)
High-voltage AC motor run or snubber networks Metallized Polypropylene Film Cornell Dubilier 940C series (Axial, high dV/dt rating)
Space-constrained, low-profile DC rail filtering Polymer Tantalum or Polymer Aluminum KEMET T520 series (KO-CAP, low ESR, safe failure mode)

How to Substitute Safely When the Exact Part is Missing

If you are repairing a board and do not have the exact BOM part, follow these strict substitution rules. Violating these will alter circuit behavior or cause immediate failure.

  1. Voltage Rating: Must be equal to or greater than the original. Putting a 16V cap on a 24V rail will result in dielectric breakdown and a short circuit. (Exception: Never put a higher voltage electrolytic in a very low-voltage circuit if it's physically massive, as its leakage current specs might be inappropriate, but electrically it will survive).
  2. Capacitance Value: For power filtering and decoupling, you can safely go higher (e.g., subbing a 22µF for a 10µF). For timing circuits (555 timers), active filters, or resonant LC tanks, the value must be exact, or your frequencies will shift.
  3. ESR (Equivalent Series Resistance): The substitute must have an ESR equal to or lower than the original. Substituting a high-ESR general-purpose cap for a low-ESR switching supply cap will cause the substitute to overheat and vent.
  4. Temperature Rating: Always substitute 105°C for 85°C if available. Never downgrade the temp rating.
  5. Dielectric Class (The Hidden Trap): Never substitute an X7R ceramic for a C0G/NP0 ceramic in a timing or filter circuit. X7R capacitance drops significantly as DC voltage increases (DC bias effect) and shifts with temperature. A 10nF X7R might act like a 4nF cap under bias, completely destroying your filter's cutoff frequency. For signal paths, film capacitors or C0G ceramics are mandatory.

By understanding the physical mechanics of how a capacitor works and respecting the strict limitations of its dielectric material, you eliminate the guesswork from your bench. Stick to the decision tree, verify your ESR on older boards, and always respect the voltage and temperature derating curves in the datasheet.