Ceramic Capacitor Code Calculator

Decode a 3-digit ceramic capacitor code into pF/nF/µF, or convert a value back to its printed code.
Code → Value
Value → Code

Decode a Capacitor Code

First two digits × 10third digit = value in pF  (e.g. 104 = 10 × 104 = 100000 pF = 0.1 µF)
104 (0.1µF)
223 (22nF)
472 (4.7nF)
101 (100pF)
Enter a code and press Decode.

Value to Code

Convert the value to pF, then write the first two significant digits followed by the number of trailing zeros.
0.1 µF
22 nF
100 pF
Enter a value and press Encode.

Reading Ceramic Capacitor Codes

Small ceramic capacitors are too tiny to print the full value, so they use a 3-digit code (plus an optional tolerance letter). The first two digits are the significant figures and the third is the multiplier — the number of zeros to add — giving the value in picofarads (pF). For example, 104 means 10 followed by four zeros = 100000 pF = 100 nF = 0.1 µF.

Multiplier digitMultiply by
0×1
1×10
2×100
3×1000 (1 nF)
4×10000
5×100000
8 / 9×0.01 / ×0.1 (rare)

A code of two or fewer digits (like "22") is simply the value in pF. An "R" marks a decimal point (4R7 = 4.7 pF). The tolerance letter (J = ±5%, K = ±10%, M = ±20%) follows the number.

Real-World Applications & Examples

Worked examples

1. The classic 104. 10 × 10⁴ = 100000 pF = 0.1 µF — the standard decoupling capacitor.
2. Code 223. 22 × 10³ = 22000 pF = 22 nF.
3. Code 472. 47 × 10² = 4700 pF = 4.7 nF.
4. Code 101. 10 × 10¹ = 100 pF — note 101 is 100 pF, not 101 pF.
5. Small value "22". A two-digit marking is the direct value: 22 pF.
6. Value to code. 22 nF = 22000 pF → 22 with three zeros → code 223.

Reading the Code, and the Dielectric Letters That Matter More

The three-digit code works like resistor bands: the first two digits are significant figures and the third is the number of zeros, giving a value in picofarads. So 104 is 10 followed by four zeros — 100,000 pF, or 0.1 µF. A code of 223 is 22,000 pF or 22 nF.

The dielectric code is the part people ignore

Alongside the value sits a code such as C0G, X7R or Y5V, and it often matters more than the capacitance itself:

ClassExampleStabilitySuited to
Class 1C0G / NP0Excellent; ±30 ppm/°C, negligible voltage effectFilters, timing, oscillators
Class 2X7R±15% over −55 to +125 °CDecoupling, general bypass
Class 2Y5V+22% / −82% over its rangeBulk bypass only, non-critical

A Y5V part can lose more than four fifths of its capacitance at the edge of its temperature range. Using one in a timing circuit or a filter will produce behaviour that drifts with temperature in ways that are maddening to debug.

DC bias: the trap that catches everyone once

Class 2 ceramics also lose capacitance as DC voltage is applied, and the effect is dramatic. A 10 µF X7R rated at 16 V can measure only 3–5 µF when actually operating at 12 V. Nothing is faulty; this is normal behaviour for the dielectric.

It matters because the part is usually chosen for its nameplate value. The remedies are to derate heavily — choose a voltage rating two or three times the working voltage — to use a physically larger case size, or to check the manufacturer’s capacitance-versus-bias curve rather than trusting the printed number. C0G parts are effectively immune, which is another reason they are specified where the value must be right.

Frequently Asked Questions

How do I read a 3-digit capacitor code?

The first two digits are the significant figures and the third is the number of zeros to add, giving the value in picofarads. For example 104 = 10 with four zeros = 100000 pF = 0.1 µF.

What does 104 mean on a capacitor?

104 = 10 × 10⁴ pF = 100000 pF = 100 nF = 0.1 µF — the common decoupling/bypass capacitor value.

Why is the value in picofarads?

The code convention always gives picofarads first because ceramic capacitors are usually small. You then convert to nF (÷1000) or µF (÷1,000,000) as needed.

What does the letter after the number mean?

It is the tolerance: J = ±5%, K = ±10%, M = ±20%, and letters like F (±1%) or Z (+80/−20%) for others. It tells you how far the real value can vary.

What if the code is only two digits?

Then it is simply the value in picofarads. For example "22" means 22 pF and "47" means 47 pF.

What does the letter R in a code mean?

R marks a decimal point in a small-value part. So 4R7 = 4.7 pF and R47 = 0.47 pF.

Is 101 equal to 101 pF?

No — 101 is a coded value: 10 × 10¹ = 100 pF. Only two- or one-digit markings are read directly.

How do I convert the code to nanofarads or microfarads?

Work out the pF value, then divide by 1000 for nF or by 1,000,000 for µF. So 104 = 100000 pF = 100 nF = 0.1 µF.

What do multiplier digits 8 and 9 mean?

They are the rare fractional multipliers: 8 means ×0.01 and 9 means ×0.1. Most codes use 0–6.

Does the code tell me the voltage rating?

No — the 3-digit code is only the capacitance. Voltage rating and temperature coefficient (like X7R or C0G) are marked separately or found in the datasheet.

What is the difference between this and the color code?

Modern ceramic capacitors use the numeric 3-digit code; older or larger types sometimes used color bands, which are now uncommon.

How do I find the code for a known value?

Convert the value to picofarads, then write the first two significant digits followed by the count of trailing zeros. The second tab of this calculator does it for you.

How do I read a three-digit ceramic capacitor code?

The first two digits are significant figures and the third is the number of zeros, giving picofarads. 104 means 100,000 pF = 0.1 µF; 223 means 22,000 pF = 22 nF.

What does C0G or NP0 mean?

A Class 1 dielectric with excellent stability, around ±30 ppm/°C and negligible voltage dependence. It is the right choice for filters, timing circuits and oscillators where the value must stay put.

What is the difference between X7R and Y5V?

X7R holds within ±15% from −55 to +125 °C. Y5V can vary from +22% to −82% across its range, so it is only suitable for non-critical bulk bypass.

Why does my ceramic capacitor measure far less than its rating?

Class 2 ceramics lose capacitance under DC bias. A 10 µF 16 V X7R part may provide only 3–5 µF at 12 V. This is normal dielectric behaviour, not a fault.

How do I avoid the DC bias problem?

Derate the voltage rating to two or three times the working voltage, use a larger case size, or choose a C0G part where the value is critical. Always check the manufacturer's bias curve rather than the printed value.

What does the letter after the code mean?

It is the capacitance tolerance. J is ±5%, K is ±10% and M is ±20%. It is separate from the dielectric code, which describes temperature behaviour.

Related Calculators

SMD Capacitor Code • Series & Parallel Capacitor • Capacitive Reactance • All Calculators

Capacitor Components