The most common capacitor code is a 3-digit number where the first two digits are significant figures and the third is the multiplier in picofarads (pF). A marking of 104 means 10 × 10⁴ pF, which equals 100,000 pF, or 100 nF (0.1 µF). If you are holding a through-hole ceramic disc or a surface-mount MLCC without a clear µF print, this EIA standard code is how you identify the value.

But knowing the capacitance is only half the battle. A 100 nF X7R ceramic and a 100 nF C0G/NP0 ceramic share the same code but will behave entirely differently in an analog signal path. This guide breaks down how to read capacitor markings, select the right dielectric for your circuit, and safely substitute parts when your parts bin is missing the exact BOM spec.

Decoding the Markings: How to Read Capacitor Codes

Capacitor manufacturers use several coding schemes depending on the physical size and dielectric type of the component. Here is how to read the three most common formats you will encounter at the bench.

  1. The 3-Digit EIA Code (Ceramics & Film): Read the first two digits as the base number, and the third digit as the number of zeros to append, in picofarads.
    • 104 = 10 + 4 zeros = 100,000 pF = 100 nF = 0.1 µF
    • 473 = 47 + 3 zeros = 47,000 pF = 47 nF
    • 221 = 22 + 1 zero = 220 pF
  2. The 2-Digit Code (Small Ceramics): If you see only two numbers (e.g., "22" or "47"), the value is directly in picofarads. A cap marked "22" is 22 pF. There is no multiplier.
  3. Tolerance Letters: You will often see a letter trailing the numeric code. This indicates the tolerance.
    • J = ±5%
    • K = ±10% (Most common for general-purpose ceramics)
    • M = ±20% (Standard for electrolytics)
  4. Electrolytic Direct Print: Aluminum electrolytics are large enough to print the value directly. You will see "1000µF 25V". Bench tip: Look for the bold stripe running down the side of the can; this stripe, often filled with minus signs, designates the negative lead. Applying reverse voltage to an aluminum electrolytic will cause it to vent or explode.

For a comprehensive breakdown of standard component markings and EIA codes, the SparkFun Capacitors Tutorial provides an excellent visual reference for surface-mount and through-hole variants.

The Capacitor Matrix: Which Type for Which Job?

Reading the value is useless if you select the wrong dielectric. The dielectric material dictates the capacitor's temperature stability, voltage coefficient, and equivalent series resistance (ESR). Use this spec-sheet-table to match the component to your circuit requirements.

Type / Dielectric Construction Typical Tolerance Tempco / Stability Best Application
MLCC (C0G / NP0) Class I Ceramic ±1% to ±5% Ultra-stable (0 ±30 ppm/°C). Zero voltage coefficient. Crystal oscillators, precision analog filters, RF tuning, timing circuits.
MLCC (X7R / X5R) Class II Ceramic ±10% to ±20% Moderate. Capacitance drops significantly under DC bias voltage. Power supply decoupling, bypass, general-purpose bulk storage.
Aluminum Electrolytic Foil + Liquid/Solid Electrolyte ±20% Poor. High tempco, dries out over time. High ESR. Bulk power filtering, low-frequency audio coupling, high-energy storage.
Film (Polypropylene) Metallized Plastic Film ±1% to ±5% Excellent. Very low dielectric absorption, self-healing. High-fidelity audio signal paths, AC line filtering, snubber circuits.
Tantalum Solid Manganese Dioxide ±10% to ±20% Good volumetric efficiency. Highly sensitive to reverse voltage and current spikes. Compact DC bulk filtering on PCBs where height is restricted (e.g., mobile devices).

Bench Scenario: When the Wrong Dielectric Causes Oscillator Drift

To understand why dielectric selection matters as much as the capacitance value, let us walk through a real-world bench failure involving an active analog filter.

The Setup: I was building a Sallen-Key low-pass audio filter for a DAC output stage. The BOM called for two 100 nF capacitors to set the cutoff frequency at roughly 15 kHz. I dug into my parts bin, found two 0805 MLCCs marked 104, and soldered them in. I did not check the dielectric class; I only verified the capacitance with my bench LCR meter at 1 kHz, which read a perfect 99.8 nF.

The Outcome: When I fed a 1 kHz sine wave into the filter, the output was heavily distorted. Total Harmonic Distortion (THD) spiked, and the cutoff frequency shifted upward as I increased the signal amplitude. The audio sounded harsh and brittle.

What Went Wrong: The capacitors I grabbed were X7R, not C0G/NP0 or Film. Class II ceramics like X7R exhibit a severe voltage coefficient and microphonic/piezoelectric effect. As the AC audio signal voltage swung across the capacitor, the dielectric's physical structure compressed and expanded, modulating the capacitance value in real-time. Furthermore, X7R capacitance can drop by up to 50% when a DC bias voltage is applied. My LCR meter tested the part at 1V AC with 0V DC bias, hiding the flaw. In the actual circuit, the capacitance was dynamically shifting with the audio waveform, acting as a distortion generator rather than a linear filter component.

The Fix: I desoldered the X7R parts and replaced them with 100 nF C0G/NP0 MLCCs. C0G is a Class I dielectric with virtually zero voltage coefficient and no piezoelectric effect. The THD dropped back below the noise floor of my oscilloscope. For a deeper look into the physics of dielectric absorption and voltage coefficients, the All About Circuits capacitor guide covers the underlying electrostatic theory.

Substitution Rules: Swapping Parts Without Frying the Board

When you are prototyping or repairing a board and lack the exact BOM part, you must substitute safely. Follow these four rules to avoid damaging your circuit or altering its behavior.

Warning: The LDO ESR Trap
Never blindly replace an older tantalum or aluminum electrolytic output capacitor on a linear regulator (like the LM1117 or LM317) with a modern ultra-low-ESR MLCC. Many older LDOs rely on the high ESR (typically 0.5Ω to 2Ω) of the output capacitor to maintain control loop stability. Swapping in a 2mΩ MLCC will cause the regulator to oscillate wildly at high frequencies, destroying your load.
  1. Voltage Rating (Always Go Up): You can always substitute a 50V cap for a 25V cap. Never substitute a lower voltage rating. If a circuit expects a 16V cap and you install a 10V cap, voltage transients will punch through the dielectric, resulting in a dead short.
  2. Capacitance Value (Context Dependent):
    • For bypass/decoupling: You can generally go up in value (e.g., using 220 nF instead of 100 nF). Just be aware that larger MLCCs have higher parasitic inductance, which slightly reduces their high-frequency effectiveness.
    • For timing/oscillators/filters: The value must be exact. A 5% deviation in a 555 timer RC network will shift your duty cycle; a 20% deviation in a crystal load capacitor will cause the RTC to lose minutes per day.
  3. Dielectric Class (Never Downgrade): You can always use a C0G/NP0 part in place of an X7R part. You can use a Film part in place of a ceramic. Never put an X7R in a circuit that specifies C0G (timing, RF, precision analog).
  4. Temperature Rating: If the original BOM specifies an X7R (which guarantees ±15% capacitance shift from -55°C to +125°C), do not substitute an X5R (which is only rated to +85°C) if the board will be used in an automotive or outdoor enclosure.

Failure Modes and Visual Autopsy

Capacitors fail more often than resistors or silicon ICs. When troubleshooting a dead board, a visual inspection of the capacitors will often reveal the culprit before you even power up your multimeter.

Capacitor Type Common Failure Mode Visual Symptoms on the PCB
Aluminum Electrolytic Electrolyte boil-off / Venting The top dome is bulging upward. The cross-scored vent on top may be split open. Look for crusty brown or black residue leaking from the bottom rubber bung or the top vent.
MLCC (Ceramic) Flex Cracking / Short Circuit Often invisible to the naked eye. Caused by PCB bending during depaneling or connector insertion. Look for a hairline crack near the solder pad. The cap will measure as a dead short (near 0Ω) with a multimeter.
Tantalum Thermal Runaway / Fire A distinct black scorch mark on the PCB around the component. The tantalum body may be cracked, melted, or completely blown off the pads. Often caused by reverse polarity or a massive inrush current spike.
Film (Safety Caps) Dielectric Breakdown (Y-Caps) The outer epoxy coating may be split or charred. In X/Y safety capacitors across mains lines, internal self-healing arcs can eventually vaporize the metallization, causing the cap to fail open (loss of capacitance) rather than short.

When you find a bulging electrolytic capacitor on an old motherboard or power supply, do not just replace it and power the board up immediately. If the cap failed due to a shorted downstream component, the new cap will pop as well. Always check the downstream MOSFETs and diodes for shorts before applying power. Furthermore, if you are restoring vintage audio gear, old electrolytics must be slowly "reformed" using a current-limited DC supply to rebuild the internal oxide layer; hitting them with full line voltage instantly will cause them to vent violently.

Mastering how to read capacitors goes beyond memorizing the 104 multiplier. It requires understanding the physical limitations of the dielectric hiding inside that tiny ceramic or foil package. Match the dielectric to the circuit's electrical stress, respect the voltage and ESR substitution rules, and your designs will survive long past the initial smoke test.