When a beginner at the workbench asks, "capacitor does what?", the shortest answer is this: a capacitor stores electrical energy in an electrostatic field, opposes sudden changes in voltage, and blocks steady DC while passing AC. Think of it as a fast-acting, microscopic water tower for your circuit—it absorbs sudden pressure spikes (voltage surges) and releases stored charge when the supply dips.

In direct current (DC) circuits, a capacitor charges to the source voltage and then stops conducting, acting as an open circuit. In alternating current (AC) circuits, its impedance drops as frequency rises, making it an essential tool for filtering, coupling, and timing. But treating all capacitors as identical black boxes is a fast track to melted components and noisy audio. The dielectric material inside the component dictates its real-world behavior, temperature stability, and failure modes.

The Core Physics: Impedance and the Frequency Domain

To understand what a capacitor does in a practical circuit, you have to look at capacitive reactance ($X_C$), measured in ohms. The formula is:

$X_C = \frac{1}{2 \pi f C}$

Where f is frequency in Hertz, and C is capacitance in Farads.

Let us run a concrete numeric example. Imagine you are decoupling the VCC pin of an ESP32-WROOM-32 module using a standard 100nF (0.1µF) multilayer ceramic capacitor (MLCC).

  • At DC (0 Hz): The impedance is theoretically infinite. It blocks the 3.3V DC rail from shorting to ground.
  • At 1 kHz (audio range): The impedance is roughly 1,591 ohms. It barely interacts with low-frequency signals.
  • At 2.4 GHz (WiFi transmission): The impedance drops to a fraction of an ohm. It acts as a near-perfect short to ground for high-frequency RF noise, keeping it from radiating out of your PCB traces.

Dielectric Breakdown: Type Comparison and Selection

Not all capacitors are built the same. The dielectric—the insulating material between the conductive plates—determines the part's tolerance, temperature coefficient (tempco), and ideal use case. Below is a data-dense comparison of the most common types you will encounter in modern electronics.

Table 1: Capacitor Dielectric Types and Selection Criteria
Dielectric / Type Construction Tolerance Tempco / Stability Typical Application
C0G / NP0 (Ceramic Class I) Paraelectric ceramic ±0.5pF or 0.3% 0 ±30 ppm/°C (Ultra-stable) RF matching, precision timing, high-Q filters, audio signal path.
X7R (Ceramic Class II) Ferroelectric ceramic ±10% to 20% ±15% over -55 to 125°C General decoupling, bypass, I2C pull-up filtering, SMPS output.
Y5V (Ceramic Class II) Ferroelectric ceramic -82% to +22% +22% to -82% over -30 to 85°C Legacy consumer electronics. Avoid in new 2026 designs.
Aluminum Electrolytic Etched foil / liquid or solid electrolyte -10% to +30% High variance; degrades with heat Bulk power supply filtering, SMPS input caps, motor start/run.
Tantalum (MnO2/Polymer) Sintered tantalum powder ±10% to 20% Moderate stability Space-constrained bulk decoupling, medical/aerospace (polymer).
Polyester (Mylar/Film) Metallized plastic film ±5% to 10% Moderate; self-healing properties Audio crossovers, high-voltage snubbers, AC line filtering (X/Y safety caps).

For a deeper look at manufacturer specifications and derating curves, the Kemet Technical Guides and Cornell Dubilier Application Guides are indispensable bench references.

Decoding Physical Markings and Polarity Traps

Reading capacitor markings is a rite of passage. While large electrolytics print their values directly on the sleeve, ceramic and film capacitors rely on cryptic codes. Here is how to decode them without guessing.

The 3-Digit Ceramic Code

Most through-hole and large SMD ceramics use a three-digit EIA code. The first two digits are the significant figures, and the third digit is the multiplier (number of zeros), expressed in picofarads (pF).

  • 104: 10 × 104 pF = 100,000 pF = 100 nF = 0.1 µF.
  • 473: 47 × 103 pF = 47,000 pF = 47 nF.
  • 221: 22 × 101 pF = 220 pF.

You will often see a letter suffix indicating tolerance: J = ±5%, K = ±10%, M = ±20%.

The Polarity Trap: Electrolytic vs. Tantalum

Mixing up polarity markings is one of the most common ways hobbyists destroy components. The stripe on the casing means opposite things depending on the chemistry:

⚠ SAFETY WARNING: Tantalum Polarity
On an Aluminum Electrolytic capacitor, the printed stripe with minus signs indicates the CATHODE (Negative) lead.
On a Tantalum capacitor, the printed band indicates the ANODE (Positive) lead. Reversing a tantalum capacitor will cause it to short circuit, overheat, and potentially catch fire or explode. Always verify the datasheet before applying power.

Safe Substitution Rules When the Exact Part is Missing

You are debugging a board at 11 PM, and a 10µF 16V 0805 MLCC just cracked off the pads. You only have 25V or 50V parts in your bin. Can you substitute it? Yes, but you must follow three strict rules of substitution.

Rule 1: Voltage Ratings Can Go Up (With a Catch)

You can always replace a 16V rated capacitor with a 25V or 50V rated part of the same capacitance. However, you must account for DC Bias Derating. Class II ceramics (X5R, X7R) lose significant capacitance when a DC voltage is applied. A 10µF 0805 X5R capacitor rated for 10V might only provide 2µF of actual capacitance when 10V is applied across it. If your circuit relies on that full 10µF to stabilize a buck converter, substituting a smaller package or lower voltage rating will cause output ripple to spike. When in doubt, step up to a 1206 package or a higher voltage rating to mitigate DC bias loss.

Rule 2: Never Substitute Y5V for X7R or C0G

If a schematic calls for an X7R, do not use a Y5V, even if the nominal capacitance matches. Y5V dielectrics can lose over 80% of their capacitance at room temperature simply by applying a fraction of their rated voltage, and they drift wildly with temperature. In 2026, Y5V is largely considered obsolete for precision or power work; stick to X7R for general use and C0G for signal paths.

Rule 3: Mind the Microphonics in Audio and Timing

Class II ceramics (X7R/X5R) are piezoelectric. They physically vibrate when AC voltage is applied, and conversely, they generate voltage when subjected to mechanical vibration (microphonics). Never substitute an X7R for a C0G or Film capacitor in an audio signal path, a high-gain op-amp feedback loop, or a precision 555 timer astable circuit. The mechanical ringing will inject audible noise or timing jitter into your system.

Bench Failure Modes and Visual Symptoms

Capacitors fail more often than resistors or ICs because they rely on chemical electrolytes or ultra-thin dielectric layers that degrade under thermal and electrical stress. Here is how to diagnose them on the bench.

Aluminum Electrolytic: The ESR Spike and Bulging

Visual Symptom: The cross-vent on the top of the can is bulging upward, or brown, crusty electrolyte is leaking from the bottom rubber bung.

Electrical Symptom: The capacitance might still read correctly on a standard multimeter, but the Equivalent Series Resistance (ESR) has skyrocketed. A healthy 1000µF switching power supply cap should have an ESR under 0.1Ω. If your ESR meter reads >1.0Ω, the liquid electrolyte has dried out due to heat exposure. The capacitor is effectively dead and will cause severe power supply ripple.

MLCC (Ceramic): The Silent Flex Crack

Visual Symptom: Often invisible to the naked eye. Under a microscope, you may see a hairline fracture near the solder fillet, usually at a 45-degree angle.

Electrical Symptom: Dead short across the power rail, or an intermittent open circuit. MLCCs are brittle. If a PCB is subjected to mechanical bending (like being screwed into a tight chassis or dropped), the board flexes and cracks the ceramic. This is why large MLCCs (>10µF) are often placed away from board edges and mounting holes.

Tantalum: Thermal Runaway

Visual Symptom: Scorch marks on the PCB, a cracked or melted epoxy case, and the distinct smell of burning plastic.

Electrical Symptom: A hard dead short. Tantalum capacitors fail short-circuit. If the power supply can deliver high current, the part will enter thermal runaway and ignite. This is why modern designs heavily favor Polymer Tantalum or high-capacity MLCCs; polymer tantalums do not suffer from the same catastrophic oxygen-release fire hazards as traditional MnO2 tantalums.

💡 Bench Tip: When troubleshooting a dead board, do not just check for shorts with a multimeter in continuity mode. A shorted MLCC might read 2 ohms, which some cheap meters will not beep for. Use a bench power supply with current limiting set to 500mA, inject 1V into the suspected rail, and use thermal camera or a drop of isopropyl alcohol to find the component that instantly vaporizes the liquid.

Understanding what a capacitor does goes far beyond memorizing the formula for capacitive reactance. By respecting the physical limitations of the dielectric, decoding the markings correctly, and recognizing how components age on the bench, you transition from simply swapping parts to engineering reliable, noise-free circuits. For further reading on practical component selection, the SparkFun Capacitor Tutorial offers excellent visual aids for identifying SMD and through-hole variants.