Skip to content
Tool · Electronics

Capacitor code calculator

Type the code printed on a ceramic disc, film or chip capacitor to get its value in pF, nF and µF, its tolerance and its voltage, or go the other way and find the code for a value.

Capacitance100 nF
Tolerance
Rated voltage
Dielectric
Working

Codes from Vishay MLCC ordering information (document 45067) and marking codes (45028), voltage codes from KEMET A759, dielectrics from KEMET C0G, X7R, X5R and Y5V datasheets. Voltage codes and letters differ between some makers and series, so confirm an unusual part on its datasheet.

Two figures and a multiplier

The first two digits are the value and the third is how many zeros follow, always in picofarads. So 104 is 10 followed by four zeros.

C = ab × 10n pF

Letters after the number

A letter after the code is the tolerance: J is ±5%, K is ±10% and M is ±20%. A two-character prefix such as 2A is the rated voltage, here 100 V.

104K = 100 nF ± 10%

pF, nF and µF

Each step is a factor of a thousand, so 100,000 pF, 100 nF and 0.1 µF are the same capacitor written three ways.

1 µF = 1,000 nF = 106 pF

How do you read a capacitor code?

Read the first two digits as a number and add as many zeros as the third digit says. The result is in picofarads. 104 is 10 followed by four zeros, 100,000 pF, which is 100 nF or 0.1 µF. A letter after the number is the tolerance, and a two-character prefix such as 2A is the rated voltage.

The calculator decodes all of these, plus the R notation used for small values (4R7 is 4.7 pF) and the letter codes laser-marked on some ceramic chips. Switch to value to code to find what a 22 nF part should say. For why 100 nF sits beside nearly every chip, read why 100 nF is the standard decoupling capacitor.

Key facts about capacitor codes

  • The code is always in picofarads: 101 is 100 pF, 102 is 1 nF, 103 is 10 nF, 104 is 100 nF and 105 is 1 µF.
  • Tolerance letters: J is ±5%, K is ±10%, M is ±20% and Z is +80% / −20%. Below 10 pF the letters B, C and D give the tolerance in picofarads instead.
  • Voltage codes put a digit and a letter before the value: 1H is 50 V, 2A is 100 V and 2E is 250 V.
  • The dielectric code describes temperature behaviour: X7R holds ±15% from -55 to 125 °C, while Y5V can swing +22% / −82%.

Seven markings decoded

Each example puts the part on the mat, magnifies its marking and loads the value into the calculator.

What does 104 mean on a capacitor?

100 nF

10 are the significant figures and 4 is the number of zeros, so 104 is 100,000 pF. Divide by a thousand for 100 nF, and again for 0.1 µF. You will find it on almost every circuit board, because it is the standard decoupling value.

If the disc says 104 with nothing after it, the tolerance and voltage are not marked. The bag label or the datasheet is then the only way to know them.

Value 100 nF = 0.1 µF In pF 100,000 pF

2A104J on a film capacitor

100 nF, ±5%, 100 V

Film capacitors often print the whole specification in one line. 2A is the voltage code for 100 V, 104 is 100 nF and J is ±5%, so a good part measures 95 to 105 nF.

Film parts are chosen for audio and timing because their value barely changes with voltage, unlike most ceramics. The voltage code is only a guide across makers; some film series use their own letters, so check the datasheet when a code looks unfamiliar.

Value 100 nF Range 95 to 105 nF

Small values: 4R7 is 4.7 pF

4.7 pF ±0.25 pF

A three-digit code cannot write a value below 10 pF, so the R notation takes over: the R is the decimal point. 4R7 is 4.7 pF and 0R5 is 0.5 pF.

At this size a percentage tolerance makes little sense, so the letter gives picofarads instead: C means ±0.25 pF, a range of 4.45 to 4.95 pF. Parts this small are usually C0G, which keeps them stable in oscillators and radio circuits.

Value 4.7 pF Range 4.45 to 4.95 pF

471 is 470 pF, not 471 pF

470 pF

The last digit is a multiplier, not a figure. 471 is 47 followed by one zero, 470 pF, which is 0.47 nF. With K, the range is 423 to 517 pF.

The same rule explains 470 (47 pF, no zeros added) and 100 (10 pF). Reading 100 as 100 pF is the most common slip on small discs.

Value 470 pF 470 means 47 pF

Letter codes on ceramic chips: S4

47 nF

Most chip capacitors are not marked at all. Those that are use two characters: a letter for the first figures and a digit for the power of ten. S stands for 4.7, so S4 is 4.7 × 10,000 = 47,000 pF, or 47 nF.

The letters follow the E24 series, A for 1.0 up to Z for 9.1, with a few lower-case letters for values such as 2.5 and 3.5. The calculator holds the full table.

Value 47 nF A3 means 1,000 pF

105Z: 1 µF that might be much less

1 µF, +80% / −20%

105 is 1 µF and Z means the part can be 20% below or 80% above it, 0.8 to 1.8 µF. Z tolerance usually goes with Y5V, a dielectric that trades stability for capacitance in a small case.

Y5V can change by +22% / −82% between -30 and 85 °C, so on a cold morning or in a hot box the real value can be a fraction of what is printed. Fine for bulk decoupling, never for timing.

Value 1 µF Y5V change +22% / −82%

What code is 22 nF?

223

22 nF is 22,000 pF: the figures 22 followed by three zeros, so the code is 223. With J tolerance and a 50 V rating it would be printed as 1H223J on a film part, or 223J on a disc.

If the value you want has more than two significant figures, such as 22.5 nF, there is no code for it: capacitors come in standard series, and the calculator shows the nearest one.

Code 223

Common capacitor codes

CodepFnFµF
100100.010.00001
1011000.10.0001
2212200.220.00022
4714700.470.00047
1021,00010.001
2222,2002.20.0022
4724,7004.70.0047
10310,000100.01
22322,000220.022
47347,000470.047
104100,0001000.1
224220,0002200.22
474470,0004700.47
1051,000,0001,0001
10610,000,00010,00010

Each code is two significant figures and a count of zeros, in picofarads. 1 nF = 1,000 pF and 1 µF = 1,000 nF.

How the calculator works

The code is split into its parts: an optional voltage code at the front (two characters such as 2A), the value (three digits, R notation, or a letter and digit on chips), an optional tolerance letter, and an optional voltage written in full such as 50V.

Three digits are read as two figures times ten to the power of the third, in picofarads. A third digit of 7, 8 or 9 is rejected, because capacitor codes do not use them. R marks the decimal point. Chip letter codes use the E24 letter table from Vishay's marking document.

Tolerance letters (B, C, D, F, G, H, J, K, M, Z and V) come from Vishay's MLCC ordering guide. Voltage codes from 0J (6.3 V) to 2E (250 V) come from KEMET's A759 datasheet.

In value to code mode, the value is rounded to two significant figures and written back as a code, with a warning when the value you typed has no exact code.

What the model leaves out

  • Colour bands. Old tubular and some axial capacitors use colour bands like resistors. This calculator reads printed codes only.
  • Electrolytic capacitors. These print the value in full, such as 470 µF 25V, so they need no decoding. Their polarity stripe matters more than any code.
  • Maker-specific marks. Some series use their own voltage letters or date codes. When a mark is not in the tables here, the datasheet for that series is the only reliable key.
  • Rare dielectric codes. Only C0G (NP0), X7R, X5R and Y5V are explained, the four that cover almost every ceramic part people buy.

Common misconceptions

"104 means 104 pF." The last digit is a count of zeros, so 104 is 100,000 pF.

"A higher voltage rating changes the value." The voltage code only says how much DC the part can take. The value comes from the three digits.

"A 1 µF ceramic always gives 1 µF." Class II and III ceramics lose capacitance with temperature and DC voltage. Y5V can lose most of it.

Frequently asked questions

What does 104 mean on a capacitor?

104 means 10 followed by four zeros in picofarads: 100,000 pF, which is 100 nF or 0.1 µF. It is the standard decoupling capacitor value.

What does the K mean after 104?

K is the tolerance letter for ±10%, so 104K can measure from 90 to 110 nF. J is ±5% and M is ±20%.

What is 103 in nF?

103 is 10 followed by three zeros, 10,000 pF, which is 10 nF or 0.01 µF.

What does 2A mean on a capacitor?

2A is a voltage code meaning 100 V DC. Other common codes are 1H for 50 V and 2E for 250 V. Some series use their own letters, so check the datasheet when unsure.

What is the difference between X7R and C0G?

C0G is Class I and changes by only 0 ±30 ppm/°C from -55 to 125 °C, so it suits timing and filters. X7R is Class II, changes by up to ±15% over the same range, and packs far more capacitance into the same size.

Keep learning

More simulations

More electronics and batteries tools

See all science tools