Use C0G/NP0 ceramics for precision timing and RF, X7R/X5R ceramics for high-frequency decoupling, and aluminum electrolytics for bulk energy storage and low-frequency filtering. If you need ultra-low ESR for switching power supplies, reach for solid polymer aluminum or tantalum. The choice between a ceramic capacitor and electrolytic capacitor ultimately hinges on your required capacitance value, operating frequency, and available board space.

Choosing the wrong dielectric doesn't just degrade performance; it causes catastrophic field failures. A 10µF X7R ceramic capacitor might drop to 2µF under DC bias, while an electrolytic capacitor placed near a hot MOSFET will dry out and spike the ripple voltage. This guide cuts through the datasheet jargon to give you the exact selection criteria, decoding rules, and substitution frameworks you need at the bench.

Dielectric Showdown: Real-World Specifications

Capacitors are not ideal components. They possess equivalent series resistance (ESR), equivalent series inductance (ESL), and temperature-dependent capacitance shifts. Below is a data-dense comparison of the five most common dielectrics you will encounter in modern electronics. Notice how the tolerance and temperature coefficient (tempco) dictate where each part can actually survive.

Dielectric / Type Typical Cap Range Tempco / Stability Typical ESR (100kHz) Tolerance Primary Application
Ceramic (C0G/NP0) 1pF – 100nF ±30 ppm/°C (Ultra-stable) < 10 mΩ ±1% to ±5% RF matching, precision oscillators, snubbers
Ceramic (X7R/X5R) 100pF – 100µF ±15% over -55°C to +125°C 5 – 30 mΩ ±10% to ±20% IC decoupling, general bypass, SMPS filtering
Aluminum Electrolytic (Radial) 1µF – 10,000µF Poor (varies widely with temp) 50 – 500 mΩ ±20% Bulk storage, low-freq audio coupling, input smoothing
Solid Polymer Aluminum 10µF – 1000µF Moderate (better than liquid) 5 – 20 mΩ ±20% VRM output filtering, high-ripple SMPS
Tantalum (MnO2) 100nF – 1000µF Moderate (stable over time) 100 – 500 mΩ ±10% to ±20% Space-constrained bulk decoupling, medical/aerospace

According to the Cornell Dubilier Application Guide, the most critical mistake designers make with Class II ceramics (X7R/X5R) is ignoring DC bias characteristics. A 10µF X7R capacitor rated for 25V may only exhibit 4µF of actual capacitance when 20V DC is applied. C0G ceramics do not suffer from this DC bias derating, making them mandatory for high-voltage precision circuits.

Decoding the Markings: What the Codes Actually Mean

Reading capacitor markings is a rite of passage. Manufacturers use different coding schemes depending on the physical size and dielectric type of the component.

Ceramic Capacitor Codes

Through-hole and larger 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.

For tight-tolerance RF circuits, you may encounter the EIA-96 code on 0603 or 0402 SMD packages. This uses two numbers and a letter (e.g., 01C). The numbers correspond to a lookup table (01 = 10.0), and the letter is the multiplier (C = 102). Therefore, 01C = 10.0 × 100 = 1000 pF (1 nF).

Electrolytic and Tantalum Markings

Aluminum electrolytics are large enough to print directly on the sleeve. You will see the capacitance (e.g., 470µF), the voltage rating (e.g., 25V), and a temperature rating (usually 85°C or 105°C).

Polarity Warning: On radial through-hole aluminum electrolytics, the shaded stripe on the sleeve with minus signs (-) indicates the negative (cathode) lead. However, on surface-mount (SMD) aluminum electrolytics, the black semi-circle painted on the top plastic base indicates the positive (anode) side. Reversing polarity on a liquid electrolytic capacitor will cause the electrolyte to boil, venting the safety plug or, in severe cases, rupturing the can.

Tantalum capacitors use a solid bar or line on one end of the SMD package to indicate the positive (anode) lead. This is the exact opposite of the aluminum electrolytic through-hole convention, a trap that has destroyed many prototype boards.

Failure Modes and Visual Symptoms

Capacitors rarely fail without leaving evidence. Recognizing the visual and electrical symptoms of a failing part will save you hours of oscilloscope debugging. As detailed in Murata's MLCC caution guidelines, mechanical stress is a primary killer of ceramic parts.

Ceramic Capacitor Failures

  • Flex Cracking: Multilayer ceramic capacitors (MLCCs) are brittle. If the PCB bends during depanelization or connector insertion, the ceramic body cracks. Visually, you might see a microscopic hairline fracture near the solder fillet. Electrically, this manifests as a dead short or an intermittent open circuit.
  • Piezoelectric Ringing: Class II ceramics (X7R, Y5V) exhibit piezoelectric properties. In audio circuits or switching regulators, the physical expansion and contraction of the dielectric under AC voltage causes the component to "sing" or emit audible high-frequency whining. This also injects mechanical noise back into the circuit as electrical noise.

Electrolytic Capacitor Failures

  • Electrolyte Boil-Off (Drying Out): Heat is the enemy of liquid electrolytics. For every 10°C increase in ambient temperature, the operational lifespan halves. As the liquid electrolyte evaporates through the rubber seal, the ESR skyrockets. Visually, the top vent may bulge slightly. Electrically, the power supply will exhibit high ripple voltage and poor transient response.
  • Catastrophic Venting: If subjected to reverse polarity or massive overvoltage, the internal dielectric oxide layer breaks down. The resulting short circuit boils the electrolyte instantly. The aluminum can will split at the scored cross on the top, spraying foul-smelling, corrosive vapor across the PCB.

Safe Substitution: When the Exact Part is Missing

When your BOM calls for a specific capacitor and the supplier is out of stock, you must substitute safely. Never swap dielectrics blindly; follow these bench-tested rules to maintain circuit integrity.

Voltage Derating Rules

You can always substitute a higher voltage rating for a lower one (e.g., using a 50V cap instead of a 25V cap), provided the physical footprint fits. However, you must apply the correct derating factor based on the chemistry:

  • Ceramics (X7R/X5R): Derate by 50%. If your circuit runs at 12V, use a 25V rated capacitor to avoid severe capacitance loss from DC bias.
  • Aluminum Electrolytics: Derate by 20%. A 12V circuit should use at least a 16V or 25V capacitor to handle startup surges and ripple current heating.
  • Tantalum (MnO2): Derate by 50% minimum. Tantalums are notoriously unforgiving of current spikes. A 5V rail requires a 10V or 16V rated tantalum to prevent thermal runaway and short-circuit failures.

Dielectric Swapping

Can you swap an X7R for a Y5V? No. Y5V dielectrics lose up to 82% of their capacitance across temperature and voltage ranges. Only substitute Y5V if the circuit is a non-critical, room-temperature bypass application. Always upgrade to X7R or C0G when possible.

Can you swap a ceramic for an electrolytic? Rarely. A 10µF ceramic has near-zero ESR and ESL, making it excellent for high-frequency decoupling. A 10µF electrolytic has high ESR and will fail to filter high-frequency switching noise. If you must bridge a gap, place a 100nF ceramic in parallel with the electrolytic to handle the high-frequency transients.

Which Type for Which Job? (Decision Matrix)

Use this decision framework to select the right component for your specific circuit block without over-engineering the BOM.

Circuit Application Recommended Dielectric Why This Wins Example Part Number
MCU/Logic IC Decoupling X7R Ceramic (0402/0603) Low ESL, fast transient response, cheap. Place as close to the VCC pin as possible. Murata GRM155R71H104KE88 (100nF, 50V)
Crystal Oscillator Load C0G/NP0 Ceramic Zero DC bias shift, ultra-stable over temperature. Prevents frequency drift. Kemet C0402C220J5GACTU (22pF, 50V)
SMPS Input Bulk Filter Aluminum Electrolytic High energy density per dollar. Absorbs low-frequency ripple from the AC line or battery. Nichicon UHW1H101MPD (100µF, 50V, 105°C)
SMPS Output Filter (High Ripple) Solid Polymer Aluminum Ultra-low ESR handles massive ripple current without boiling. No liquid to dry out. Panasonic EEFSX0D331XE (330µF, 2V, Polymer)
Audio Signal Coupling Film (Polyester/Polypropylene) Extremely low dielectric absorption and distortion. Electrolytics introduce non-linear THD. WIMA MKS2C031001A00KSSD (100nF, 63V Film)

When designing power delivery networks (PDNs), remember that impedance is a system-level property. A single 100µF electrolytic capacitor will have high impedance above 100kHz due to its parasitic inductance. To achieve a flat, low-impedance target across a wide frequency band, you must parallel bulk electrolytics with mid-band ceramics (10µF X7R) and high-frequency ceramics (100nF C0G). For a deeper look at calculating capacitor lifespan and ripple current limits, refer to the All About Circuits capacitor fundamentals guide to brush up on the underlying math.