Capacitor code calculator: from 104 to 100 nF and back
Small capacitors carry a short capacitor code: three digits such as 104, a tolerance letter such as K, sometimes a voltage code such as 1H and a temperature code such as X7R. This capacitor code calculator decodes all four and shows the value in pF, nF and µF with the tolerance range, rating and temperature behaviour.
It also runs in reverse (100 nF → 104K), totals capacitors in series or parallel, and covers the everyday maths — charge Q = CV, energy ½CV² and an RC time constant calculator that also handles RL circuits, with the charge/discharge curve and the cut-off frequency.
Codes follow the EIA-198 and IEC 60062 conventions; everything is computed in your browser.
How to use the Capacitor Code Calculator
- Type the printed code into “Capacitance code” — digits with or without a tolerance letter (104, 104K, 472J, 22, 4R7, 2n2).
- Optionally add the voltage code (1H, 2A, 50V) and temperature code (X7R, C0G).
- Read the result; the charts below it list every letter code.
- Switch to “Value → code” to label a part, “Series / parallel” to combine capacitors, “Charge, energy & RC” for Q and E, or “RC / RL time constant” for τ, the curve, the time to a chosen percentage and the C or L for a target cut-off.
Capacitor Code Calculator features
Every common marking style
3-digit codes (104 = 100 nF, 229 = 2.2 pF), bare pF values (22), R-as-decimal (4R7), European letter-as-unit (2n2, 4u7) and decimal µF markings (.047).
Tolerance letters with real ranges
B/C/D in pF, F to M in per cent and the asymmetric Z, each turned into a minimum–maximum capacitance.
Voltage and temperature codes
EIA voltage codes from 0E (2.5 V) to 3A (1000 V), Class 2 codes like X7R (−55…+125 °C, ±15 %) and Class 1 codes like C0G/NP0 (0 ±30 ppm/°C).
Series and parallel
Any number of capacitors, with the formulas written out.
Charge, energy, RC and RL
Q and E; τ = RC or L/R with a curve to 5τ, values at any time t, the time to any percentage and the C or L for a target f_c.
Reverse lookup
Any value becomes a 3-digit code, tolerance letter and European equivalent.
How the 3-digit capacitor code works
The first two digits are the significant figures and the third is the number of zeros, giving a value in picofarads: 104 = 10 followed by 4 zeros = 100 000 pF = 100 nF = 0.1 µF. Third digits 8 and 9 mean ×0.01 and ×0.1, so 229 is 2.2 pF. Values below 10 pF use R for the decimal point (4R7 = 4.7 pF), and European markings use the unit letter in the same way (2n2 = 2.2 nF, 4u7 = 4.7 µF).
| Code | Value | Also written |
|---|---|---|
| 101 | 100 pF | 0.1 nF |
| 102 | 1 nF | 1000 pF, 0.001 µF |
| 103 | 10 nF | 0.01 µF |
| 104 | 100 nF | 0.1 µF, 100000 pF |
| 105 | 1 µF | 1000 nF |
| 224 | 220 nF | 0.22 µF |
| 472 | 4.7 nF | 4n7, 4700 pF |
Tolerance, voltage and temperature letters
- Tolerance: B ±0.1 pF, C ±0.25 pF, D ±0.5 pF, F ±1 %, G ±2 %, H ±3 %, J ±5 %, K ±10 %, M ±20 %, Z +80/−20 %. So 104K is 100 nF ±10 % — anywhere from 90 to 110 nF.
- Voltage (digit + letter): 0J 6.3 V, 1A 10 V, 1C 16 V, 1E 25 V, 1V 35 V, 1H 50 V, 1J 63 V, 2A 100 V, 2E 250 V, 2G 400 V, 2J 630 V. Rate parts well above the circuit voltage.
- Class 2 temperature codes (EIA-198): first letter = low temperature (X −55 °C, Y −30 °C, Z +10 °C), digit = high temperature (5 +85 °C, 6 +105 °C, 7 +125 °C), last letter = maximum capacitance change (R ±15 %, S ±22 %, U +22/−56 %, V +22/−82 %). Y5V and Z5U drift a lot.
- Class 1 codes: C0G (NP0) means 0 ±30 ppm/°C — very stable, used for timing and filters.
Capacitor formulas used here
Parallel capacitors add: C = C₁ + C₂ + …. In series the reciprocals add: 1/C = 1/C₁ + 1/C₂ + …, so two 10 µF parts in series give 5 µF. Charge Q = C·V and energy E = ½·C·V²: a 100 µF capacitor at 12 V stores 1.2 mC and 7.2 mJ. The 555 timer calculator builds on the RC relationship, and the resistor colour code calculator decodes the resistor side.
RC time constant formula, RL circuits and frequency
The time constant is τ = R·C for a resistor and capacitor, or τ = L/R for a resistor and inductor. After one τ a charging capacitor reaches 63.2 % of the supply (v = V·(1 − e^(−t/τ))); after 5τ it is above 99 % and usually treated as full. Discharging follows e^(−t/τ), and the time to any level is t = −τ·ln(1 − p) charging or −τ·ln(p) discharging. To go from RC time constant to frequency, f_c = 1/(2πτ): 1 kΩ with 100 nF, or 100 Ω with 10 mH, gives τ = 100 µs and f_c ≈ 1.59 kHz. These are ideal first-order formulas; real parts add tolerance, ESR and leakage.
Capacitor Code Calculator FAQ
What does 104 on a capacitor mean?
104 means 10 × 10⁴ pF = 100 000 pF = 100 nF = 0.1 µF. A following letter gives the tolerance: 104K is ±10 %, 104J ±5 %, 104M ±20 %.
What is the difference between X7R and C0G?
X7R is a Class 2 ceramic rated −55 to +125 °C with up to ±15 % capacitance change and noticeable loss under DC bias; C0G (NP0) is a Class 1 ceramic with a near-zero temperature coefficient (0 ±30 ppm/°C), far more stable but only available in smaller values.
What does the voltage code 1H mean?
1H is 50 V. The digit gives the decade and the letter the value: 1A 10 V, 1C 16 V, 1E 25 V, 1H 50 V, 2A 100 V, 2G 400 V.
How do I calculate the RC time constant?
Multiply resistance by capacitance: τ = R × C in seconds when R is in ohms and C in farads. 1 kΩ × 100 nF = 100 µs. The “RC / RL time constant” mode adds the curve, the 1τ–5τ table and the cut-off frequency.
How do I find the RL time constant?
Divide inductance by resistance: τ = L/R. 10 mH with 100 Ω gives 100 µs, so the current reaches 63.2 % of V/R after 100 µs and is final after about 500 µs.