Calculators
Capacitor code calculator
By Bulan Sarkar
Type what is printed on the part and get the value in pF, nF and µF, with the tolerance range and the voltage rating when the marking carries them. It also works the other way, from a value to the code, and reads the two-character codes on SMD ceramics.
Type it as printed, spaces and all: 104, 104K, 2A473J, 4n7, 0.1.
- Capacitance
- 100 nF
- 100000 pF = 100 nF = 0.1 µF
- Tolerance
- ±10 %
- 90 nF to 110 nF
- Rated voltage
- 100 V
- printed as 2A
Quick answer
The first two digits are the value and the third is how many zeros follow, in picofarads. 104 is 10 and four zeros: 100,000 pF, which is 100 nF or 0.1 µF. A letter after the digits is the tolerance: J ±5 %, K ±10 %, M ±20 %.
How the three-digit code works
The first two digits are the value and the third says how many zeros follow. The answer is always in picofarads. So 104 is 10 followed by four zeros, 100 000 pF, which is 100 nF or 0.1 µF. 472 is 4700 pF, or 4.7 nF. The third digit is never a third figure of the value, and reading it as one is the usual first mistake.
Two third digits break the pattern. On small parts, 9 means multiply by 0.1 and 8 means multiply by 0.01, so 479 is 4.7 pF and 109 is 1 pF. The digit 7 is not used. A code ending in 0 has a trap of its own: 100 read as a code is 10 pF, but some older discs print small values in plain picofarads, so the same three characters can mean 100 pF. The calculator flags it when that happens.
A letter straight after the digits is the tolerance. J is ±5 %, K ±10 %, M ±20 %. Z is lopsided: the part may be 20 % low or 80 % high, which is common on cheap Y5V and Z5U ceramics. B, C and D are in picofarads rather than per cent, because a percentage of a 2 pF part is too small to be useful. The capacitor markings lesson covers the reading order and the polarity marks.
A digit followed by a letter, such as 2A or 1H, is the rated voltage. The digit is a power of ten and the letter gives the first figures: A is 1, so 2A is 1 × 10² = 100 V, and J is 6.3, so 2J is 630 V. Film capacitors print it on the box, and makers put it either side of the value, so 2A104K and 104K 2A mean the same part. J can be a tolerance or a voltage letter, and position settles which: a letter straight after the value digits is the tolerance, and a digit-and-letter pair standing apart from the value is the voltage. The capacitor ratings lesson explains how much margin to leave under that voltage.
Worked example in numbers
- Value
- 100 nF
- Tolerance
- ±10 %
- Rated voltage
- 100 V
- Good-part range
- 90 nF to 110 nF
Worked examples
A film capacitor marked 2A104K
Split the marking where the meaning changes: 2A, then 104, then K. The leading 2A is a voltage code, 1 × 10² = 100 V. 104 is 10 with four zeros, 100000 pF, which is 100 nF. K is ±10 %, so a good part measures between 90 nF and 110 nF.
The same capacitor from another maker could read 104K 2A, or 0.1 K 100V in plain figures. All three describe one part. If your meter says 96 nF, the part is inside its tolerance and there is nothing wrong with it.
Coding 4.7 nF, ±5 %, 630 V
4.7 nF is 4700 pF: 47 followed by two zeros, so the code is 472. ±5 % adds J, and 630 V is 2J, giving 472J 2J on the part. The tolerance allows 4.465 nF to 4.935 nF, and the rating is 630 V.
The same value appears as 4n7 on schematics and on some film capacitors, where the n stands in for the decimal point. An SMD ceramic of this value, if it is marked at all, carries the EIA-198 code S3: S is 4.7 and 3 is three zeros, in picofarads.
Common codes
The codes you meet most often, with the value in all three units. The calculator above reads any other code.
| Code | pF | nF | µF |
|---|---|---|---|
| 100 | 10 | 0.01 | 0.00001 |
| 150 | 15 | 0.015 | 0.000015 |
| 220 | 22 | 0.022 | 0.000022 |
| 330 | 33 | 0.033 | 0.000033 |
| 470 | 47 | 0.047 | 0.000047 |
| 680 | 68 | 0.068 | 0.000068 |
| 101 | 100 | 0.1 | 0.0001 |
| 151 | 150 | 0.15 | 0.00015 |
| 221 | 220 | 0.22 | 0.00022 |
| 331 | 330 | 0.33 | 0.00033 |
| 471 | 470 | 0.47 | 0.00047 |
| 681 | 680 | 0.68 | 0.00068 |
| 102 | 1000 | 1 | 0.001 |
| 152 | 1500 | 1.5 | 0.0015 |
| 222 | 2200 | 2.2 | 0.0022 |
| 332 | 3300 | 3.3 | 0.0033 |
| 472 | 4700 | 4.7 | 0.0047 |
| 682 | 6800 | 6.8 | 0.0068 |
| 103 | 10000 | 10 | 0.01 |
| 153 | 15000 | 15 | 0.015 |
| 223 | 22000 | 22 | 0.022 |
| 333 | 33000 | 33 | 0.033 |
| 473 | 47000 | 47 | 0.047 |
| 683 | 68000 | 68 | 0.068 |
| 104 | 100000 | 100 | 0.1 |
| 154 | 150000 | 150 | 0.15 |
| 224 | 220000 | 220 | 0.22 |
| 334 | 330000 | 330 | 0.33 |
| 474 | 470000 | 470 | 0.47 |
| 684 | 680000 | 680 | 0.68 |
| 105 | 1000000 | 1000 | 1 |
| 225 | 2200000 | 2200 | 2.2 |
| 475 | 4700000 | 4700 | 4.7 |
| 106 | 1.00e+7 | 10000 | 10 |
Tolerance letters and voltage codes
| Letter | Tolerance |
|---|---|
| B | ±0.1 pF |
| C | ±0.25 pF |
| D | ±0.5 pF |
| F | ±1 % |
| G | ±2 % |
| J | ±5 % |
| K | ±10 % |
| M | ±20 % |
| Z | +80 % / −20 % |
| Code | Voltage |
|---|---|
| 0G | 4 V |
| 0J | 6.3 V |
| 1A | 10 V |
| 1C | 16 V |
| 1E | 25 V |
| 1V | 35 V |
| 1H | 50 V |
| 1J | 63 V |
| 1K | 80 V |
| 2A | 100 V |
| 2B | 125 V |
| 2C | 160 V |
| 2Z | 180 V (Nichicon only) |
| 2D | 200 V |
| 2P | 220 V (Nichicon only) |
| 2E | 250 V |
| 2F | 315 V |
| 2V | 350 V |
| 2G | 400 V |
| 2W | 450 V |
| 2H | 500 V |
| 2J | 630 V |
| 2K | 800 V |
Tolerance letters as KEMET lists them for ceramic capacitors. Voltage codes checked against Nichicon film and electrolytic catalogues and the Panasonic electrolytic part-number guide. A code that follows the same rule but is missing here, such as 1D, still decodes, with a note to confirm it on the datasheet.
SMD capacitor codes (EIA-198)
Most chip capacitors carry no marking at all. The ones that do use two characters: a letter for the first figures and a digit for the number of zeros, in picofarads, with 9 meaning ×0.1. S3 is 4.7 × 10³ pF, 4.7 nF. Some makers add their own letter in front, so KA2 is a KEMET part of 1.0 × 10² pF, 100 pF. Upper and lower case are different values, which is why the calculator keeps the case you type.
| A 1.0 | B 1.1 | C 1.2 | D 1.3 | E 1.5 | F 1.6 | G 1.8 | H 2.0 | J 2.2 | K 2.4 | L 2.7 | M 3.0 |
| N 3.3 | P 3.6 | Q 3.9 | R 4.3 | S 4.7 | T 5.1 | U 5.6 | V 6.2 | W 6.8 | X 7.5 | Y 8.2 | Z 9.1 |
| a 2.5 | b 3.5 | d 4.0 | e 4.5 | f 5.0 | m 6.0 | n 7.0 | t 8.0 | y 9.0 |
When the marking is not enough
A code says what the part was sold as, not what it is now. Two parts marked 104K 50V can be a C0G ceramic that holds its value and an X7R that loses a large share of it under DC bias, and nothing on the body tells them apart; the ceramic capacitors lesson explains why. A bare number such as 22 can be picofarads on a ceramic or microfarads on an electrolytic. When the value matters, for a filter corner or a timing capacitor, measure it: the testing lesson shows how. Resistor markings have their own calculators: colour bands and SMD codes.
Tips and tricks
- Watch for a letter used as the decimal point. 4n7 is 4.7 nF and 2p2 is 2.2 pF, the same idea as the R in resistor codes.
- Discharge a capacitor before you measure it, and take it out of the circuit. A charged part can damage the meter, and parts in parallel make the reading wrong.
- On electrolytics the value is printed in µF, and the stripe marks the negative lead. Fitting one backwards can make it bulge or vent.
- Leave voltage margin on ceramics. An X7R part loses more of its value the closer the DC voltage gets to its rating, so a 50 V part on a 5 V rail keeps far more of its 100 nF than a 6.3 V one.
- For timing and filters, use C0G (also called NP0) ceramics or film capacitors. They hold their value with voltage and temperature, where X7R and Y5V do not.
What we would do
For a starter stock, we would buy C0G ceramics for values up to 1 nF, X7R 50 V ceramics from 10 nF to 1 µF for decoupling, and 105 °C electrolytics from a known maker for bulk storage. For checking parts, a meter with a capacitance range, or one of the cheap component testers that identify and measure a part automatically, sorts out unmarked or doubtful ones faster than decoding a worn print. Both are sold by hobby shops in India and by the big distributors elsewhere.
Questions people ask
What does 104 mean on a capacitor?
10 followed by four zeros, in picofarads: 100,000 pF, which is 100 nF or 0.1 µF. It is the most common decoupling value on any board.
How do I convert pF to nF and µF?
Divide picofarads by 1,000 to get nanofarads, and by 1,000,000 to get microfarads. 4,700 pF is 4.7 nF or 0.0047 µF.
What does the letter after the capacitor code mean?
It is the tolerance. J is ±5 %, K ±10 % and M ±20 %. Z is lopsided, −20 % to +80 %, and turns up on cheap ceramic capacitors.
What do 1H and 2A mean on a capacitor?
They are voltage codes, a digit and a letter. 1H is 50 V and 2A is 100 V. They usually come before the value, as in 2A104K: 100 V, 100,000 pF, ±10 %.
Is 104 the same as 0.1 µF?
Yes. 104 is 100,000 pF, which is 100 nF or 0.1 µF. Circuit diagrams and parts lists use all three forms for the same part.
One email a month from the bench
New circuits, lessons, part guides and calculators, on the first Sunday of each month.