A capacitor is a passive electronic component that stores electrical energy in an electric field, acting essentially as a temporary, rapid-discharge battery. It consists of two conductive plates separated by an insulating material called a dielectric. When voltage is applied, opposite charges accumulate on the plates, creating an electric field. The energy stored is calculated by the formula E = ½CV². For a concrete bench example: a standard 1,000µF aluminum electrolytic capacitor charged to 16V holds exactly 0.128 Joules of energy. While that sounds small, dumped into a low-resistance short circuit in a fraction of a millisecond, it generates enough instantaneous current to vaporize thin wire and destroy silicon.
Understanding what a capacitor does in a circuit requires moving beyond the basic definition and looking at how different dielectric materials dictate real-world behavior, how to read the cryptic markings on tiny components, and how to identify when a part has catastrophically failed.
Which Capacitor Type for Which Job?
Not all capacitors are created equal. The dielectric material determines the component's stability, equivalent series resistance (ESR), temperature coefficient, and physical size. Choosing the wrong type is the most common reason hobbyist power supplies oscillate or audio circuits introduce noise.
| Type | Dielectric / Construction | Typical Tolerance | Tempco / Stability | Best Application |
|---|---|---|---|---|
| MLCC (Ceramic) | Multi-layer ceramic (X7R, C0G/NP0) | ±10% to ±20% | X7R: Moderate drift; C0G: Near zero | High-frequency decoupling, bypass, RF circuits |
| Aluminum Electrolytic | Aluminum foil with liquid/solid electrolyte | ±20% (standard) | Poor (highly temp-dependent, dries out over years) | Bulk energy storage, low-frequency filtering, power supply smoothing |
| Tantalum | Tantalum metal anode, manganese dioxide cathode | ±10% to ±20% | Good stability, low profile | Space-constrained bulk decoupling, medical/military (where cost allows) |
| Film (Polypropylene) | Metallized plastic film, self-healing | ±1% to ±5% | Excellent (very linear, low dielectric absorption) | Audio signal paths, AC snubbers, motor run capacitors, high-voltage |
Decoding Physical Markings and Codes
Reading capacitor markings depends entirely on the physical form factor. Through-hole and large SMD parts have room for explicit text, while small surface-mount and ceramic disc parts rely on shorthand codes.
The 3-Digit Ceramic Code
Small ceramic capacitors (both through-hole discs and SMDs) use a three-digit EIA code measured in picofarads (pF). The first two digits are the significant figures, and the third digit is the multiplier (number of zeros).
- 104 = 10 followed by 4 zeros = 100,000 pF = 100 nF = 0.1 µF (The most common bypass capacitor in electronics).
- 223 = 22 followed by 3 zeros = 22,000 pF = 22 nF.
- 471 = 47 followed by 1 zero = 470 pF.
Tolerance and Voltage Letters
After the numeric code, you will often see a letter indicating tolerance, and sometimes a second letter or number for voltage.
- J = ±5%
- K = ±10%
- M = ±20%
- Z = +80% / -20% (Common on older electrolytics used only for bulk filtering where exact value doesn't matter).
The Polarity Stripe Warning
This is a critical bench distinction that causes fires. On an aluminum electrolytic capacitor, the painted stripe with minus signs indicates the negative (cathode) lead. On a tantalum capacitor, the painted stripe indicates the positive (anode) lead. Reversing a tantalum capacitor will cause it to violently short and ignite.
Safe Substitution Rules for the Workbench
When your exact BOM part is out of stock, you can substitute capacitors safely if you follow strict electrical hierarchies. For a deeper look at component swapping, the SparkFun Capacitor Tutorial offers excellent baseline guidelines, but here are the hard rules for the bench:
- Voltage Rating: The substitute's voltage rating must be equal to or greater than the original. Never substitute a 16V cap for a 25V requirement. For electrolytics in power supplies, maintain at least 20% voltage headroom above the maximum expected rail voltage to account for ripple spikes.
- Capacitance Value:
- For bypass/decoupling: You can generally substitute a higher value. Swapping a 0.1µF for a 1µF MLCC on a microcontroller VCC pin is usually safe and often improves low-frequency noise rejection.
- For timing and filters: The value must be exact. A 555 timer astable circuit or an active RC low-pass filter relies on precise RC time constants. Use a 1% or 5% tolerance part; a 20% part will shift your cutoff frequency or blink rate out of spec.
- ESR (Equivalent Series Resistance): Do not swap a standard aluminum electrolytic for a 'low-ESR' type in the feedback compensation loop of a switching regulator without recalculating the phase margin. The control loop was tuned for the specific ESR zero of the original part; changing it can cause the power supply to oscillate.
Identifying Visual Failure Modes
Capacitors fail in distinct, visually identifiable ways depending on their chemistry. Recognizing these symptoms is the first step in PCB troubleshooting.
Aluminum Electrolytic: The Domed Top
Visual Symptom: The top of the cylindrical can bulges outward, or the rubber vent plug at the bottom is pushed out. You may see brown, crusty electrolyte residue on the PCB or the capacitor sleeve.
Cause: Overvoltage, excessive ripple current, or ambient heat causes the internal electrolyte to boil and generate gas. The scored cross on top is designed to rupture safely, but it indicates the internal chemistry is destroyed and ESR has skyrocketed.
MLCC (Ceramic): Flexure Cracking
Visual Symptom: Often invisible to the naked eye. Under magnification, you may see a hairline crack near the solder pad. Electrically, it presents as a dead short across the power rail.
Cause: Mechanical board flexure. MLCCs are brittle. If a PCB is bent during assembly, or if the board is subjected to vibration, the ceramic fractures. This is why critical power rails often use smaller physical MLCC sizes (like 0402 or 0603) rather than massive 1206 parts, as smaller parts are less susceptible to mechanical leverage.
Tantalum: Thermal Runaway
Visual Symptom: A blackened, scorched, or entirely missing component. The PCB pad may be burned.
Cause: Reverse polarity, voltage spikes, or excessive ripple current. Tantalum capacitors fail as a dead short, which draws massive current, heating the manganese dioxide cathode until it releases oxygen, literally feeding a fire. Always use tantalums with a 50% voltage derating (e.g., use a 10V rated part on a 5V rail).
Frequently Asked Questions
What a capacitor does in an AC vs DC circuit?
In a DC circuit, a capacitor acts as a temporary storage vessel; it charges up to the source voltage and then blocks any further steady DC current flow. In an AC circuit, the constantly reversing voltage causes the capacitor to continuously charge and discharge, effectively allowing alternating current to 'pass' through it. The opposition to this AC flow is called capacitive reactance (Xc = 1 / 2πfC), meaning a capacitor passes high-frequency AC signals easily while blocking low-frequency signals and DC.
What a capacitor's ESR means for power supplies?
Equivalent Series Resistance (ESR) is the internal, parasitic resistance of the capacitor's leads, plates, and electrolyte, modeled as a tiny resistor in series with an ideal capacitor. In power supplies, ESR is critical because it dictates how much heat the capacitor generates when filtering high-frequency ripple current (Heat = I² × ESR). A high-ESR capacitor in a switching power supply will overheat and fail prematurely, which is why 'low-ESR' polymer or specialized electrolytic lines are required for modern CPU VRMs.
What a capacitor's voltage rating actually implies?
The voltage rating (WVDC - Working Volts DC) is the maximum continuous DC voltage the dielectric can withstand without breaking down and arcing internally. However, it does not mean the capacitor performs optimally at that voltage. As noted in the DC bias trap, ceramic capacitors lose massive amounts of capacitance as they approach their rated voltage. Furthermore, for AC applications, the peak-to-peak voltage of the AC waveform must be factored in, as a 120V RMS AC line actually peaks at roughly 170V, requiring a capacitor rated for at least 250V AC (specifically X/Y safety rated for mains).
What a capacitor looks like on a schematic symbol?
The standard schematic symbol for a non-polarized capacitor is two parallel lines of equal length, representing the plates, separated by a gap. A polarized capacitor (like aluminum electrolytic) adds a plus sign (+) next to one plate, or curves one of the lines to indicate the negative outer foil. Variable capacitors (like those in old radio tuners) feature an arrow striking diagonally across the parallel lines.






