Capacitor Code Calculator

Decode ceramic capacitor markings — 104 is 100 nF, not 104 of anything — or work backwards from a value to the printed code.

Inputs

Direction

The digits printed on the capacitor — 104, 223, 22, 4.

Results

Capacitance100 nFXY × 10^Z pF
Tolerance
10 %
Minimum
90 nF
Maximum
110 nF

Code 104 means 10 × 10^4 pF.

Diagram

Ceramic capacitor marked 104K, reading 100 nFThe printed marking 104K decodes to 100 nF.104K100 nF100,000 pF

Worked examples

104 — the decoupling capacitor

The most common capacitor in existence. One sits next to almost every IC ever made.

100 nF ±10%

223 — 22 nF

Filter and timing territory. A value you meet constantly in analogue circuits.

22 nF ±5%

22 — a two-digit code

Codes shorter than three digits are the value directly in picofarads, no multiplier.

22 pF ±5% — crystal loading territory

Work backwards from 1 µF

You know the value you need — find what to look for in the parts drawer.

Printed marking: 105K

How capacitor codes work

When to use this: identifying an unmarked-looking ceramic capacitor from a parts drawer, checking a BOM against what is actually on a board, or finding out what code to look for when you know the value you need.

Ceramic capacitors are too small to print a full value on, so they use a three-digit code: two significant figures followed by a power-of-ten multiplier. The base unit is picofarads, and that is the single most important thing to remember.

104 → 10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 µF

So 104 is not 104 of anything. It is 100 nF — the decoupling capacitor that sits next to almost every integrated circuit ever manufactured, and quite possibly the most-produced electronic component in history.

Codes of one or two digits are the value directly in picofarads, with no multiplier. A capacitor marked 22 is 22 pF, not 22 nF.

Common codes

CodePicofaradsNanofaradsMicrofaradsWhere you meet it
101100 pF0.1 nF0.0001 µFRF, compensation
221220 pF0.22 nFFilters
1021,000 pF1 nF0.001 µFTiming, snubbers
10310,000 pF10 nF0.01 µFCoupling, filtering
22322,000 pF22 nF0.022 µFAudio coupling
47347,000 pF47 nF0.047 µFFilters
104100,000 pF100 nF0.1 µFDecoupling — everywhere
224220,000 pF220 nF0.22 µFBulk decoupling
1051,000,000 pF1,000 nF1 µFBulk, coupling
10610 µFMLCC bulk storage

The 8 and 9 multipliers

Capacitors below 10 pF cannot use a normal power of ten, so two exponents are redefined: a third digit of 9 means ×0.1 and 8 means ×0.01.

479 → 47 × 0.1 = 4.7 pF
229 → 22 × 0.1 = 2.2 pF
108 → 10 × 0.01 = 0.1 pF

These turn up in RF work and oscillator circuits. If a code ending in 8 or 9 decodes to an absurdly large value, this is why.

Tolerance letters

LetterToleranceTypical use
B±0.1 pFVery small values, RF
C±0.25 pFVery small values
D±0.5 pFSmall values
F±1%Precision timing, filters
G±2%Precision
J±5%General purpose, C0G parts
K±10%The most common by far
M±20%Decoupling, where value barely matters
Z+80% / −20%Cheap high-value ceramics

Note that B, C and D are absolute tolerances in picofarads, not percentages. On a 2 pF capacitor, ±0.25 pF is more than 10% — a percentage figure would be meaningless at those values.

Z deserves particular suspicion. A capacitor marked 105Z could be anywhere from 0.8 µF to 1.8 µF, and that is before temperature and bias effects. It is only acceptable where the exact value genuinely does not matter.

Dielectric classes matter more than tolerance

The tolerance letter tells you the spread at 25 °C with no voltage applied. What it does not tell you is how much the capacitance moves once the part is in a real circuit — and for ceramics that can dwarf the tolerance.

ClassStabilityValues availableUse for
C0G / NP0Excellent — ±30 ppm/°C, no bias effectSmall, up to ~10 nFTiming, filters, oscillator loading
X7RModerate — ±15% over −55 to +125 °CMedium to largeDecoupling, coupling
X5RSimilar to X7R, narrower temperature rangeLargeBulk decoupling
Y5VPoor — +22%/−82% over rangeLargest for the moneyAvoid unless value is irrelevant

The DC bias problem

This catches people out constantly. Class 2 ceramics — X7R, X5R, Y5V — lose capacitance when a DC voltage is applied across them. A 10 µF X5R rated at 6.3 V can measure under 4 µF with 5 V across it, and the datasheet curve is often buried or omitted entirely.

The practical consequence: if you need 10 µF of actual capacitance at 5 V, specify a part rated well above 5 V, or use a physically larger package. A tolerance letter of K tells you nothing about this — a K-rated X5R can be 50% low in circuit and still be within specification, because the specification is measured with no bias applied.

Other markings you will meet

  • Direct µF values. Electrolytics and film capacitors are large enough to print the real value — 10µF 25V, 0.1 µF.
  • The n notation. European film capacitors often use 4n7 for 4.7 nF, with the unit letter standing in for the decimal point — the same RKM convention used for resistors.
  • The R notation. 4R7 means 4.7 pF on a capacitor, the same way it means 4.7 Ω on a resistor. Context decides the unit.
  • Voltage rating. Frequently printed alongside, sometimes coded. Never exceed it — ceramic capacitors fail short, which can be spectacular on a power rail.

Why 100 nF is everywhere

A 104 next to every IC is not superstition. Digital chips draw current in sharp spikes as their outputs switch, and the supply track between the chip and the power supply has inductance. Without a local reservoir, those spikes turn into voltage dips at the chip’s supply pin, which cause logic errors.

100 nF happens to sit in a useful spot: large enough to supply the charge for a switching event, small enough that its self-resonant frequency in a small package stays high enough to be effective at digital switching speeds. Larger capacitors are better at low frequencies but their lead inductance makes them useless at high ones — which is why boards often pair a 104 with a 10 µF bulk capacitor rather than choosing between them.

How to use this calculator

  1. Read the digits off the capacitor

    Ceramic capacitors are marked with one, two or three digits, often followed by a tolerance letter.

  2. Enter the code

    Type the digits exactly as printed. Three digits are two significant figures plus a power-of-ten multiplier; fewer digits are a direct picofarad value.

  3. Set the tolerance letter

    The letter after the digits. K is ±10% and by far the most common; J is ±5%.

  4. Read the value with its range

    The result is shown in whichever unit is most readable, along with the minimum and maximum the tolerance allows.

Frequently asked questions

What does 104 mean on a capacitor?

100 nF. The code is two significant digits followed by a power-of-ten multiplier, and the base unit is picofarads: 10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 µF. It is the standard decoupling capacitor, and probably the most manufactured electronic component in history.

How do I read a 3-digit capacitor code?

Take the first two digits as significant figures, and the third as the number of zeros to append — the result is in picofarads. So 103 is 10 followed by three zeros, which is 10,000 pF or 10 nF. Convert to nF by dividing by 1,000, and to µF by dividing by 1,000,000.

Why are capacitor codes in picofarads?

Because it keeps the code to whole numbers across the entire practical range. Ceramic capacitors span roughly 1 pF to 10 µF, which is seven decades — expressing that in picofarads means the multiplier digit stays between 0 and 7. It also predates the widespread use of nanofarads, which is why some regions still label everything in µF or pF and skip nF entirely.

What do the letters after the number mean?

Tolerance. J is ±5%, K is ±10%, M is ±20%. Below about 10 pF the codes become absolute rather than proportional: B is ±0.1 pF, C is ±0.25 pF, D is ±0.5 pF. Z is the odd one out at +80%/−20%, used on cheap high-capacitance ceramics whose value is barely controlled at all.

What does a code ending in 8 or 9 mean?

Those are the fractional multipliers used for capacitors under 10 pF, where a normal power of ten would not work. A third digit of 9 means ×0.1, and 8 means ×0.01. So 479 is 47 × 0.1 = 4.7 pF, and 108 is 10 × 0.01 = 0.1 pF.

How do I convert between pF, nF and µF?

1 µF = 1,000 nF = 1,000,000 pF. Moving up a unit divides by 1,000. So 100 nF is 0.1 µF and 100,000 pF — all three describe the same capacitor, and which one you see printed depends largely on where it was made.

Why does my capacitor measure less than its marked value?

On class 2 ceramics — X7R, X5R, Y5V — capacitance falls substantially under DC bias. A 10 µF X5R rated at 6.3 V can lose more than half its capacitance at 5 V applied. It also drifts with temperature and ages over time. Class 1 dielectrics like C0G/NP0 are stable but only available in small values.

What does X7R or C0G mean?

They are dielectric classes. C0G (also called NP0) is stable across temperature and voltage but limited to small values — use it for timing, filters and oscillator loading. X7R and X5R offer far more capacitance in the same package but vary with temperature and bias, which is fine for decoupling and bulk storage. Y5V is the cheapest and least stable, and worth avoiding except where the value genuinely does not matter.

Sources and further reading

Last reviewed .

Related calculators