Capacitor Types and Markings: the short answer
Capacitors store charge, and the type you pick matters as much as the value. Ceramic capacitors are small, cheap and have no polarity; they are used from a few picofarads up to a few microfarads, mainly for decoupling, filtering and timing. Example: Use a 220 µF 25 V electrolytic with the stripe to ground, plus a 104 ceramic close to the regulator's pins.
- Level
- Beginner
- Time
- About 6 min
- Topic
- Passive components
Recognise ceramic, electrolytic, film and tantalum capacitors, read their markings and fit polarised ones the right way round.
Before this: Capacitors & Inductors
Capacitors store charge, and the type you pick matters as much as the value. Ceramic capacitors are small, cheap and have no polarity; they are used from a few picofarads up to a few microfarads, mainly for decoupling, filtering and timing. Electrolytic capacitors give large values (1 µF to thousands of µF) cheaply and are used for bulk storage on power rails, but they are polarised. Film capacitors (polyester, polypropylene) are stable and handle high voltages, so they appear in audio, timing and mains circuits. Tantalum capacitors are compact polarised parts that fail badly if reversed or over-stressed.
Ceramic capacitors are marked with a three-digit code in picofarads: the first two digits are the value and the third is the number of zeros. 104 means 10 followed by four zeros, which is 100,000 pF = 100 nF = 0.1 µF. 103 is 10 nF and 220 is 22 pF. Electrolytics print the value and voltage directly, for example 100 µF 25 V.
Polarity matters. On an electrolytic the negative lead is marked with a stripe of minus signs, and it is the shorter lead on a new part. On a tantalum the stripe marks the positive side, the opposite of an electrolytic. A reversed electrolytic heats up and can vent or burst. Always pick a voltage rating comfortably above the circuit's voltage; a 16 V or 25 V part on a 12 V rail is a sensible choice, and never use a 6.3 V capacitor on 5 V if there is any chance of spikes.
What makes each type behave differently
Ceramic capacitors use a ceramic dielectric. Class 1 types (C0G, also called NP0) are very stable and are used in filters and oscillators. Class 2 types (X7R, X5R, Y5V) pack more capacitance in less space but change with temperature and with the DC voltage across them. A 10 µF X5R rated 6.3 V may be only 3 µF at 5 V.
Electrolytics roll foil with a liquid or polymer electrolyte. They give high capacitance at low cost but have a leaky, resistive nature (ESR), a limited life that halves for every 10 °C of heat, and a polarity. Film capacitors are bulkier, stable, non-polar and self-healing, which is why they are used across mains and in audio paths.
ESR and ripple current
Every capacitor has a small series resistance (ESR) and inductance. In a switching supply the capacitor carries large ripple current, and heat from ESR × current² is what ages it. Low-ESR and polymer capacitors are chosen for that reason. A ceramic in parallel with an electrolytic handles fast edges and bulk storage together.
Above its self-resonant frequency, a capacitor stops acting like a capacitor and behaves like an inductor. A 100 nF ceramic works well up to a few tens of MHz; above that, smaller values such as 1 nF do better.
Reading codes quickly
Ceramic discs: 104 is 100 nF, 103 is 10 nF, 102 is 1 nF, 473 is 47 nF, 22 or 220 is 22 pF. A letter after the code is the tolerance: J is 5 %, K is 10 %, M is 20 %, Z is −20/+80 %. Voltage may follow, such as 50 V or a code like 1H (50 V).
Surface-mount ceramics are usually unmarked, so keep them in their labelled bags. Tantalum and electrolytic SMD parts have a stripe or bevel that marks positive for tantalum and negative for aluminium electrolytic, which is a common source of confusion.
Choosing for a real design
Decoupling: 100 nF X7R ceramic at each chip's supply pin. Bulk smoothing: 100 to 470 µF electrolytic on a 5 V input, rated at least 1.5 to 2 times the voltage. Timing: C0G or film, because X7R drifts. Audio coupling: film or C0G rather than X7R, which can make microphonic noise.
Never use a tantalum capacitor across a low-impedance supply without a series resistor or a part derated to half its voltage. A surge can make it fail short, and sometimes burn.
- Treating a ceramic's marked value as exact at its working voltage.
- Reversing a tantalum because it is the opposite of an aluminium electrolytic.
- Using a 6.3 V or 10 V capacitor on a rail that can spike near its rating.
Which capacitor for a 12 V Arduino project's input?
- The input needs bulk storage to ride through motor current pulses: 100 µF to 470 µF.
- That value calls for an electrolytic.
- The rail is 12 V and can spike higher, so choose 25 V (about twice the working voltage).
- Add a 100 nF ceramic (marked 104) next to the regulator for high-frequency noise.
Result. Use a 220 µF 25 V electrolytic with the stripe to ground, plus a 104 ceramic close to the regulator's pins.
Sort the capacitors in your kit into ceramic, electrolytic and film. Decode the three-digit markings on five ceramic capacitors, and for each electrolytic write down its value, voltage and which lead is negative.
3 quick questions
A ceramic capacitor is marked 104. What is its value?
On an electrolytic capacitor, what does the stripe mark?
Which voltage rating suits an electrolytic on a 12 V rail?
