The direct answer to how to calculate energy stored in a capacitor is the formula E = ½ × C × V². In this equation, E is the energy in Joules (J), C is the capacitance in Farads (F), and V is the voltage across the terminals in Volts (V). Unlike a battery, which stores energy chemically and delivers it at a relatively steady voltage, a capacitor stores energy in an electrostatic field. As it discharges, its voltage drops linearly with the charge removed, which is why the voltage term in the energy equation is squared.
Understanding this calculation is critical for sizing power-delivery buffers in motor drives, designing camera flash circuits, and—most importantly—evaluating the lethal shock hazard of high-voltage DC bus capacitors in switch-mode power supplies.
The Core Formula and Symbol Definitions
The foundational physics equation for the potential energy stored in an ideal capacitor's electric field is derived by integrating the work done to move charge against the rising voltage. The resulting formula is:
E = ½ × C × V²
Below is the strict definition of every symbol in the equation. If you plug in numbers without verifying these base SI units, your calculation will be off by orders of magnitude.
| Symbol | Parameter | Standard SI Unit | Unit Abbreviation | Base SI Equivalents |
|---|---|---|---|---|
| E | Stored Energy | Joule | J | kg·m²/s² or W·s |
| C | Capacitance | Farad | F | s⁴·A²/(kg·m²) |
| V | Voltage (Potential Difference) | Volt | V | kg·m²/(s³·A) |
To put a realistic answer magnitude into perspective: 1 Joule is roughly the energy required to lift a medium-sized apple one meter off a workbench. A standard AA alkaline battery holds about 10,000 to 15,000 Joules. Therefore, even a massive bank of electrolytic capacitors holds a fraction of the total energy of a single AA battery—but the capacitor can dump its entire payload in milliseconds, resulting in immense instantaneous power (Watts).
Real-World Energy Magnitudes by Capacitor Type
Capacitor chemistry and physical construction dictate the maximum energy density. The table below maps common capacitor types found on the bench to real-world part specifications and their resulting stored energy at maximum rated voltage. This data-dense reference helps you intuitively gauge what 'normal' looks like across different applications.
| Capacitor Type | Typical Application | Example Spec (C × V) | Calculated Energy (E) | Hazard / Note |
|---|---|---|---|---|
| MLCC Ceramic (X7R) | High-frequency decoupling | 10 µF @ 50V | 0.0125 J | Safe to touch. Negligible shock risk. |
| Aluminum Electrolytic | SMPS input filtering, audio | 4,700 µF @ 63V | 9.32 J | Painful shock. Can arc small screwdrivers. |
| DC-Link Film (Metallized PP) | VFDs, solar inverters, EV traction | 500 µF @ 900V | 202.50 J | LETHAL. Requires mandatory bleeder resistors. |
| Supercapacitor (EDLC) | RTC backup, regenerative braking buffer | 10 F @ 2.7V | 36.45 J | Low voltage (safe shock), but can melt rings/tools if shorted. |
| Mica / Glass (High Voltage) | RF amplifiers, Tesla coils | 1,000 pF @ 20kV | 0.20 J | High voltage sting, low total thermal energy. |
Note: Data reflects nominal maximum rated DC voltage. Operating a capacitor at its absolute maximum rated voltage continuously reduces its lifespan; derating by 20-50% is standard engineering practice.
Rearranged Forms and Fatal Unit Traps
When designing a circuit, you rarely know all three variables. You usually have a target energy requirement and a fixed bus voltage, meaning you need to solve for capacitance. Alternatively, you might be evaluating an existing capacitor bank and need to find the maximum safe voltage to stay under a specific energy threshold.
Rearranged Formula List
- To solve for Capacitance (C):
C = 2E / V² - To solve for Voltage (V):
V = √(2E / C)
Which Unit Mistakes Break the Calculation?
The most common reason hobbyists and junior engineers get wildly incorrect results is failing to convert sub-multiples into base SI units before calculating. The formula demands Farads and Volts.
- The Microfarad Trap: Capacitance is almost never printed in Farads. It is printed in µF, nF, or pF. If you plug '4700' into the C variable for a 4700µF capacitor, your calculated energy will be one million times too high. You must convert: 4700 µF = 4700 × 10⁻⁶ F = 0.0047 F.
- The Millivolt Trap: While less common in power electronics, low-voltage supercaps or sensor circuits might list voltages in mV. 500 mV must be entered as 0.5 V. Because voltage is squared, a 10x error in voltage results in a 100x error in calculated energy.
- The 'VAC vs VDC' Confusion: This formula calculates energy based on the peak DC voltage across the dielectric. If you are using a capacitor in an AC circuit (like a motor run capacitor), you must use the peak voltage (V_rms × √2), not the RMS voltage, to calculate the maximum instantaneous energy stored at the peak of the sine wave.
Worked Examples: Step-by-Step Derivations
Let's walk through two real-world scenarios, tracking units at every step to ensure dimensional consistency.
Problem 1: Sizing a Camera Flash (Strobe) Capacitor
Scenario: You are repairing a vintage camera strobe circuit. The schematic calls for an aluminum electrolytic capacitor rated at 1000 µF and 330V DC. How much energy will this capacitor dump into the xenon flash tube when fully charged?
- Identify and Convert Variables:
C = 1000 µF = 1000 × 10⁻⁶ F = 0.001 F
V = 330 V (already in base SI units) - Square the Voltage:
V² = 330 × 330 = 108,900 V² - Apply the Formula:
E = ½ × C × V²
E = 0.5 × 0.001 F × 108,900 V² - Calculate and Track Units:
E = 0.5 × 108.9
E = 54.45 Joules
Sanity Check: 54.45 J is roughly the kinetic energy of a 1 kg object dropped from 5.5 meters. This is more than enough energy to vaporize a thin wire or cause a severe muscle contraction if touched. This confirms why camera flash circuits require high-value bleeder resistors to safely discharge the cap when the camera is turned off.
Problem 2: RTC Backup Power with a Supercapacitor
Scenario: You are designing a real-time clock (RTC) backup circuit for an ESP32 datalogger. You select a 0.47 F (470,000 µF) supercapacitor rated for 5.5V. The ESP32's deep sleep current is 10 µA, and the RTC requires a minimum of 1.8V to retain memory. First, what is the total energy stored at 5.5V?
- Identify and Convert Variables:
C = 0.47 F
V = 5.5 V - Square the Voltage:
V² = 5.5 × 5.5 = 30.25 V² - Apply the Formula:
E = ½ × C × V²
E = 0.5 × 0.47 F × 30.25 V² - Calculate:
E = 0.5 × 14.2175
E = 7.11 Joules (Total Stored)
Engineering Note: While the total stored energy is 7.11 J, the ESP32 cannot use all of it. The usable energy drops as the capacitor voltage falls from 5.5V to the 1.8V cutoff. The usable energy is E_total - E_cutoff = [½(0.47)(5.5²)] - [½(0.47)(1.8²)] = 7.11 J - 0.76 J = 6.35 Joules usable. At 10 µA and an average discharge voltage of ~3.6V, this yields weeks of backup time.
Assumptions, ESR Losses, and When the Formula Breaks
The equation E = ½CV² is derived from ideal physics. When you move from the textbook to the workbench, you must account for real-world non-ideal behaviors. According to foundational circuit theory documented by resources like Georgia State University's HyperPhysics, the formula assumes an ideal, lossless dielectric.
When the Formula Applies (and When It Doesn't)
- Applies to: Steady-state DC conditions where the capacitor is fully charged and disconnected, or instantaneous snapshots of AC waveforms at peak voltage.
- Fails to account for: Dielectric absorption (soakage). If you short a large high-voltage capacitor, disconnect it, and measure it an hour later, you will read a 'ghost voltage'. The formula cannot predict this recovered energy, as it stems from the physical relaxation of polarized molecules within the dielectric, not the primary electrostatic field.
- Fails at high frequencies: At RF frequencies, the parasitic inductance (ESL) of the capacitor's leads and internal foil structure begins to dominate impedance, altering the effective energy storage characteristics of the component.
The 50% Charging Loss Paradox
One of the most counter-intuitive realities of capacitor physics is the energy cost of charging. If you connect an uncharged capacitor to a DC voltage source through a resistor (which includes the inherent ESR of the capacitor and the wiring), exactly 50% of the energy supplied by the source is dissipated as heat in the resistance, regardless of the resistor's value.
If your power supply outputs 100 Joules to charge a capacitor, the capacitor will only store 50 Joules (E = ½CV²). The other 50 Joules is burned off as I²R heat during the charging transient. This is why constant-current (CC) charging or switched-mode inductor-based charging is vastly more efficient for large capacitor banks (like supercapacitors in regenerative braking systems) than simple resistive voltage-source charging.
Any capacitor storing more than 10 Joules at voltages above 50V DC poses a severe arc-flash and electrocution hazard. Never short high-energy capacitors with a screwdriver; this can vaporize the tool's tip, weld the metal to the capacitor terminals, and destroy the capacitor's internal foil. Always use a properly rated high-wattage bleeder resistor or a specialized discharge probe to safely dissipate the calculated energy.
For deeper reading on practical capacitor behavior, equivalent series resistance (ESR), and derating curves, manufacturer application notes from companies like Electronics Tutorials and Cornell Dubilier provide excellent bench-level data that bridges the gap between ideal formulas and physical component limitations.






