Capacitors Explained: Types, Units, and How They Work in Circuits
A capacitor stores and releases electrical energy. Learn what capacitors are, how they work, the different types, how to read values, and common uses in electronics.
A capacitor is a passive electronic component that stores and releases electrical energy in an electric field. It consists of two conductive plates separated by an insulating material called a dielectric. Capacitance — the ability to store charge — is measured in farads (F). Capacitors are one of the most common components in electronics, found in virtually every circuit from simple LED projects to complex computer motherboards.
How capacitors work
When voltage is applied across a capacitor, electrons accumulate on one plate and are depleted from the other. This creates an electric field in the dielectric that stores energy. The capacitor charges until the voltage across it equals the source voltage, at which point current stops flowing.
When the voltage source is removed and a path is provided, the capacitor discharges — releasing its stored energy as current flows from the charged plate through the circuit to the depleted plate until the charge equalizes.
The water analogy: a capacitor is like a flexible membrane stretched across a pipe. Water pressure (voltage) pushes the membrane, storing energy. When the pressure is released, the membrane pushes back, creating a brief flow of water (current).
The capacitance formula
The charge stored in a capacitor is proportional to the voltage applied:
Q = C × VWhere:
- Q = charge in coulombs (C)
- C = capacitance in farads (F)
- V = voltage across the capacitor in volts (V)
The energy stored in a charged capacitor is:
E = ½ × C × V²Capacitance units
One farad is an enormous amount of capacitance. Most practical capacitors are measured in much smaller units:
| Unit | Symbol | Value | Common use |
|---|---|---|---|
| Picofarad | pF | 10⁻¹² F | RF circuits, oscillators, small ceramic caps |
| Nanofarad | nF | 10⁻⁹ F | Filtering, timing circuits |
| Microfarad | µF | 10⁻⁶ F | Power supply filtering, audio coupling |
| Millifarad | mF | 10⁻³ F | Motor start capacitors, large filters |
| Farad | F | 1 F | Supercapacitors, energy storage |
Types of capacitors
Ceramic capacitors
The most common type in electronics. Small, cheap, non-polarized, and available from 1 pF to about 100 µF. Often used as decoupling capacitors (typically 100 nF / 0.1 µF) placed near IC power pins to filter high-frequency noise. Labeled with a three-digit code (e.g., 104 = 100 nF).
Electrolytic capacitors
Cylindrical, polarized capacitors with high capacitance values (1 µF to 10,000+ µF). Used for power supply filtering and energy storage. The negative terminal is marked with a stripe. Connecting them backwards can cause them to fail violently — always check polarity.
Tantalum capacitors
Small, polarized capacitors with stable capacitance and low leakage. More expensive than electrolytic but more reliable. Typically 0.1 µF to 100 µF. The positive terminal is marked with a stripe or band (opposite convention from electrolytic).
Film capacitors
Non-polarized capacitors using plastic film as the dielectric. Excellent stability and low loss. Common in audio circuits, power electronics, and applications requiring precision. Typically 1 nF to 10 µF.
Supercapacitors
Very high capacitance (1 F to 3,000+ F) but low voltage ratings (typically 2.5–5.5V). Bridge the gap between regular capacitors and batteries. Used for backup power, energy harvesting, and applications needing brief bursts of high current.
Capacitors in series and parallel
Capacitors combine opposite to resistors — this is a common source of confusion. See our series vs parallel guide for the general concepts.
Capacitors in parallel (capacitance adds)
C_total = C₁ + C₂ + C₃ + ...Two 100 µF capacitors in parallel = 200 µF. Parallel is used when you need more capacitance than a single component provides.
Capacitors in series (capacitance decreases)
1/C_total = 1/C₁ + 1/C₂ + 1/C₃ + ...Two 100 µF capacitors in series = 50 µF. Series is used to increase the voltage rating — two capacitors rated at 25V in series can handle 50V (but at half the capacitance).
Common capacitor applications
| Application | How it works | Typical values |
|---|---|---|
| Decoupling / bypass | Placed near IC power pins to absorb high-frequency noise | 100 nF ceramic |
| Power supply filtering | Smooths rectified AC into steady DC | 100–1000 µF electrolytic |
| AC coupling | Blocks DC while passing AC signals (audio, RF) | 1–10 µF |
| Timing (RC circuit) | Charges through a resistor to create time delays | Varies (RC = time constant) |
| Energy storage | Provides brief high-current pulses (camera flash, motor start) | 100–10,000 µF |
| Debouncing | Filters mechanical switch bounce in digital circuits | 100 nF – 1 µF |
RC time constant
When a capacitor charges or discharges through a resistor, the rate is governed by the RC time constant:
τ = R × CWhere:
- τ (tau) = time constant in seconds
- R = resistance in ohms
- C = capacitance in farads
After one time constant, the capacitor reaches about 63% of the final voltage. After five time constants (5τ), it's effectively fully charged (99.3%). For example, a 10 kΩ resistor with a 100 µF capacitor: τ = 10,000 × 0.0001 = 1 second. Full charge takes about 5 seconds.
How to read capacitor values
Three-digit code (ceramic capacitors)
The first two digits are the value; the third digit is the number of zeros to add. The result is in picofarads (pF).
| Marking | Calculation | Value |
|---|---|---|
| 104 | 10 + 0000 | 100,000 pF = 100 nF = 0.1 µF |
| 473 | 47 + 000 | 47,000 pF = 47 nF |
| 222 | 22 + 00 | 2,200 pF = 2.2 nF |
| 101 | 10 + 0 | 100 pF |
Electrolytic capacitors
Electrolytic capacitors print the value and voltage rating directly on the body, e.g., "470 µF 25V". The negative terminal is marked with a stripe and shorter lead.
Common mistakes with capacitors
- Reversing polarity on electrolytic capacitors. This can cause the capacitor to heat up, leak, or explode. Always match the positive lead (longer) to the positive rail and the negative lead (stripe/shorter) to ground.
- Exceeding the voltage rating. Every capacitor has a maximum voltage rating. Exceeding it breaks down the dielectric and destroys the capacitor. Use a cap rated for at least 1.5× your circuit voltage.
- Forgetting decoupling capacitors. ICs need a 100 nF ceramic capacitor close to their power pins to prevent noise-related glitches. Omitting them causes intermittent, hard-to-debug problems.
- Using the wrong series/parallel formula. Capacitors combine opposite to resistors: parallel adds, series uses the reciprocal formula. Mixing this up gives wrong values.
- Touching charged capacitors. Large capacitors can hold dangerous charge long after power is removed. Always discharge capacitors before working on a circuit — especially in power supplies and camera flash units.
Summary
A capacitor stores electrical energy in an electric field between two plates, measured in farads. Ceramic capacitors are used for filtering and decoupling; electrolytic and tantalum for bulk energy storage; film for precision applications. Capacitors in parallel add directly; in series they use the reciprocal formula (opposite of resistors). The RC time constant (τ = R × C) governs charge and discharge rates. Always respect polarity on electrolytic caps and never exceed the voltage rating.