Home / Tools / Capacitor code calculator

Capacitor code calculator

Small capacitors are marked with a short code instead of their value. Type it in to get the capacitance in pF, nF and µF, and the tolerance if there's a letter.

  • Electronics tool
  • Runs in your browser
  • Tested 19 November 2026
  • Sources
For example 104, 472J, 22, 4R7 or 105K.

How the code works

The value is always in picofarads. With three digits, the first two are the value and the third is the number of zeros to add:

  • 104 = 10 followed by 4 zeros = 100,000 pF = 100 nF = 0.1 µF
  • 472 = 4,700 pF = 4.7 nF
  • 220 = 22 pF (no zeros added)

A third digit of 8 means multiply by 0.01, and 9 means multiply by 0.1, so 229 is 2.2 pF. Codes with one or two digits are just the value in picofarads, so 22 is 22 pF. An R marks the decimal point: 4R7 is 4.7 pF.

Tolerance letters

LetterToleranceLetterTolerance
B±0.1 pFG±2%
C±0.25 pFJ±5%
D±0.5 pFK±10%
F±1%M±20%
Z+80% / −20%

The picofarad tolerances (B, C and D) are used on small capacitors, typically below 10 pF.

Things to watch for

  • Other markings often appear nearby, such as a voltage rating or a dielectric code like X7R or C0G. Those aren't part of the value.
  • Electrolytic and most larger capacitors print the value directly, for example 470 µF 25 V.
  • Many surface-mount ceramic capacitors have no marking at all. Measure them with a meter that has a capacitance range, or keep them in labelled tape.

Our guide to capacitors explains the types and when to use each.

Sources

Where the formulas and figures on this page come from. We test every tool against worked examples from these before publishing.

  • IEC 60062: Marking codes for resistors and capacitors (paid standard, not online)