Capacitor Code Decoder

Decode 3-digit ceramic capacitor markings (like 104, 473, 222) into pF, nF, and µF. Supports EIA tolerance letters, voltage ratings, and reverse lookup from capacitance to code.

Decoder Electronics Updated Oct 15, 2026
Learn how this works
How to Use
  1. Type the 3-digit code printed on the capacitor (e.g., "104", "473", "222").
  2. Optionally add a tolerance letter (J = ±5%, K = ±10%, M = ±20%).
  3. The decoded value appears in pF, nF, and µF with the full tolerance range.
  4. Use "Reverse" mode to find the code for a given capacitance.
  5. The visualization shows how the code maps to the formula XY × 10^Z pF.
Input
e.g. 104, 473K
Quick Presets
Capacitor Visualization
Picofarads
—pF
Nanofarads
—nF
Microfarads
—µF
Tolerance
—

Worked Example

A ceramic capacitor is marked "104K". The first two digits are the significant figures (10) and the third is the number of zeros to add (4): 10 × 10⁴ = 100,000 pF = 100 nF = 0.1 µF.

Tolerance: K means ±10%, so the real value is anywhere from 90 nF to 110 nF.

The common mistake: reading the code as the value. "104" is not 104 pF, and "100" is not 100 pF: it is 10 followed by no zeros, 10 pF. Codes are always in picofarads, and the last digit is a multiplier.

Show Work

Enter a code to see the decode breakdown.

Tolerance Codes (EIA)

B
±0.1 pF
For caps under 10 pF (precision).
C
±0.25 pF
Low-value precision ceramics.
D
±0.5 pF
Tight-tolerance small caps.
F
±1%
Precision film and C0G ceramic.
G
±2%
General precision.
J
±5%
Common for film caps.
K
±10%
Most common ceramic tolerance.
M
±20%
Bulk decoupling / bypass caps.
Z
+80/−20%
High-K ceramics (Y5V).

The Formula

3-Digit Code
C = XY × 10Z pF
First two digits are significant, third is the decimal exponent.
2-Digit Code
C = XY pF
Direct picofarad reading for small caps.
4-Digit Code
C = XYZ × 10W pF
Used for precision caps requiring 3 significant figures.
Decimal Form
n.m = directly in µF
Some caps print "0.1" or "2.2" — read as µF directly.

History of the Capacitor Marking Code

Ceramic and mica capacitors gained widespread use in radio and early electronics during the 1930s and 1940s, but their small physical size made printing full values like "0.0001 µF" impractical. The industry settled on a shorthand: give the capacitance in picofarads as two significant digits followed by a multiplier digit, the same digit-digit-exponent idea used for resistor colour bands.

The scheme ("XYZ" meaning XY × 10Z picofarads) and its tolerance letters appear in US industry standards for ceramic capacitors such as EIA-198 and in the international marking standard IEC 60062, which also covers resistor codes. The same code now appears on surface-mount ceramic multilayer caps (MLCCs), through-hole disk ceramics, and film caps; electrolytics skip the code because their size allows full "100 µF 25 V" markings.

Because the convention has stayed the same for decades, a part marked "104" today reads 100,000 pF (0.1 µF), just as it would in a decades-old radio, an unusually durable notation in a field that otherwise reinvents itself constantly.

About This Calculator

Enter a 2-, 3-, or 4-digit code with optional tolerance letter (e.g. 104, 473K, 1004F) and this tool decodes it to picofarads, nanofarads, and microfarads simultaneously — so you can match the reading to whatever unit your schematic uses. Switch to encode mode to go the other direction: type a value and get the printed code.

One gotcha the tool flags for you: a code like 100 is 10 pF (10 followed by zero extra zeros), not 100 pF. A code like 104 is 100,000 pF = 0.1 µF. That single trailing digit multiplies by 10× at a time, which catches a lot of people new to the system. All decoding runs in your browser; nothing is transmitted.

Frequently Asked Questions

How do I read a capacitor code?

Three-digit codes follow XYZ → XY × 10^Z picofarads. So 104 = 10 × 10^4 pF = 100,000 pF = 100 nF = 0.1 µF. Two-digit codes are read directly in pF (e.g., "22" = 22 pF).

What does the letter after the code mean?

EIA tolerance codes: J=±5%, K=±10%, M=±20%, Z=+80/−20%. So "104K" is 100nF ±10%. The letter is separate from the capacitance.

What about 4-digit codes?

Four-digit codes follow XYZW → XYZ × 10^W pF, giving more precision. Example: 1003 = 100 × 10^3 pF = 100 nF. Rare on ceramic caps but common on precision polyester/polypropylene types.

How do I identify the voltage rating?

Voltage is printed separately, either plainly ("50V") or as a digit and letter: the digit is a power of ten and the letter a multiplier, so 1H = 50 V, 2A = 100 V and 2E = 250 V. For ceramic capacitors, choose a rating well above your circuit's maximum (often 2×), because high-capacitance types lose much of their value near their rated voltage.

What does a class code like X7R mean?

X7R, C0G/NP0, Y5V are dielectric classes that describe temperature stability. C0G is the most stable (and expensive); X7R is a common compromise; Y5V has high capacitance but poor stability. Class is printed alongside or near the value code.

How do I use the Capacitor Code Decoder?

Just type or paste your value. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Decoding a Bag of SMD Caps

Surface-mount ceramic capacitors usually have no marking, so the reel or bag label carries the code. A bag marked "104" holds 100 nF decoupling capacitors, not 10 nF (103) or 1 µF (105).

Board Repair / Reverse Engineering

Reading the 3-digit code on an old PCB to match a replacement cap when the schematic is lost.

BOM Verification

Cross-checking a BOM entry like "0.1µF 50V X7R 0603" against the printed code on the datasheet footprint.

Through-Hole Kit Identification

Sorting a mixed bag of ceramic disc capacitors: read the printed code on each and group them by value.

Teaching / Learning Electronics

Students decoding their first breadboard components. The formula XY × 10^Z becomes obvious after a few examples.

Tolerance Range Check

Verifying a "104K" cap (100nF ±10%) is 90–110nF — relevant for filter and timing circuits where tolerance matters.

Last updated: