Component guide · Beginner · 3 min read
Capacitors Explained
Types, Codes, Polarity and Uses
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
A capacitor stores electric charge and releases it quickly, which lets it smooth power supplies, filter noise and set timing. Values are in farads, usually microfarads (µF) or nanofarads (nF). Ceramic capacitors marked 104 are 100 nF and go beside every IC. Electrolytic capacitors hold more charge but are polarised: the striped leg is negative.
Key specs at a glance
- Unit
- Farad (F); 1 µF = 1,000 nF = 1,000,000 pF
- Code
- Two digits + number of zeros in pF: 104 = 100,000 pF = 100 nF = 0.1 µF
- Ceramic (MLCC)
- 1 pF to about 100 µF, not polarised, low ESR
- Aluminium electrolytic
- 0.1 µF to tens of thousands of µF, polarised
- Voltage rating
- Choose at least 1.5 to 2x the working voltage
- Time constant
- τ = R x C (seconds)
What does a capacitor do in a circuit?
a 100 nF ceramic next to each chip's power pins supplies tiny current bursts and stops noise travelling along the supply.
100 to 1000 µF electrolytics hold the supply steady when motors, LED strips or Wi-Fi radios draw current spikes.
with a resistor, a capacitor forms an RC filter that removes high-frequency noise from sensor signals.
charge time through a resistor sets delays and frequencies, as in the 555 timer.
passes AC audio signals while blocking DC.
Capacitor types compared
| Type | Range | Polarised? | Best for |
|---|---|---|---|
| Ceramic disc / MLCC | 1 pF to 100 µF | No | Decoupling, high frequency, timing |
| Aluminium electrolytic | 0.1 µF to 47,000 µF | Yes | Power smoothing, bulk storage |
| Tantalum | 0.1 µF to 1000 µF | Yes | Compact stable supplies (e.g. AMS1117 output) |
| Film (polyester, polypropylene) | 1 nF to 10 µF | No | Audio, precision timing, mains (X/Y rated) |
| Supercapacitor | 0.1 F to 100s of F | Yes | Backup power, energy buffering |
- Ceramic disc / MLCC
- Range:
- 1 pF to 100 µF
- Polarised?:
- No
- Best for:
- Decoupling, high frequency, timing
- Aluminium electrolytic
- Range:
- 0.1 µF to 47,000 µF
- Polarised?:
- Yes
- Best for:
- Power smoothing, bulk storage
- Tantalum
- Range:
- 0.1 µF to 1000 µF
- Polarised?:
- Yes
- Best for:
- Compact stable supplies (e.g. AMS1117 output)
- Film (polyester, polypropylene)
- Range:
- 1 nF to 10 µF
- Polarised?:
- No
- Best for:
- Audio, precision timing, mains (X/Y rated)
- Supercapacitor
- Range:
- 0.1 F to 100s of F
- Polarised?:
- Yes
- Best for:
- Backup power, energy buffering
Reading capacitor codes
Small ceramic and film capacitors use a 3-digit code in picofarads: first two digits, then the number of zeros.
| Code | Value | Also written |
|---|---|---|
| 101 | 100 pF | |
| 102 | 1,000 pF | 1 nF |
| 103 | 10,000 pF | 10 nF |
| 104 | 100,000 pF | 100 nF, 0.1 µF |
| 105 | 1,000,000 pF | 1 µF |
| Letter after code | Tolerance | J = ±5%, K = ±10%, M = ±20% |
- 101
- Value:
- 100 pF
- 102
- Value:
- 1,000 pF
- Also written:
- 1 nF
- 103
- Value:
- 10,000 pF
- Also written:
- 10 nF
- 104
- Value:
- 100,000 pF
- Also written:
- 100 nF, 0.1 µF
- 105
- Value:
- 1,000,000 pF
- Also written:
- 1 µF
- Letter after code
- Value:
- Tolerance
- Also written:
- J = ±5%, K = ±10%, M = ±20%
Electrolytic capacitor polarity
On aluminium electrolytics, the stripe with minus signs marks the negative leg, and the negative leg is shorter. On tantalum capacitors the stripe marks the positive side. Fitting an electrolytic backwards makes it heat, bulge and possibly burst, so double-check before powering up.
How to choose a capacitor
- 1Value: follow the datasheet (for regulators and ICs) or the formula for your filter or timer.
- 2Voltage: at least 1.5x the highest voltage it will see; 2x for electrolytics on power rails. A 16 V part on a 12 V rail is the minimum; 25 V is better.
- 3Type: ceramic for decoupling and small values; electrolytic for bulk; film for audio and precision.
- 4Temperature and ripple: in power supplies, choose 105 °C, low-ESR electrolytics.
Safety: capacitors can stay charged
Large capacitors in power supplies, camera flashes and mains equipment can hold a dangerous charge long after unplugging. Discharge them through a suitable resistor (for example 1 kΩ, 5 W) while wearing insulated gloves, and verify with a multimeter before touching.
Try it: Capacitor code calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Fitting an electrolytic capacitor backwards.
- Using a capacitor rated at or below the circuit voltage.
- Placing decoupling capacitors far from the chip they protect; keep them within a few millimetres.
- Assuming high-value ceramics keep their value: X5R and Y5V types can lose over half their capacitance at their rated DC voltage.
- Touching the leads of large charged capacitors.
Frequently asked questions
What does 104 mean on a capacitor?
10 followed by 4 zeros picofarads: 100,000 pF, which is 100 nF or 0.1 µF. It is the standard decoupling value.
Which side of an electrolytic capacitor is negative?
The side with the stripe of minus signs, which is also the shorter leg.
Can I use a higher-voltage capacitor than specified?
Yes. A higher voltage rating is always safe; the capacitor is just larger and sometimes more expensive. Never use a lower rating.
Why do I need a capacitor on my LED strip or motor driver?
A large capacitor across the supply supplies current spikes and absorbs voltage spikes, preventing resets, flicker and damage to the first LED or driver.
What is ESR?
Equivalent series resistance: the small internal resistance of a capacitor. Low ESR matters in switching power supplies and regulators because it reduces ripple and heating.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 28 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- IEC 60062 marking codes
- Murata MLCC DC-bias characteristics application notes
- Nichicon and Panasonic aluminium electrolytic capacitor datasheets
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



