All tools › Engineering Calculators › Electronics
Type a capacitor code such as 104 or 472K to read its value, or convert a value back to a code.
What the capacitor code calculator does
Small ceramic and film capacitors rarely have room for a full value, so they carry a short code such as 104 or 472K. This capacitor code calculator turns that code into a capacitance in picofarads, nanofarads and microfarads, and reads the tolerance letter if there is one.
It also works the other way. Type a value and a unit, and it gives the three-digit code to look for when you search a parts drawer or an order list.
Note: This calculator is a learning and planning aid. Markings vary between makers, and a code says nothing about voltage rating, so confirm important parts against the datasheet or with a capacitance meter. Mains wiring must follow your local electrical code and be done by a licensed electrician.
How to use the calculator
- Convert: choose Code to value or Value to code.
- Capacitor code (tolerance letter optional): for code to value, type the digits as printed, such as 104. Add the letter that follows them, if any, such as 472K. Capitals and small letters both work.
- Capacitance (for value to code): for value to code, type the number.
- Capacitance unit: pick pF, nF or µF for that number.
Boxes that belong to the other direction are ignored.
How the code works
C in pF = (first two digits) x 10^(third digit)
The first two digits are the value and the third is the number of zeros to add, with the answer in picofarads. So 104 is 10 followed by four zeros: 100,000 pF. For values under 10 pF the third digit has two special meanings: 9 multiplies by 0.1 and 8 multiplies by 0.01, so 479 is 4.7 pF. A marking of only one or two digits is the value in picofarads as it stands.
To change units, 1,000 pF = 1 nF and 1,000 nF = 1 µF.
| 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% |
B, C and D are fixed amounts in picofarads and appear on very small values. The other letters are percentages of the marked value.
Worked examples
Code to value. Type 473J. The result is 47 nF: 47 followed by 3 zeros, in pF, which is 47,000 pF or 0.047 µF. The letter J means ±5%, so the lowest value in tolerance is 44.65 nF and the highest is 49.35 nF.
Value to code. Choose Value to code, type 2.2 and pick nF. The code is 222, read as 22 followed by 2 zeros, in pF, which is 2,200 pF. The last row lists the same code with common tolerance letters: 222J = ±5%, 222K = ±10%, 222M = ±20%.
How to read the results
The three unit rows are the same capacitance written three ways, because schematics, parts lists and shop listings do not agree on one unit. A part marked 104 may be listed as 100 nF or as 0.1 µF.
The lowest and highest rows show what a healthy part may measure. A 47 nF ±5% capacitor that reads 45.9 nF on a meter is within specification.
In value to code, the row “Exact match” tells you whether your number fits the code. A code holds only two significant digits, so 123 pF cannot be written exactly; the tool rounds it to 120 pF, shows code 121 and says so.
What it does not cover
- Electrolytic capacitors. Larger parts usually print the value and unit in full, with the voltage.
- Voltage codes. A separate marking, when present, gives the voltage rating. It is not decoded here.
- Other markings. Values written with a letter as the decimal point, such as 4n7, temperature characteristic codes such as X7R, and small surface-mount codes are not read.
- Other letters. Only the nine tolerance letters in the table are accepted. Other letters exist but are used less consistently.
- Range. A three-digit code covers 0.1 pF to 990 µF.
Frequently asked questions
What does 104 mean on a capacitor?
It means 10 followed by four zeros in picofarads: 100,000 pF, which is 100 nF or 0.1 microfarads.
Does the K in 472K mean kilo?
No. On a capacitor the letter after the digits is the tolerance, and K means plus or minus 10 percent. 472K is 4.7 nF with a 10 percent tolerance.
How do I convert nanofarads to microfarads?
Divide by 1,000. For example 220 nF is 0.22 microfarads, and 4.7 nF is 0.0047 microfarads.
My capacitor only shows two digits. What is its value?
A one or two digit marking is normally the value in picofarads, so 47 means 47 pF.
Is a capacitor with no tolerance letter less precise?
Not necessarily. The letter is simply left off many small parts. Look up the part series in the datasheet to find its tolerance.
Related calculators
- Resistor Calculator – the matching decoder for resistor color bands.
- Capacitor Charge / RC Time Constant Calculator – use the value you decoded in a timing circuit.
- 555 Timer Calculator – pick the timing capacitor for a 555 circuit.
- Unit Converter – convert other everyday units.

