Capacitor Code Calculator
Decode SMD capacitor markings (104, 473, etc.) to actual capacitance values.
Tolerance Codes
How Capacitor Codes Work
Most ceramic and film capacitors use a 3-digit code. The first two digits are the significant figures, and the third digit is the multiplier (number of zeros to add). The result is in picofarads (pF).
Two multiplier digits are exceptions used for values below 10 pF: a last digit of 9 means ×0.1 (229 = 2.2 pF) and a last digit of 8 means ×0.01 (508 = 0.5 pF). Digits 0 to 7 count zeros, so 107 = 100 μF and 227 = 220 μF. This is the convention printed in ceramic capacitor ordering-code tables; some tantalum and polymer part numbers keep counting zeros for 8 as well (108 = 1,000 μF), so the calculator shows both readings for that digit. The converter in both directions uses the same table, and a value that needs more than two significant digits is rounded to the nearest code. Letter codes such as 4p7, 2n2 and 4u7 follow IEC 60062, where the letter marks both the unit and the decimal point.
A capacitor is a passive component that stores electric charge, and capacitor identification refers to matching the part marking to its actual usable value. This matters because capacitance value alone is only one part of selection. The same numeric code can still lead to the wrong part if the voltage rating, dielectric behavior, or package family is ignored.
Formula Source and Checked Examples
For a three-digit code the calculator computes C (pF) = (first two digits) × multiplier, using the multiplier table described above, and then divides by 1,000 for nF and by 1,000,000 for μF. A trailing tolerance letter (104K) is accepted and ignored for the value. A one-digit or two-digit entry is read as picofarads as printed. In the other direction the value is converted to pF, rounded to two significant digits, and written as those two digits plus the multiplier digit. Values are shown with up to four significant digits.
The three-digit picofarad code is the marking convention found in capacitor manufacturers' ordering-code tables, and the letter codes follow IEC 60062. The calculator returns the nominal value only. It does not read voltage, dielectric or temperature-characteristic codes, it cannot tell which part family a marking belongs to, and it has no three-digit code for values below 0.10 pF or of 1,000 μF and above.
The rows below were entered in the live calculator (local production build) and checked by hand calculation. Last run: November 20, 2026.
| Mode | Input | Displayed result |
|---|---|---|
| Code → Value | 473 | 47,000 pF, 47 nF, 0.047 μF |
| Code → Value | 229 | 2.2 pF, 0.0022 nF, 0.0000022 μF |
| Value → Code | 4.7 nF | 472 (= 4,700 pF = 4.7 nF = 0.0047 μF) |
Hand check for row 1: 47 × 103 = 47,000 pF; 47,000 / 1,000 = 47 nF; 47,000 / 1,000,000 = 0.047 μF. Row 3: 4.7 nF = 4,700 pF = 47 × 102, so the code is 472. Found an error? Email hello@yourpcb.com.
Common Capacitor Codes
| Code | pF | nF | μF |
|---|---|---|---|
| 100 | 10 pF | 0.01 nF | 0.00001 μF |
| 101 | 100 pF | 0.1 nF | 0.0001 μF |
| 102 | 1,000 pF | 1 nF | 0.001 μF |
| 103 | 10,000 pF | 10 nF | 0.01 μF |
| 104 | 100,000 pF | 100 nF | 0.1 μF |
| 105 | 1,000,000 pF | 1,000 nF | 1 μF |
| 220 | 22 pF | 0.022 nF | 0.000022 μF |
| 221 | 220 pF | 0.22 nF | 0.00022 μF |
| 222 | 2,200 pF | 2.2 nF | 0.0022 μF |
| 223 | 22,000 pF | 22 nF | 0.022 μF |
| 224 | 220,000 pF | 220 nF | 0.22 μF |
| 473 | 47,000 pF | 47 nF | 0.047 μF |
Reference Links
Frequently Asked Questions
What does 104 mean on a capacitor?
104 means 10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 μF. This is one of the most common capacitor values.
What about codes like 4R7 or 2n2?
Some capacitors use R or n notation. 4R7 = 4.7 pF (R marks decimal point in pF). 2n2 = 2.2 nF (n marks decimal point in nF).
What do tolerance letters mean?
Common tolerance codes: J = ±5%, K = ±10%, M = ±20%. For example, "104K" means 100nF ±10%.
Do all capacitors use the same code format?
No. Ceramics, film capacitors, and some specialty parts can use different marking styles, and many tiny multilayer ceramic capacitors have no readable mark at all.
How should I verify a capacitor choice?
Use the marking decoder as a first pass, then confirm dielectric, voltage rating, tolerance, and package details from the BOM or manufacturer datasheet before substitution.