If you are looking for Ohm's law for a capacitor, the direct answer is that capacitors do not have static resistance; instead, they exhibit capacitive reactance ($X_C$) in AC circuits. The AC equivalent of Ohm's law is $V = I \times X_C$, where $X_C = 1 / (2\pi fC)$. In transient DC circuits, the governing equation is $I = C(dV/dt)$, meaning current only flows while the voltage is actively changing.
Understanding this frequency-dependent "resistance" is the difference between designing a stable filter and letting the magic smoke out of your prototype. Below, we break down the math, how to select the right dielectric, decode cryptic physical markings, and review a bench disaster that proves why reactance math alone isn't enough.
The AC Equivalent: Capacitive Reactance as Resistance
In a purely resistive DC circuit, Ohm's law ($V = IR$) is straightforward. But when you apply an alternating current (AC) or a pulsing DC signal to a capacitor, the dielectric material polarizes and depolarizes, opposing the change in voltage. This opposition is capacitive reactance ($X_C$), measured in ohms ($\Omega$).
The formula for capacitive reactance is:
$X_C = \frac{1}{2 \pi f C}$
- $f$ = frequency in Hertz (Hz)
- $C$ = capacitance in Farads (F)
$X_C = 1 / (2 \times \pi \times 60 \times 0.000001) = $ 2652.5 Ω.
If the RMS voltage is 120V, the AC current flowing through the capacitor is $I = V / X_C = 120 / 2652.5 = $ 45.2 mA.
Notice the inverse relationship: as frequency goes up, reactance goes down. A capacitor blocks DC ($f = 0$, so $X_C = \infty$) but passes high-frequency AC almost unimpeded. For a deeper mathematical breakdown of phase angles and impedance, the All About Circuits guide on capacitive reactance is an excellent bench reference.
Capacitor Types and Selection Criteria
Calculating the required microfarads is only step one. Step two is choosing a dielectric that won't fail under your specific thermal and electrical stress. Here is the selection matrix for the four most common passive capacitor families.
| Type | Construction / Dielectric | Typical Tolerance | Tempco / Stability | Typical Use Case |
|---|---|---|---|---|
| Ceramic (MLCC) | Multi-layer ceramic (C0G, X7R, Y5V) | ±5% to +80%/-20% | C0G is ultra-stable; Y5V is terrible | High-frequency decoupling, RF filters, timing |
| Film (PP/PET) | Metallized polypropylene or polyester | ±1% to ±10% | Excellent, low dielectric absorption | Audio crossovers, AC line filtering (X/Y safety), snubbers |
| Aluminum Electrolytic | Etched aluminum foil with liquid/polymer electrolyte | ±20% typical | Poor, degrades with heat and time | Bulk energy storage, low-frequency power supply filtering |
| Tantalum | Porous tantalum anode, manganese dioxide cathode | ±10% to ±20% | Good, highly stable capacitance over DC bias | Space-constrained low-profile DC filtering (medical/aerospace) |
Which type for which job? Never use Y5V ceramics for timing circuits; their capacitance drops by up to 80% when you apply a DC bias voltage. Use C0G/NP0 for oscillators. Never use standard electrolytics for high-frequency switching regulator outputs; their Equivalent Series Resistance (ESR) is too high. Use low-ESR polymer or ceramics instead.
Decoding Physical Markings and Tolerance Codes
Unlike resistors with their color bands, through-hole and surface-mount capacitors use cryptic alphanumeric stamps. Understanding these is critical when you are scavenging parts or verifying a BOM. The SparkFun capacitor tutorial offers a great primer on physical identification, but here is the exact decoding logic.
The 3-Digit Ceramic Code
Most small ceramic capacitors use a three-digit code representing picofarads (pF). The first two digits are the significant figures, and the third is the multiplier (number of zeros).
- 104 = 10 followed by 4 zeros = 100,000 pF = 100 nF = 0.1 µF
- 473 = 47 followed by 3 zeros = 47,000 pF = 47 nF = 0.047 µF
- 221 = 22 followed by 1 zero = 220 pF = 0.00022 µF
Tolerance and Voltage Letters
A letter following the numeric code dictates the tolerance. A J means ±5%, K means ±10%, and M means ±20%. If you see a code like 104K 50V, it is a 0.1 µF cap, ±10% tolerance, rated for 50 volts DC maximum.
Bench War Story: The Capacitive Dropper Disaster
Math on a spreadsheet doesn't account for real-world transients. Here is a scenario that illustrates what happens when you apply Ohm's law for a capacitor correctly, but ignore the dielectric safety rating.
The Setup: I was designing a transformerless 120V AC to 5V DC power supply for a hardwired ESP32 smart switch. To limit the AC current without burning watts in a resistor, I used a series capacitor as a reactive dropper.
The Numbers: The ESP32 and relay needed 20mA of continuous current. Using the AC Ohm's law rearranged for reactance: $X_C = V / I = 120V / 0.02A = 6000 \Omega$.
Solving for C: $C = 1 / (2 \times \pi \times 60Hz \times 6000\Omega) = 0.44 \mu F$.
I rounded up to the nearest standard value: a 0.47 µF capacitor.
The Outcome: I grabbed a standard 0.47 µF 50V polyester film capacitor from my bench bin, wired it in series with the mains hot line and a bridge rectifier, and plugged it in. The 5V rail came up perfectly. Ten minutes later, a loud pop echoed from the bench. The bridge rectifier was shattered, and the ESP32's 3.3V LDO was melted.
What Went Wrong: My reactance math was flawless, but my component selection was fatal. Mains voltage isn't a clean 120V sine wave; it is plagued by Electrical Fast Transients (EFT) and spikes that can exceed 1,000V for microseconds. A standard 50V polyester cap experienced dielectric breakdown during a transient spike, shorted out, and dumped raw 120V AC directly into the DC bridge.
The Fix: For AC line applications, you must use an X2 or Y2 safety-rated film capacitor (e.g., a 275VAC / 310VAC X2 metallized polypropylene cap). These are designed to fail open, not short, and their internal construction quenches high-energy transients.
Failure Modes and Visual Symptoms
When capacitors fail, they usually leave forensic evidence. Knowing what to look for saves hours of oscilloscope debugging.
- Aluminum Electrolytic (Venting): Visual symptom: The top aluminum cross-score bulges upward, or a brown, crusty electrolyte leak is visible at the base. Electrical symptom: Massive increase in ESR and drop in capacitance. Common cause: operating near or above the maximum temperature rating (e.g., 105°C), causing the internal liquid to boil and vent.
- MLCC Ceramic (Cracking): Visual symptom: A microscopic hairline fracture on the body, often only visible under 10x magnification. Electrical symptom: Dead short circuit. Common cause: Mechanical flexing of the PCB (piezoelectric stress) after soldering. Always use a board vise, not your hands, when snapping apart perfboard or flexing PCBs.
- Film Capacitors (Internal Arcing): Visual symptom: The outer epoxy coating is melted, bulging, or smells acrid. Electrical symptom: Open circuit or severe capacitance loss. Common cause: Exceeding the $dV/dt$ (slew rate) rating in snubber circuits, causing internal metal vaporization.
Safe Substitution Rules When the Bin is Empty
You blew a cap, the project is due, and your exact BOM part is out of stock. Follow these numbered rules to substitute safely without compromising the circuit.
- Voltage Rating: Go UP, Never Down. If the schematic calls for a 16V cap, a 25V or 50V cap is perfectly fine. A 10V cap will eventually explode or short.
- Check the Dielectric Class (Timing/Filters). If you are replacing a C0G/NP0 ceramic in an RC oscillator or active filter, do not substitute an X7R or Y5V. The voltage coefficient of X7R will shift your oscillator frequency as the signal swings, causing jitter or outright failure to start.
- Match the ESR (Power Supplies). In switching buck/boost converters, the output capacitor's ESR is often factored into the control loop's zero compensation. Swapping a low-ESR polymer cap for a standard electrolytic of the same microfarad value can introduce massive output ripple or cause the regulator to oscillate.
- Watch the Physical Footprint (MLCCs). Higher voltage and higher capacitance in ceramics require larger physical case sizes (e.g., moving from 0603 to 0805). Ensure your PCB pads can accommodate the larger footprint, or use a breakout wire for through-hole prototypes.
Mastering Ohm's law for capacitors means looking beyond the $X_C$ formula. It requires matching the math to the physical realities of dielectric absorption, thermal derating, and transient safety ratings. Keep your X2 caps for the mains, your C0G caps for the clocks, and always verify the voltage rating before you apply power.






