There is no single universal answer to "what size capacitor do I need" because capacitance is dictated entirely by the circuit's function. A decoupling capacitor on an ESP32 VCC pin requires 100nF, a bulk power supply filter needs 4700µF, and an AC motor run circuit demands 35µF at 370VAC. Sizing a capacitor is a three-step process: calculate the required capacitance for the electrical function, select the correct dielectric chemistry for the environment, and apply voltage and temperature derating.
If you are staring at a schematic or a bare PCB pad and need to know what to solder down, start with the application reference below.
Application Sizing and Specification Reference
The following table maps common circuit functions to their standard capacitor sizes, voltage ratings, and critical secondary parameters like Equivalent Series Resistance (ESR). Use this as your baseline when sourcing parts.
| Circuit Function | Typical Capacitance | Voltage Rating | Recommended Dielectric | Critical Parameter |
|---|---|---|---|---|
| MCU/IC Decoupling (e.g., ESP32, ATmega) | 100nF (0.1µF) | 2x VCC (e.g., 10V for 3.3V logic) | MLCC X7R or X5R | Low ESL, place <2mm from IC pin |
| Bulk Power Supply Filtering (Linear) | 1000µF - 4700µF | 1.5x to 2x Peak DC | Aluminum Electrolytic | High ripple current rating |
| Switching Regulator Output (Buck/Boost) | 22µF - 100µF | 2x Vout | MLCC X5R/X7R or Polymer | Ultra-low ESR required for stability |
| Audio AC Coupling (Line Level) | 1µF - 10µF | 16V - 25V | Film (WIMA) or Bipolar Electrolytic | Low dielectric absorption, low THD |
| 555 Timer / RC Oscillator Timing | 1nF - 10µF | 2x VCC | C0G/NP0 (Ceramic) or Film | Tight tolerance (±2% to ±5%), stable tempco |
| AC Motor Run (HVAC, Compressors) | 5µF - 80µF | 370VAC or 440VAC | Metallized Polypropylene Film | Must be AC-rated, non-polarized, self-healing |
Dielectric Selection Matrix: Which Chemistry for Which Job
Capacitance is only half the specification. The dielectric material inside the capacitor determines how it behaves under temperature changes, DC bias, and AC ripple. Choosing the wrong dielectric is a more common failure point than choosing the wrong capacitance value.
| Dielectric Type | Construction | Typical Tolerance | Temperature Coefficient (Tempco) | Best Application |
|---|---|---|---|---|
| C0G / NP0 (Class 1 Ceramic) | Multilayer Ceramic (MLCC) | ±1% to ±5% | ±30 ppm/°C (Virtually zero drift) | RF filters, precision timing, oscillators |
| X7R / X5R (Class 2 Ceramic) | Multilayer Ceramic (MLCC) | ±10% to ±20% | ±15% over temp range | General decoupling, bypass, bulk SMPS filtering |
| Aluminum Electrolytic | Etched foil with liquid/polymer electrolyte | ±20% | High drift, dries out over time | High-capacitance bulk storage, low-frequency filtering |
| Metallized Polypropylene (Film) | Wound plastic film with vapor-deposited metal | ±1% to ±5% | ±200 ppm/°C | High-voltage AC, motor run, audio crossovers, snubbers |
| Tantalum (MnO2 or Polymer) | Porous tantalum pellet with oxide dielectric | ±10% to ±20% | Moderate drift | Space-constrained low-voltage filtering (medical, aerospace) |
If you select a 10µF X5R 0805 MLCC for a 12V circuit, you will not get 10µF. Class 2 ceramics suffer from severe DC bias derating. At 12V, that physical 10µF part may only provide 2µF of effective capacitance. Always check the manufacturer's DC bias curve (from vendors like Murata or Kemet) and either select a higher voltage rating (e.g., 25V or 50V) or use a larger physical case size (1206 instead of 0805) to maintain your target capacitance.
Decoding Physical Markings and EIA Codes
Unlike resistors, small capacitors lack the physical real estate for color bands or printed text. Instead, they rely on standardized EIA (Electronic Industries Alliance) 3-digit codes and single-letter suffixes. Here is how to read the markings on the physical part.
The 3-Digit Capacitance Code
The first two digits are the significant figures, and the third digit is the multiplier (number of zeros). The base unit is always picofarads (pF).
- 104: 10 followed by 4 zeros = 100,000 pF = 100 nF = 0.1 µF (The most common decoupling cap in existence).
- 473: 47 followed by 3 zeros = 47,000 pF = 47 nF.
- 221: 22 followed by 1 zero = 220 pF.
- 100: 10 followed by 0 zeros = 10 pF (Note: the third digit is 0, meaning multiply by 1).
Tolerance and Voltage Letters
You will often see a letter trailing the 3-digit code, or a separate letter indicating voltage.
- Tolerance: J = ±5%, K = ±10%, M = ±20%, Z = +80%/-20% (common for electrolytics).
- Voltage Codes (EIA standard): 0J = 6.3V, 1A = 10V, 1C = 16V, 1E = 25V, 1H = 50V, 2A = 100V, 2E = 250V.
Example: A small SMD capacitor marked 106 1E is a 10µF (10,000,000 pF) capacitor rated for 25V.
Safe Substitution Rules When the Exact Part is Missing
When you are troubleshooting a board or building a prototype and your parts bin is missing the exact BOM specification, you can substitute components if you follow these strict electrical rules. For deeper theory on decoupling networks, refer to Texas Instruments' application notes on capacitor placement.
1. Voltage Ratings: Always Substitute UP
You can safely replace a 16V capacitor with a 25V or 50V capacitor of the same capacitance. The higher voltage rating simply means the dielectric is thicker or the physical casing is more robust. Never substitute down. Replacing a 25V cap with a 16V cap in a 24V circuit will result in catastrophic dielectric breakdown, venting, or explosion.
2. Capacitance Values: Context is Everything
- Power Supply Bulk Filtering: You can safely substitute a higher capacitance (e.g., using 4700µF instead of 2200µF). It will simply hold more charge and smooth ripple better. Do not go excessively high, or the inrush current at turn-on might trip your breaker or blow your rectifier diodes.
- Timing, Oscillators, and Filters: Never change the value. In an RC low-pass filter, the cutoff frequency is calculated as \( f_c = \frac{1}{2 \pi R C} \). Doubling the capacitance halves your cutoff frequency, potentially filtering out your actual signal. In a 555 timer, changing the cap changes the blink rate or PWM duty cycle.
- Decoupling: Substituting 220nF for 100nF is usually fine for low-frequency digital logic, but for high-speed RF or GHz-range microprocessors, larger capacitors have higher Equivalent Series Inductance (ESL) and will fail to suppress high-frequency noise.
3. Dielectric and Polarity Swaps
Visual Failure Modes and Diagnostics
Capacitors are the most common point of failure in aging electronics. According to Cornell Dubilier's electrolytic application guides, heat and ripple current slowly boil off the internal electrolyte, leading to predictable physical symptoms. Here is what to look for when diagnosing a board.
Aluminum Electrolytic Failures
- The "Dome Top": Electrolytic capacitors have a scored cross or 'K' on the top aluminum can. If internal pressure builds from overvoltage or heat, the top bulges upward. A flat top is good; a domed top means the cap is dead or dying.
- Brown Crust / Leaking: Look at the base of the capacitor where the leads exit the rubber bung. A crusty brown or black residue indicates leaked electrolyte. This fluid is mildly conductive and corrosive; it will eat through PCB copper traces if not cleaned with isopropyl alcohol.
- ESR Drift: Visually, the cap might look perfect, but internally the electrolyte has dried out. You must use an ESR meter to diagnose this. A healthy 1000µF cap should read under 0.1Ω; if it reads >1Ω, it must be replaced.
Multilayer Ceramic Capacitor (MLCC) Failures
- Flex Cracks: MLCCs are brittle. If a PCB flexes during depanelization, screw mounting, or physical impact, the ceramic body cracks. These cracks often propagate from the edge of the metal termination inward. Visually, look for hairline fractures under a magnifying glass. Electrically, they manifest as dead shorts or intermittent open circuits.
- Piezoelectric Ringing: Not a failure, but a symptom of Class 2 (X7R/X5R) ceramics acting as microphones. If your audio circuit emits a high-pitched whine when subjected to AC ripple, the capacitor is physically vibrating. Substitute with a C0G/NP0 or film capacitor.
Tantalum and Film Failures
- Tantalum Thermal Runaway: Tantalum capacitors fail as dead shorts. If subjected to voltage spikes exceeding their rating, or if installed backward, they undergo thermal runaway and literally catch fire, leaving a charred, blackened crater on the PCB. SparkFun's capacitor tutorials heavily advise avoiding tantalums in hobbyist power rails for this exact reason; use polymer or MLCC instead.
- Film Self-Healing: Metallized film capacitors are "self-healing." If a microscopic defect causes an internal arc, the vaporized metal clears the fault, and the cap continues working with a slightly lower total capacitance. Extreme overvoltage, however, will cause the outer plastic shell to split open violently.
By matching the electrical requirement to the correct dielectric, respecting DC bias derating curves, and verifying physical health via ESR and visual inspection, you eliminate the guesswork from capacitor selection and ensure long-term circuit reliability.






