Toolvito

Works on this device

Capacitor Code Calculator

Small capacitors carry a short code in place of their value. Type the code to get the capacitance in pF, nF and µF, with the tolerance and the rated voltage when the code gives them. The tool also works the other way: enter a value and get its code.

Enter your values

For the digits and letters printed on ceramic, film, tantalum and SMD capacitors.

Your values

Examples: 104, 104K, 47, 2A104J, A475, 0.1, 4n7, 2p2, A5. Type capital and small letters as they are printed.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use this calculator

  1. Choose Read a capacitor code.
  2. Type the code as it is printed, for example 104, 104K, 2A104J, 4n7 or A5. Capital and small letters can mean different things, so type them as you see them.
  3. Choose Read the code. The result shows the capacitance in three units, and the tolerance and rated voltage if the code has them.
  4. The menu Common codes fills in a code such as 103 or 104 for you.
  5. To go from a value to its code, choose Find the code for a capacitance. For a voltage code alone, choose Read or find a voltage code.

How capacitor codes work

  • Three digits (104): the first two digits are the value and the third is the number of zeros, in picofarads. 104 is 10 and four zeros: 100,000 pF = 100 nF = 0.1 µF.
  • A last digit of 9 or 8: 9 means × 0.1 and 8 means × 0.01, for values below 10 pF. 479 is 4.7 pF.
  • One or two digits (47): the value in picofarads.
  • A number below 1 with a decimal point (0.1): by common practice the value in microfarads.
  • A letter in place of the decimal point (4n7, 2p2, 4µ7): the letter is the unit and marks the decimal point. 4n7 is 4.7 nF. An R marks the decimal point of a value in picofarads: 4R7 is 4.7 pF.
  • A capital letter after the value (104K): the tolerance. See the table below.
  • Two characters in front (2A104J): the rated voltage. 2A is 100 V.
  • One letter in front of three digits (A475): the rated voltage on SMD tantalum and electrolytic capacitors. A is 10 V, so A475 is 10 V and 4.7 µF.
  • A letter and a digit (A5): the code of small SMD capacitors. The letter stands for the first two digits and the digit is the power of ten, in picofarads. A5 is 1.0 × 10⁵ pF = 100 nF.

Worked examples

104K. The digits 10 with four zeros give 100,000 pF, which is 100 nF. K means ±10%, so the real value lies between 90 nF and 110 nF.

2A104J. 2A is the voltage code for 100 V. 104 is 100 nF. J means ±5%: 95 nF to 105 nF.

A475. On an SMD tantalum capacitor the letter A means 10 V, and 475 is 47 with five zeros: 4,700,000 pF = 4.7 µF.

The other way. 4.7 nF is 4,700 pF: the digits 47 and two zeros, so the number code is 472. With a letter for the decimal point it is 4n7, and the SMD code is S3.

Tolerance letters

The capital letter after the value gives the tolerance. Below 10 pF the letters B, C, D, F and G stand for a tolerance in picofarads.

Tolerance letters of capacitors (IEC 60062)
Letter Tolerance Below 10 pF
B ±0.1% ±0.1 pF
C ±0.25% ±0.25 pF
D ±0.5% ±0.5 pF
F ±1% ±1 pF
G ±2% ±2 pF
J ±5%
K ±10%
M ±20%
N ±30%
Q −10% to +30%
T −10% to +50%
S −20% to +50%
Z −20% to +80%

Limits you should know

  • Makers do not all mark their parts the same way, and small parts often carry no mark at all. If the value does not fit your circuit, measure the part or look at its data sheet.
  • Some codes can be read in two ways. The result then shows both values. A code of four digits is not read, because it can be picofarads as printed or three digits and a count of zeros.
  • Electrolytic capacitors mostly print the value in µF and the voltage in volts in plain text. They need no code.
  • The colour option reads only the first three bands, which give the value. The bands for tolerance and voltage differ between kinds of capacitor and between makers, and the tool does not read them.
  • The tool does not know temperature codes such as X7R or NP0, date codes or maker codes.
  • The rated voltage is the largest DC voltage that the part is made for. This tool gives no advice on which voltage rating a circuit needs.

Related tools