The two foundational capacitor equations governing DC charge and energy storage are C = Q / V (capacitance) and E = 0.5 * C * V² (stored energy). Whether you are sizing a decoupling network for a high-speed digital board or calculating the joule rating for a camera flash circuit, these relationships define the physical limits of your components. Below is the complete derivation, symbol mapping, and strict unit-tracked problem solving required to apply these formulas on the bench without blowing up your prototype.
The Core Capacitor Equations and Symbol Definitions
At its most basic, a capacitor stores electrical potential energy in an electric field between two conductive plates separated by a dielectric. The fundamental definitions are:
- Capacitance:
C = Q / V - Stored Energy:
E = 0.5 * C * V² - Current-Voltage Relationship:
I = C * (dV / dt)
According to standard circuit theory documented by All About Circuits, these equations assume an ideal component. Here is the exact definition of every symbol used in these formulas:
| Symbol | Parameter | Standard SI Unit | Common Bench Prefixes |
|---|---|---|---|
C | Capacitance | Farads (F) | µF (10⁻⁶), nF (10⁻⁹), pF (10⁻¹²) |
Q | Electric Charge | Coulombs (C) | mC (10⁻³), µC (10⁻⁶) |
V | Voltage (Potential Difference) | Volts (V) | mV (10⁻³), kV (10³) |
E | Stored Energy | Joules (J) | mJ (10⁻³), kJ (10³) |
I | Current | Amperes (A) | mA (10⁻³), µA (10⁻⁶) |
t | Time | Seconds (s) | ms (10⁻³), µs (10⁻⁶) |
Rearranged Forms for Bench and Design Work
On the bench, you rarely solve for C directly from charge; you usually need to find the voltage drop, the time required to charge, or the total charge available. Here are the algebraically rearranged forms you will use most often:
- Solve for Charge:
Q = C * V - Solve for Voltage:
V = Q / CorV = √(2E / C) - Solve for Energy:
E = 0.5 * C * V²orE = 0.5 * Q² / C - Solve for Capacitance (Constant Current Discharge): Derived from
I = C * (dV/dt), assuming constant currentIover timeΔtwith voltage dropΔV:C = (I * Δt) / ΔV
Assumptions, Limitations, and Realistic Magnitudes
When the Formula Applies (and When It Doesn't)
The equations C = Q/V and E = 0.5*C*V² apply strictly to ideal capacitors in DC steady-state or quasi-static conditions. They assume the dielectric is perfectly linear and lossless. In reality, every physical capacitor has Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL). If you are calculating energy for a high-frequency switching regulator (e.g., a 500kHz buck converter), the ESL dominates the impedance, and the simple DC capacitance equation will overestimate the effective charge delivery. Furthermore, high-K ceramic capacitors (like X7R or Y5V) exhibit severe DC bias derating; a 10µF X7R cap at its rated 50V might only provide 2µF of actual capacitance.
The Unit Mistake That Breaks the Math
The most common catastrophic error hobbyists make is ignoring the micro- (µ) or pico- (p) prefixes during energy calculations. Plugging 100 into the C variable when you mean 100µF will yield an energy result exactly one million times too large. Always convert to base SI units (Farads, Volts, Amperes, Seconds) before multiplying.
Realistic Answer Magnitudes
To sanity-check your math, compare your result to these real-world benchmarks:
- RF/Decoupling (pF to nF): Stores microjoules (µJ). Used for filtering high-frequency noise.
- Bulk Filtering (µF to mF): Stores millijoules (mJ) to low single-digit Joules. Typical electrolytic caps for power supplies.
- Supercapacitors (0.1F to 3000F): Stores tens to tens of thousands of Joules. Used for memory backup, RTC hold-up, and regenerative braking.
Worked Examples with Strict Unit Tracking
Problem 1: Camera Flash Energy Calculation
Scenario: You are salvaging a xenon tube flash circuit. The main storage capacitor is labeled 330µF and 400V. The circuit charges it to 330V before triggering. How much energy is discharged into the xenon tube?
- Identify knowns and convert to SI base units:
C = 330 µF = 330 × 10⁻⁶ F
V = 330 V - Select the correct equation:
E = 0.5 * C * V² - Substitute and track units:
E = 0.5 * (330 × 10⁻⁶ F) * (330 V)²
E = 0.5 * (0.00033 F) * (108,900 V²) - Calculate final magnitude:
E = 0.5 * 35.937 (F·V²)
E = 17.9685 Joules
Bench Insight: ~18 Joules released in a few milliseconds is enough to cause severe burns or vent a capacitor if shorted with a standard screwdriver. Always discharge flash caps with a high-wattage power resistor (e.g., 10kΩ 5W) before handling.
Problem 2: Sizing an ESP32 Brownout Backup Supercap
Scenario: You are designing a datalogger using an ESP32-WROOM-32. When main power fails, the ESP32 must stay alive long enough to write critical state data to Non-Volatile Storage (NVS). The NVS write takes 2.0 seconds and draws an average current of 80 mA. The ESP32's internal Brownout Detector (BOD) triggers a hard reset if the 3.3V rail drops below 2.7V. What minimum capacitance is required to ride through this dropout?
- Identify knowns and convert to SI base units:
I = 80 mA = 0.08 A
Δt = 2.0 s
V_initial = 3.3 V
V_final = 2.7 V
ΔV = 3.3 V - 2.7 V = 0.6 V - Select the correct rearranged equation:
FromI = C * (dV/dt), we deriveC = (I * Δt) / ΔV - Substitute and track units:
C = (0.08 A * 2.0 s) / 0.6 V
C = 0.16 (A·s) / 0.6 V - Calculate final magnitude:
Since 1 Ampere-second equals 1 Coulomb, and 1 Coulomb/Volt equals 1 Farad:
C = 0.2667 F
Bench Insight: A standard 0.33F or 0.47F 5.5V supercapacitor (like the Panasonic EEC-F5R5U474) will work. However, remember that supercaps have high ESR. If the ESP32's WiFi radio spikes to 300mA during the write, the voltage drop across the supercap's ESR (V_drop = I * ESR) might instantly trigger the BOD. Add a 100µF low-ESR MLCC in parallel to handle transient spikes.
Frequently Asked Questions
How do capacitor equations change for AC circuits?
In AC circuits, the capacitor continuously charges and discharges, meaning it never reaches a DC steady state. Instead of simple resistance, we use capacitive reactance (Xc), which is frequency-dependent. The governing equation is Xc = 1 / (2 * π * f * C), where f is the frequency in Hertz. As frequency increases, reactance drops, allowing the capacitor to pass high-frequency AC signals while blocking DC. For power calculations in AC, you must also account for the phase shift between voltage and current, which introduces reactive power (VARs) rather than real power (Watts).
Why does my calculated capacitance differ from my multimeter reading?
If you calculate a required 10µF capacitance but your Fluke 87V reads 8.2µF on a brand-new ceramic component, you are likely experiencing DC bias derating or measuring at the wrong test frequency. Class II ceramics (X7R, X5R) lose significant capacitance when a DC voltage is applied across them. Furthermore, multimeters typically measure capacitance using a low-frequency charge/discharge cycle or a 1kHz AC signal, whereas the component's rated value might be specified at 120Hz (for electrolytics) or 1MHz (for RF ceramics). Always check the manufacturer's datasheet for the specific test conditions.
What is the capacitor equation for charging over time?
When a capacitor charges through a resistor from a DC voltage source (Vs), the voltage across the capacitor plates does not increase linearly. It follows an exponential curve defined by the RC time constant (τ = R * C). The equation for voltage over time is V(t) = Vs * (1 - e^(-t / RC)). Practically, this means the capacitor reaches ~63.2% of the source voltage in one time constant, ~86.5% in two, and is considered fully charged (>99%) after five time constants. This equation is critical for designing soft-start circuits, 555 timer delays, and reset logic hold-offs.






