In this guide
Your 555 timer circuit oscillates at the wrong frequency, a power supply rail buzzes, or a filter rolls off an octave early — and the schematic symbol in every case is the same innocent-looking capacitor. Students learn capacitors as "C = Q/V" in theory class and then grab whatever 10µF is in the component box, assuming they're all interchangeable. They're not. A capacitor's dielectric, construction, and parasitics decide whether it decouples your MCU cleanly or injects its own problems into the circuit.
This guide compares the four capacitor families a student will actually buy — ceramic, electrolytic, tantalum, and film — and gives you a practical selection workflow: which one for which job, the three datasheet parameters that matter, and the failure modes that catch beginners.
What a capacitor actually does in your circuit
A capacitor stores charge, but in circuits it plays three distinct roles:
- Filtering/energy storage: smooth out ripple on a power rail (electrolytics after a rectifier).
- Decoupling: deliver current instantly when a digital chip switches, keeping the supply rail quiet (small ceramics at the chip).
- Signal coupling and timing: pass AC while blocking DC (film/ceramic in audio), or set a time constant with a resistor (ceramic/film in 555 and filter circuits).
No single capacitor type is best at all three. Each family trades capacitance density, stability, ESR (equivalent series resistance), and cost differently — and picking the wrong one for the job is one of the most common beginner mistakes.
Ceramic capacitors (MLCC)
Multilayer ceramic chip capacitors — the tiny tan or grey blocks on every PCB.
- Range: picofarads to tens of microfarads.
- Strengths: extremely low ESR and ESL (equivalent series inductance), cheap, tiny, non-polarized, excellent high-frequency behavior.
- Weaknesses: capacitance drops sharply under DC bias — a "10µF" 6.3V-rated ceramic on a 5V rail can measure under 4µF in practice. High-K dielectrics (X7R, Y5V) also lose capacitance with temperature (Y5V can lose most of it). Some ceramics are piezoelectric — they can sing mechanically (audible squeal in switching supplies).
Class 1 ceramics (C0G/NP0) are a different story: excellent stability (±30 ppm/°C), no DC-bias effect, but only available in small values (up to ~100nF). Use them for timing, filters, and oscillators where stability matters.
Use for: decoupling at IC pins (100nF X7R), high-frequency bypass, timing with C0G, general small-value duties. Derate the voltage (use a 16V part on a 5V rail) to recover some of the DC-bias loss.
Electrolytic capacitors
Aluminum cylinders with a sleeve — the bulkiest capacitors on the board.
- Range: microfarads to millifarads (µF to mF) — the highest capacitance per unit cost.
- Strengths: huge capacitance in a small package, cheap, ideal for bulk filtering and energy storage.
- Weaknesses: polarized — reverse voltage destroys them (sometimes dramatically). High ESR compared to ceramics. Electrolyte dries out over time — life halves roughly every 10°C above rated temperature, so a cap rated 1,000 hours at 105°C lasts far longer at 50°C, but not forever. Capacitance and ESR drift as they age; bulging or leaking is the visible end stage. Poor high-frequency response — always pair with a ceramic.
Use for: rectifier-output smoothing, bulk decoupling on power rails, audio coupling where large values are needed. Never connect backwards; observe the stripe (negative lead). For long-life builds, pick 105°C-rated parts and keep them cool — heat is what kills them.
Tantalum capacitors
Small, dense, yellow/orange SMD rectangles.
- Range: typically 1µF to a few hundred µF.
- Strengths: high capacitance density, low ESR, stable capacitance with temperature and (mostly) DC bias — much more predictable than high-K ceramics.
- Weaknesses: polarized, and with a famously unforgiving failure mode: tantalums fail short-circuit, which in a power rail means they can catch fire. They also dislike voltage spikes — the rule of thumb is to derate by 50% (use a 10V part on a 5V rail minimum, more if the rail has transients). More expensive than electrolytics.
Use for: compact bulk capacitance where an electrolytic won't fit and stability matters — portable devices, tight layouts. Respect the derating; a tantalum run at its rated voltage on a noisy rail is a fire risk, not a design choice.
Film capacitors
Polyester (Mylar), polypropylene, or polycarbonate in a plastic box.
- Range: nanofarads to tens of microfarads.
- Strengths: excellent stability, very low loss (low dissipation factor), self-healing (polypropylene/metalized film clears its own internal shorts), no DC-bias effect, non-polarized. The best choice for precision and audio work.
- Weaknesses: physically large for their capacitance, more expensive than ceramics.
Use for: audio signal paths, precision filters, snubbers across switching devices, timing circuits where C0G ceramics don't reach the value you need.
The comparison, side by side
| Ceramic (MLCC) | Electrolytic (Al) | Tantalum | Film | |
|---|---|---|---|---|
| Capacitance range | pF – tens of µF | µF – mF | µF – hundreds of µF | nF – tens of µF |
| Polarized | No | Yes | Yes | No |
| ESR | Very low | High | Low | Very low |
| DC-bias effect | Strong (X7R/Y5V) | None | Small | None |
| Aging/drift | Mild (except Y5V) | Dries out, ESR rises | Stable | Excellent |
| Failure mode | Cracks (mechanical) | Dries, vents | Short-circuit (fire risk) | Benign (self-healing) |
| Cost | Very cheap | Cheapest per µF | Moderate | Moderate–high |
| Best at | Decoupling, HF bypass | Bulk filtering, energy | Compact stable bulk | Audio, precision, snubbers |
A selection workflow that actually works
When you need a capacitor, answer these in order:
- What job? Bulk rail filtering → electrolytic. Decoupling at a chip pin → ceramic 100nF. Stable timing/filter → C0G ceramic or film. Compact stable bulk → tantalum (derated).
- Voltage rating: never run a capacitor at its rated voltage on a rail with transients. Derate: ceramics 2×, tantalum 2× (50% rule), electrolytics ~1.5×, film ~1.5×. The rating is a ceiling, not a target.
- ESR matters when: current flows in pulses — switching regulators, decoupling, ripple filtering. Low ESR isn't always better: some old linear regulators require a minimum ESR to stay stable, so check the datasheet.
- Check stability: if the value must be accurate (timing, filters, oscillators), verify the dielectric — C0G/NP0 or film; never trust an X7R/Y5V value at face value on a biased rail.
- Frequency: electrolytics stop being capacitors above a few hundred kHz — that's why every power rail gets an electrolytic plus a ceramic in parallel. The ceramic handles the fast stuff, the electrolytic the slow.
Failure modes to respect
- Reverse polarity on electrolytics/tantalums: vents, smoke, or fire. The stripe marks negative on electrolytics.
- Overvoltage: any capacitor punctures above its rating — arcing, shorts.
- Tantalum on a hot rail at full rating: the classic fire scenario. Derate 50% and add a series resistor or fuse in high-risk spots.
- MLCC cracking: large ceramic chips crack under board flex — a cracked MLCC can short a power rail. Keep big MLCCs away from board edges and mounting holes.
- Dried electrolytics: after years of heat, ESR rises and capacitance falls — the supply that "used to work" now resets under load.
Common mistakes
- One capacitor, one job: using only a 1000µF electrolytic for decoupling a fast MCU (it can't respond at MHz — you need the ceramic too), or only ceramics for bulk filtering (they can't store enough energy).
- Ignoring DC bias on MLCCs: the 10µF decoupling cap that measures 3µF in circuit.
- No voltage derating: running a 6.3V tantalum on a 5V rail.
- Polarized cap backwards: the single most destructive beginner error.
- Replacing a capacitor with a different type blindly: swapping a low-ESR ceramic for a high-ESR electrolytic (or vice versa) in a regulator loop can make it oscillate.
Where to go from here
- Decoupling Capacitors: Why and Where — placement and values that actually quiet a rail.
- Power Supply Design: Linear vs Switching — where bulk capacitance sizing matters.
- Reading Datasheets Effectively — find the ESR, ripple-current, and life specs that matter.
- Buying Electronics Components in India: A Student Guide — where to source genuine parts cheaply.
- More electronics fundamentals in the Electronics / E&TC branch hub.
FAQ
Can I use two capacitors in parallel to get a bigger value?
Yes — capacitances add in parallel. This is standard practice: an electrolytic plus a ceramic in parallel gives you bulk storage and high-frequency response in one node. Keep the ceramic physically close to the load.
Does a bigger capacitor always filter better?
Not beyond a point. Oversizing the bulk cap increases inrush current (which can blow fuses or stress the rectifier) and bigger electrolytics have worse high-frequency behavior. Size for the ripple you need, then add the ceramic.
How do I know if an old electrolytic is dead?
Measure ESR with an ESR meter, or watch for symptoms: excessive ripple on the rail, the device resetting under load, visible bulging or leakage. Heat is the usual killer — caps near heatsinks die first.
Are tantalum capacitors safe to use at all?
Yes, when derated properly (50% voltage rule) and used on clean rails. The fires happen when tantalums run near their rated voltage on rails with spikes, or after a cracked part shorts. Many designs use them safely for decades; just respect the derating.
What's the difference between X7R and C0G ceramics?
X7R is a Class 2 dielectric: high capacitance density but the value shifts with voltage, temperature, and age. C0G/NP0 is Class 1: rock-stable but only available in small values. Use X7R for decoupling, C0G for anything where the value must be right.
Limitations
This guide covers selection principles, not a substitute for the datasheet: ripple-current ratings, temperature derating curves, and lifetime calculations are part-specific — always check the manufacturer's data before finalizing a design. High-voltage, mains-connected, or safety-critical applications (medical, automotive) have additional certification requirements (X/Y-rated caps, AEC-Q200) that are outside this guide's scope. When in doubt about a power-rail design, prototype it and measure the ripple under full load before committing to a PCB.