If you’ve ever touched a live PCB and felt a mild zap even after unplugging it, you’ve already had a very personal introduction to how a capacitor works. As a PCB engineer, capacitors are probably the components I interact with most โ and yet they’re still one of the most misunderstood passives on any board. This guide breaks down how does a capacitor work, from the basic physics of charge storage to the practical discharge curves you need to understand when designing real circuits.
What Is a Capacitor? (And Why Should You Care)
A capacitor is a passive two-terminal electrical component that stores energy in an electric field. Unlike a battery, which stores energy chemically, a capacitor stores it electrostatically โ and it can release that energy almost instantaneously. That’s what makes it so useful for decoupling, filtering, and energy buffering on a PCB.
At its most basic, a capacitor consists of:
- Two conductive platesย (typically metal)
- A dielectric materialย between them (insulating layer)
- Two terminalsย connecting to the plates
The dielectric is key. It prevents current from flowing directly between the plates but allows an electric field to build up across them. The type of dielectric used โ ceramic, electrolytic, film, tantalum โ determines most of the capacitor’s electrical characteristics.
If you want to understand how a capacitor behaves on a PCB, you first need to understand what’s happening at the atomic level between those two plates.
The Physics Behind How a Capacitor Works
How Electric Charge Builds Up on the Plates
When you connect a capacitor to a voltage source, electrons from the negative terminal of the source are pushed onto one plate. This makes that plate negatively charged. Simultaneously, electrons are pulled away from the other plate, leaving it positively charged.
Here’s the counterintuitive part: no current actually flows through the dielectric. The charge just accumulates on the plates. The electric field created between them is what stores the energy.
The relationship between charge, capacitance, and voltage is expressed in one of the most fundamental equations in electronics:
Q = C ร V
Where:
- Qย = charge stored (coulombs)
- Cย = capacitance (farads)
- Vย = voltage across the capacitor (volts)
This equation tells you something very practical: a larger capacitance means you can store more charge at the same voltage. Double the capacitance, double the stored charge.
What Is an Electric Field Inside a Capacitor?
An electric field is a region where an electric force acts on charged particles. Inside a capacitor, the electric field points from the positive plate to the negative plate and is (ideally) uniform across the gap.
The strength of this electric field is:
E = V / d
Where d is the distance between the plates. This is why reducing the gap between plates increases the electric field strength โ and also why dielectric breakdown is a real failure mode if you exceed a capacitor’s voltage rating.
The energy stored in this electric field is given by:
W = ยฝ ร C ร Vยฒ
Notice the Vยฒ term. That means if you double the voltage, you quadruple the stored energy. This is exactly why high-voltage capacitors in power supplies can be genuinely dangerous even when the circuit is off.
Capacitance: What Determines It?
Capacitance isn’t arbitrary โ it’s determined by three physical factors:
| Factor | Effect on Capacitance | Engineer’s Takeaway |
| Plate area (A) | Larger area = higher capacitance | Bigger footprint = more capacitance |
| Plate separation (d) | Smaller gap = higher capacitance | Thin dielectrics give high values |
| Dielectric constant (ฮตr) | Higher ฮตr = higher capacitance | Material choice drives performance |
The formula is:
C = ฮตโ ร ฮตr ร A / d
Where ฮตโ is the permittivity of free space (8.854 ร 10โปยนยฒ F/m).
This formula is what separates a 10pF ceramic cap from a 1000ยตF electrolytic. The electrolytic achieves its massive capacitance by using an extremely thin oxide layer as the dielectric (tiny d) and having an enormous effective plate area through a rolled foil construction.
How Does a Capacitor Charge? The RC Time Constant
When you connect a capacitor in series with a resistor to a DC voltage source, it doesn’t charge instantly. The charging follows an exponential curve governed by the RC time constant.
The Charging Equation
V(t) = V_source ร (1 – e^(-t/RC))
Where:
- Rย = resistance in ohms
- Cย = capacitance in farads
- RCย = the time constant (ฯ, tau) in seconds
- tย = time elapsed
The time constant ฯ = RC is the time it takes the capacitor to charge to approximately 63.2% of the supply voltage.
RC Charging Table
| Time Elapsed | Voltage (% of V_source) | Charge Status |
| 1ฯ (1 ร RC) | 63.2% | Charging fast |
| 2ฯ | 86.5% | Slowing down |
| 3ฯ | 95.0% | Nearly there |
| 4ฯ | 98.2% | Almost full |
| 5ฯ | 99.3% | Considered fully charged |
In practice, PCB designers treat 5ฯ as “fully charged.” For a 10kฮฉ resistor and 100ยตF capacitor: ฯ = 1 second, so the cap is fully charged in about 5 seconds.
Why Doesn’t the Current Stay Constant During Charging?
At the moment you apply voltage, the capacitor looks like a short circuit โ current rushes in at its maximum rate (limited only by R). As charge builds up, the voltage across the capacitor opposes the source voltage, reducing the current. Eventually, the capacitor voltage equals the source voltage, and current drops to zero. This is exactly why capacitors block DC in steady state but allow transient current during switching events.
How Does a Capacitor Discharge?
Discharge is just the reverse process. If you remove the voltage source and connect the charged capacitor through a resistor, the stored energy is released.
The Discharge Equation
V(t) = Vโ ร e^(-t/RC)
Where Vโ is the initial voltage across the capacitor.
RC Discharging Table
| Time Elapsed | Voltage (% of Vโ) | Energy Remaining |
| 1ฯ | 36.8% | ~13.5% |
| 2ฯ | 13.5% | ~1.8% |
| 3ฯ | 5.0% | ~0.25% |
| 4ฯ | 1.8% | ~0.03% |
| 5ฯ | 0.7% | ~0.005% |
Notice how the energy drops much faster than the voltage โ that’s because energy scales with Vยฒ. This is an important design consideration when sizing bulk capacitors for hold-up circuits in power supplies.
Capacitors in AC vs. DC Circuits
Capacitors Block DC, Pass AC โ Here’s Why
In a DC circuit, once a capacitor is fully charged, current stops flowing. The capacitor essentially acts as an open circuit. This is why capacitors are used as coupling components โ they block DC bias while passing the AC signal riding on top of it.
In an AC circuit, the voltage is constantly changing, so the capacitor is always charging and discharging. Current appears to “flow through” the capacitor. The opposition to this current flow is called capacitive reactance:
Xc = 1 / (2ฯ ร f ร C)
Where f is frequency in Hz.
Capacitive Reactance vs. Frequency
| Frequency | Xc (for 100nF cap) | Practical Meaning |
| 10 Hz | 159,155 ฮฉ | Blocks audio sub-bass |
| 1 kHz | 1,592 ฮฉ | Partial pass |
| 100 kHz | 15.9 ฮฉ | Good bypass cap |
| 10 MHz | 0.159 ฮฉ | Near short circuit |
| 1 GHz | 0.0016 ฮฉ | RF bypass |
This is why decoupling capacitors need to be selected based on the switching frequency of your IC โ not just slapped on arbitrarily.
Types of Capacitors and How Their Construction Affects Behavior
Understanding the internal construction of each type helps you make better choices on a PCB.
Ceramic Capacitors (MLCC)
Multi-layer ceramic capacitors (MLCCs) stack hundreds of alternating dielectric and electrode layers to achieve high capacitance in a tiny package. They have excellent high-frequency performance and low ESR (equivalent series resistance), making them the go-to decoupling cap on most PCBs.
Watch out for: Capacitance drop with DC bias voltage. A 10ยตF X5R MLCC rated at 10V might only deliver 3โ4ยตF when biased at 9V. Always check the derating curve in the datasheet.
Electrolytic Capacitors (Aluminum)
These use a wound aluminum foil with an extremely thin aluminum oxide dielectric. They achieve very high capacitance values (up to tens of thousands of ยตF) but are polarized โ connect them backwards and they will fail, sometimes spectacularly.
Watch out for: High ESR at high frequencies, limited lifetime (especially at elevated temperatures), and polarity. These are bulk storage and power-line filtering caps, not high-frequency decouplers.
Tantalum Capacitors
Tantalum caps offer better volumetric efficiency than aluminum electrolytics and lower ESR. But they’re infamous for failing short-circuit when exposed to voltage spikes โ which can cause board fires in extreme cases.
Watch out for: Always derate tantalum caps to 50% of their rated voltage for reliable operation. Never use them in inrush-prone environments without protection.
Film Capacitors
Polyester or polypropylene film caps are prized for their stability, low distortion, and predictable behavior over temperature. They’re common in analog audio, precision timing, and power factor correction circuits.
Capacitor Type Comparison Table
| Type | Capacitance Range | Polarity | ESR | Best For |
| MLCC Ceramic | 1pF โ 100ยตF | Non-polar | Very low | Decoupling, RF, signal |
| Aluminum Electrolytic | 1ยตF โ 100,000ยตF | Polar | Medium-High | Bulk storage, PSU filter |
| Tantalum | 0.1ยตF โ 2,200ยตF | Polar | Low | Compact power filtering |
| Film | 100pF โ 100ยตF | Non-polar | Low | Audio, timing, precision |
| Supercapacitor | 0.1F โ 3,000F | Polar | Very low | Energy storage, backup |
Capacitor Parameters Every PCB Engineer Must Know
When selecting a capacitor for your design, the part number is just the beginning. These are the parameters that actually matter:
Capacitance (C): Nominal value in farads. Always verify against the derating curves.
Voltage Rating (V_rated): The maximum voltage the dielectric can withstand before breakdown. Always derate โ typically 80% for ceramics, 50% for tantalums.
ESR (Equivalent Series Resistance): The resistive loss inside the capacitor. High ESR means more heat generated during ripple current, and reduced effectiveness as a decoupling cap.
ESL (Equivalent Series Inductance): Every capacitor has parasitic inductance. Above the self-resonant frequency (SRF), the cap starts behaving like an inductor. For a 100nF MLCC, this might be at 50โ100 MHz.
Temperature Coefficient: Ceramic caps are classified by their temperature behavior โ C0G/NP0 caps are ultra-stable, X7R caps drift ยฑ15%, and Y5V caps can shift by -80% at temperature extremes.
Ripple Current Rating: Especially important for electrolytic caps in power supplies. Exceeding the ripple current spec is one of the leading causes of premature electrolytic failure.
Practical Applications: Where Capacitors Actually Earn Their Place
Decoupling and Bypass Capacitors
Every digital IC on a PCB needs decoupling capacitors placed as close to the power pins as physically possible. When the IC switches, it draws a sharp spike of current. The decoupling cap supplies this current locally, preventing the spike from propagating through the power plane as noise.
Typical strategy: 100nF MLCC per IC for high-frequency decoupling, with a 10ยตF bulk ceramic nearby.
Power Supply Filtering
The ripple on a rectified DC supply is smoothed by a large electrolytic capacitor. The larger the capacitance, the lower the ripple. But there’s a trade point โ larger caps mean more inrush current at startup.
RC Timing Circuits and Oscillators
The predictable RC time constant makes capacitors essential in timing circuits โ from simple 555 timer configurations to precision crystal oscillator load capacitors.
Signal Coupling and DC Blocking
In analog circuits, a series capacitor passes the AC signal between stages while blocking any DC offset. This prevents the bias point of one stage from disturbing the next.
Snubber Circuits
In switching power supplies and motor drives, RC snubbers (a resistor and capacitor in series across a switch) absorb the energy from voltage spikes caused by parasitic inductance during turn-off. Without them, these spikes can exceed the switch’s voltage rating and cause failures.
Common Capacitor Failures and What Causes Them
| ailure Mode | Root Cause | How to Prevent |
| Dielectric breakdown | Overvoltage or voltage spike | Derate voltage rating |
| Electrolytic dry-out | Heat over time | Operate below temp rating |
| Tantalum short circuit | Voltage spike, insufficient derating | 50% voltage derating |
| MLCC crack | PCB flexing, thermal shock | Use flex-crack resistant footprints |
| Capacitance loss | DC bias effect (MLCC) | Check derating curves at operating voltage |
| ESR degradation | Age, high ripple current | Select adequate ripple current rating |
Useful Resources for Further Reading
Here are some authoritative references that are worth bookmarking:
- Murata Capacitor Selector & SimSurfing:ย product.murata.comย โ search capacitors and view derating curves interactively
- TDK MLCC Product Catalog & White Papers:ย product.tdk.comย โ excellent application notes on DC bias derating
- Kemet SPICE Models & Parametric Search:ย kemet.comย โ download SPICE models for accurate simulation
- IPC-2221B Standard (Generic Standard on Printed Board Design):ย Available via ipc.orgย โ PCB design rules including component placement guidelines
- Wรผrth Elektronik Application Notes:ย we-online.comย โ free downloadable guides on passive component selection for EMC
- All About Circuits (Reference):ย allaboutcircuits.comย โ well-structured textbook-style reference for RC circuit theory
Frequently Asked Questions About How Capacitors Work
1. Does current actually flow through a capacitor?
Not in the conventional sense โ electrons don’t physically cross the dielectric. What happens is that electrons accumulate on one plate and are simultaneously repelled from the other plate. In AC circuits, this continuous charge/discharge cycle produces a displacement current that makes it appear as though current is flowing through the capacitor.
2. Why does a capacitor block DC but pass AC?
In DC steady state, the capacitor charges up to the supply voltage and then current stops โ effectively an open circuit. In AC, the voltage constantly reverses, so the capacitor never fully charges in one direction. It continuously charges and discharges, allowing current to flow through the circuit.
3. What happens if you exceed a capacitor’s voltage rating?
The dielectric breaks down. For ceramics and films, this usually means a permanent short circuit. For electrolytics, it can result in venting, bulging, or in worst cases, an explosion. Always derate your voltage ratings โ I personally never run a ceramic cap above 80% of its rated voltage in a production design.
4. Why do electrolytic capacitors have polarity?
The dielectric of an electrolytic capacitor is a very thin layer of aluminum oxide, formed electrochemically on the surface of the aluminum foil. This oxide layer is directional โ it acts as a dielectric only when the anode (positive terminal) is at a higher potential than the cathode. Reverse the polarity and the oxide layer dissolves, shorting the cap. The resulting current causes rapid heating, gas buildup, and failure.
5. What is the self-resonant frequency (SRF) of a capacitor, and why does it matter?
Every real capacitor has parasitic inductance (ESL) from its leads and internal construction. At the SRF, the capacitive reactance equals the inductive reactance and they cancel โ the cap looks like a pure resistor (ESR). Above the SRF, the cap actually behaves inductively. This is critical for high-speed PCB design: a 100nF decoupling cap might have an SRF of 50 MHz. Above that frequency, it’s no longer decoupling โ it’s actually adding inductance to your power rail. That’s why high-speed designs use multiple cap values in parallel to extend the effective decoupling bandwidth.