Capacitor Code Calculator

Decode a capacitor’s printed code into picofarads, nanofarads and microfarads, with the tolerance letter and voltage code.

Number of zeros to add. 8 and 9 mean divide by 100 and 10 instead.
Capacitance 100,000 pF
value in pF = (first two digits) × 10^(third digit), except 8 → ÷100 and 9 → ÷10
In nanofarads 100 nF
In microfarads 0.1 µF
The code 104
With tolerance No tolerance marked. Unmarked ceramics are commonly ±20%, so treat the value as approximate.
Reactance at 1 kHz 1591.549 Ω
Worth knowing Code 104 is 100000 pF, which is 100 nF or 0.1 µF. The first two digits are the value and the third is the number of zeros to add, in picofarads. 104 is the one worth memorising: 100 nF, or 0.1 µF, the standard decoupling capacitor you will find beside almost every integrated circuit on a board. A two-digit marking is not a code — it is the value in picofarads directly, so 47 is 47 pF. Three digits is a code, which is why 470 is 47 pF and not 470 pF. Ceramic capacitors drift considerably with temperature and applied voltage, and a high-value X7R or Y5V part can lose a large fraction of its capacitance at its rated voltage. For anything where the value matters, the dielectric code (NP0, X7R, Y5V) matters as much as the number.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Capacitor Code Calculator does

The capacitor code calculator on this page will decode a capacitor’s printed code into picofarads, nanofarads and microfarads, with the tolerance letter and voltage code. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for decoding the marking on a capacitor you have in hand. There are more free online tools on FreeToolsWorld.org.

How to use it

  1. Read the three digits printed on the capacitor and enter them.
  2. Add the tolerance letter if one is marked.
  3. Read the value in picofarads, nanofarads and microfarads.

How it works

The three-digit code on a ceramic or film capacitor works like a resistor code: the first two digits are the significant figures and the third is the number of zeros, with the result in picofarads. So 104 is 10 followed by four zeros — 100,000 pF, which is 100 nF or 0.1 µF. That one is worth committing to memory, because it is the standard decoupling capacitor sitting next to almost every integrated circuit ever made.

There is one exception and it catches everyone. A third digit of 8 or 9 does not mean eight or nine zeros — it means divide by 100 or by 10 instead. So 229 is 2.2 pF, not 22 followed by nine zeros. The scheme does this because there is no other way to mark values below 10 pF in a system built on multiplying, and those small values are common in radio-frequency work.

A two-digit marking is not a code at all: it is the value in picofarads directly. A capacitor marked 47 is 47 pF, while one marked 470 is 47 followed by one zero, which is also 470 pF — the same number arrived at two ways, which is confusing but consistent. The rule is that three digits means a code and fewer means a literal value.

The tolerance letter after the digits is often ignored and sometimes matters a great deal. J is ±5 per cent, K is ±10, M is ±20, and Z is the alarming +80 per cent −20 per cent used on high-value ceramics. For decoupling, any of them is fine — the capacitor only has to be roughly big enough. For a filter, a timing circuit or anything tuned, a ±20 per cent part will move the frequency audibly or measurably, and the tolerance is the specification rather than a footnote.

One thing the code does not tell you and which frequently matters more than the value: the dielectric. A ceramic capacitor’s capacitance varies with temperature and with applied voltage, and how much depends on the dielectric class. NP0 or C0G parts are stable and only available in small values. X7R drifts moderately. Y5V can lose most of its capacitance at its rated voltage and over its temperature range. A 10 µF Y5V part in a circuit that needs 10 µF is frequently not delivering it.

When to use it

  • Decoding the marking on a capacitor you have in hand.
  • Identifying a replacement part from a board marking.
  • Converting between picofarads, nanofarads and microfarads.
  • Checking a tolerance letter before using a part in a tuned circuit.
  • Teaching the coding scheme with a worked example.

Common mistakes to avoid

  • Reading a third digit of 8 or 9 as zeros. Those mean divide by 100 and 10.
  • Treating a two-digit marking as a code. Two digits is the value in picofarads directly.
  • Ignoring the tolerance letter in a timing or filter circuit.
  • Assuming the printed value is what the part delivers. Ceramic dielectrics drift with temperature and voltage.
  • Confusing nanofarads and microfarads. 104 is 100 nF, which is 0.1 µF.

Frequently asked questions

What value is a capacitor marked 104?

100 nF, which is 0.1 µF or 100,000 pF. The 10 is the value and the 4 is four zeros, in picofarads. It is the standard decoupling capacitor.

What does a third digit of 9 mean?

Divide by 10, not add nine zeros. So 229 is 2.2 pF. An 8 means divide by 100. This is how values under 10 pF are marked and it is the exception people trip over.

What do the letters after the digits mean?

Tolerance. J is ±5%, K ±10%, M ±20%, and Z is +80% −20%. For decoupling it rarely matters; for a filter or timing circuit it is the specification.

Why is a capacitor marked 47 different from one marked 470?

Both are 47 pF. Two digits is the literal value in picofarads; three digits is a code, so 470 is 47 with one zero. Three digits always means the coding scheme.

Is the marked value what I actually get?

Not necessarily. Ceramic capacitance varies with temperature and applied voltage depending on the dielectric — NP0 is stable, X7R drifts, and Y5V can lose most of its value at rated voltage. The dielectric code matters as much as the number.

Related tools

See all science & engineering →