Capacitors Explained: Types, Uses, and How to Pick the Right One
Capacitors are everywhere—power supplies, microcontrollers, audio circuits, motor drivers, chargers. They look simple, but choosing the wrong capacitor can cause noise, unstable voltage rails, random resets, poor efficiency, or early failure.
This guide explains what capacitors do, the main types, and how to pick the right one using the specs that actually matter.
⸻
What a capacitor does (in plain language)
A capacitor stores and releases electrical energy. In real circuits, capacitors are mainly used to:
• Stabilize power (smooth voltage, reduce ripple)
• Filter noise (especially near IC power pins)
• Handle fast current spikes (MCUs, radios, motors)
• Create timing (RC delays, oscillators)
• Couple signals (block DC, pass AC in audio/signal paths)
⸻
The 4 most common capacitor use-cases
1) Decoupling capacitors (the “must-have” near ICs)
These protect chips from noise and sudden current demand.
Typical choices:
• 0.1µF (100nF) ceramic close to each IC power pin
• Add 1µF–10µF ceramic nearby for extra stability (especially MCUs, radios)
Most common mistake: placing the capacitor too far away or using the wrong type.
⸻
2) Bulk capacitors (smoothing on power rails)
These sit near power input, regulators, and high-load sections to reduce ripple.
Typical choices:
• 10µF–470µF (depends on current/load and ripple)
• Often electrolytic or polymer, sometimes large ceramics
Most common mistake: only using ceramics and then discovering ripple/instability under load.
⸻
3) Timing capacitors (RC delay, reset circuits, oscillators)
Capacitors plus resistors create time constants.
Typical choices:
• C0G/NP0 ceramic if you need stable timing
• Film capacitors for very stable analog timing (less common in compact products)
Most common mistake: using a cheap ceramic dielectric that drifts with temperature/voltage and timing changes a lot.
⸻
4) Signal coupling and audio capacitors
Capacitors block DC while letting AC pass.
Typical choices:
• Film (best linearity, often bigger)
• C0G/NP0 ceramic (small and stable for small values)
• Electrolytic for larger values (watch polarity)
Most common mistake: wrong polarity (electrolytic) or using a capacitor type that adds distortion/noise in sensitive analog paths.
⸻
Capacitor types you’ll see most often
Ceramic capacitors (MLCC)
Best for: decoupling, general filtering, high-frequency noise.
Pros:
• Small, cheap, fast response
• Great for high-frequency behavior
Cons:
• Capacitance can drop under voltage (DC bias effect), especially for larger values
• Can crack under mechanical stress if placed badly
Common choices:
• X7R / X5R for general decoupling and bulk (most common)
• C0G/NP0 for precision and stability (small values)
⸻
Aluminum electrolytic
Best for: bulk smoothing, power input filtering.
Pros:
• High capacitance per cost
• Good for low-frequency ripple smoothing
Cons:
• Higher ESR than ceramics/polymer (depends on series)
• Lifetime affected by heat
• Polarity matters
⸻
Tantalum and polymer (solid)
Best for: bulk filtering where low ESR and stability help.
Pros:
• More stable than electrolytic
• Polymer types can be very low ESR
Cons:
• More expensive
• Needs correct voltage derating and careful selection to avoid reliability issues (especially for tantalum)
⸻
Film capacitors
Best for: precision analog, audio coupling, and high stability.
Pros:
• Very stable, low distortion
• Good for high voltage and pulse handling
Cons:
• Larger size, higher cost
⸻
How to choose the right capacitor (the checklist that saves you)
1) Capacitance value (F)
Common values you’ll use constantly:
• Decoupling: 0.1µF, 1µF
• Local bulk: 4.7µF, 10µF, 22µF
• Bulk input/output: 47µF–470µF
Don’t guess randomly—pick based on the job:
• For decoupling: 0.1µF is the default, add 1–10µF if needed
• For bulk smoothing: start with 47–220µF and adjust based on ripple/load
⸻
2) Voltage rating (this is where many people mess up)
Always choose a voltage rating above your real voltage with margin.
Rule of thumb:
• For 5V rails: choose 10V or 16V
• For 12V rails: choose 25V
• For 24V rails: choose 50V
Why this matters:
• Reliability improves with margin
• Some capacitor types lose effective capacitance under voltage stress
⸻
3) Dielectric/type (ceramics: X7R vs X5R vs C0G)
• X7R: very common, better stability than X5R, good default
• X5R: common and cheaper, slightly less stable
• C0G/NP0: ultra-stable, best for precision (usually smaller capacitance values)
If you don’t know: choose X7R for most ceramics.
⸻
4) ESR (Equivalent Series Resistance)
ESR affects ripple, heat, and regulator stability.
• Low ESR is usually good for power filtering
• But some regulators require a certain ESR range to remain stable (check regulator datasheet)
If you see symptoms like whining, oscillation, or unstable output voltage, ESR is often the reason.
⸻
5) Ripple current rating (mainly for electrolytic/polymer)
For power input capacitors, ripple current can heat the capacitor.
If the capacitor gets hot or fails early:
• ripple current rating may be too low
• capacitor series may not be suitable for switching power supplies
⸻
6) Size/package and mechanical reliability
MLCC ceramics can crack if:
• placed near board edges
• placed in high-flex areas
• large MLCC used without good PCB design practices
If your product experiences vibration or board flex, avoid huge ceramics in risky locations or use safer placement.
⸻
The “DC bias effect” (important for ceramic bulk caps)
Big ceramic capacitors (like 10µF, 22µF) can lose real capacitance when voltage is applied.
Example:
A “10µF 6.3V X5R” on a 5V rail might behave like only 3–6µF depending on brand and package.
What to do:
• Choose a higher voltage rating (like 16V instead of 6.3V)
• Or use a larger package
• Or add electrolytic/polymer for real bulk capacitance
⸻
Common capacitor selection mistakes (that cause real failures)
• Using only 0.1µF caps and no bulk → voltage dips under load
• Picking low-voltage MLCC for a rail near its limit → capacitance collapses
• Ignoring regulator stability requirements → oscillation
• Using electrolytic too close to heat sources → short lifetime
• Wrong polarity on electrolytic/tantalum → failure
• Putting large MLCC in high-stress PCB locations → cracking
⸻
Simple “default choices” that work in many designs
If you want safe starting points:
• Decoupling near ICs: 0.1µF X7R ceramic (10V/16V)
• Extra local support for MCUs/radios: 1µF–10µF X7R ceramic (10V/16V)
• Bulk near power input: 47µF–220µF electrolytic (25V for 12V systems)
• Switching regulator input/output: mix of ceramic + electrolytic/polymer as recommended by the regulator datasheet
⸻
FAQ
Do I always need a 0.1µF capacitor at every IC?
In most digital designs, yes. It’s cheap insurance against noise and resets. Place it as close as possible to the IC power pin and ground.
Ceramic vs electrolytic for bulk—which is better?
Ceramic is fast and great for high-frequency noise, but bulk ceramics can lose capacitance under voltage. Electrolytics provide true bulk and help with ripple at lower frequencies. In many power rails, using both is best.
Why does my MCU reset when a motor or radio turns on?
Usually power rail dip or noise. Add local bulk capacitance near the load, improve decoupling, and check grounding/layout.
How to Choose the Right Resistor: Values, Tolerance, and Power Rating
Inductors vs. Ferrite Beads: What’s the Difference and When to Use Each