Press the shutter on a camera with a built-in flash and a capacitor dumps its entire stored charge into a xenon tube in a few thousandths of a second. The battery alone could never deliver that burst — it simply cannot supply current fast enough. The capacitor's job is to collect energy slowly and release it almost instantly. The same trick powers a defibrillator, fires a spot welder, and keeps a microcontroller alive through a momentary brownout.
Behind all of these is one short equation for the energy a charged capacitor holds. This article explains where that energy lives, how to calculate it, and why the relationship between voltage and stored energy is steeper than most people expect.
Why this calculation matters
A capacitor is, at heart, an energy reservoir. Knowing how much it holds is not an academic exercise — it decides whether a flash circuit delivers enough light, whether a hold-up capacitor can ride out a power dip, and whether a high-voltage bank is safe to touch after the supply is switched off.
That last point matters for safety. Large capacitors in power supplies, motor drives, and photographic equipment can retain a dangerous charge long after the equipment is unplugged. An engineer who can compute stored energy can also estimate how much of a hazard a capacitor presents and how big a bleeder resistor it needs. On the design side, energy storage sets the size of backup capacitors, the firing energy of pulse circuits, and the ripple performance of smoothing capacitors. Get the energy figure wrong and the circuit either underperforms or becomes unsafe.
The core formula
Charging a capacitor means pushing charge onto one plate and pulling it off the other, building up an electric field in the dielectric between them. Every increment of charge has to be moved against the voltage that the already-stored charge has created, so the work accumulates as the capacitor fills. The total work done — the energy now stored in the field — is:
E = 0.5 * C * V^2
Here E is the stored energy in joules, C is the capacitance in farads, and V is the voltage across the capacitor in volts. The factor of one-half appears because the voltage rises linearly from zero to its final value as the capacitor charges, so the average voltage during charging is only half the final voltage.
The amount of charge held on the plates is governed by the defining relation of capacitance:
Q = C * V
with Q in coulombs. Combining the two, the energy can equally be written E = 0.5 * Q * V or E = 0.5 * Q^2 / C, whichever form fits the quantities you already know.
The feature worth burning into memory is the square on the voltage. Energy depends on the square of V but only linearly on C. Doubling the capacitance doubles the stored energy; doubling the voltage quadruples it. That is why pulse-power designers reach for higher voltages rather than larger capacitors when they need more energy in a fixed volume — and why a small rise in working voltage can have an outsized effect on a circuit's energy and its hazard.
A worked example
Take a capacitor with capacitance C = 100 microfarad charged to a voltage V = 12 V.
Step 1 — convert to base units. A microfarad is 1e-6 farad, so C = 100e-6 F = 1e-4 F.
Step 2 — apply the energy formula.
E = 0.5 * C * V^2
E = 0.5 * 100e-6 * 12^2
E = 0.5 * 100e-6 * 144
E = 7.2e-3 J
So the stored energy is 7.2 millijoules.
Step 3 — find the charge held.
Q = C * V
Q = 100e-6 * 12
Q = 1.2e-3 C
The plates carry 1.2 millicoulombs of charge.
Step 4 — test the voltage sensitivity. Now suppose the same capacitor is charged to 24 V instead of 12 V. Voltage has doubled, so by the square law the energy should quadruple:
E = 0.5 * 100e-6 * 24^2
E = 0.5 * 100e-6 * 576
E = 28.8e-3 J
The stored energy rises from 7.2 mJ to 28.8 mJ — four times as much for twice the voltage. This is the square-law relationship in action, and it is the single most useful thing to remember about capacitor energy.
Common mistakes
Dropping the factor of one-half. A common slip is to write E = C * V^2 and overstate the energy by a factor of two. The half is real: it is the average-voltage factor from the charging process, and it is not optional.
Mixing up energy and charge. Energy (joules) and charge (coulombs) are different physical quantities answering different questions. Charge tells you how much current flowed in; energy tells you how much work that current can do. A capacitor at low voltage can hold significant charge but little energy.
Forgetting the unit prefixes. Microfarads, nanofarads, and picofarads differ by factors of a thousand. Substituting 100 instead of 100e-6 for a 100 uF capacitor inflates the answer by a million. Always convert to farads and volts before plugging numbers in.
Assuming the rated voltage is the stored voltage. A capacitor's marked voltage is a maximum rating, not the voltage it currently holds. Compute energy from the actual operating voltage, which is often well below the rating.
Ignoring real-world losses. The formula gives the energy stored in an ideal capacitor. Real capacitors have leakage and equivalent series resistance, so not all of that energy reaches the load, and some bleeds away on its own over time. For precise pulse circuits, account for these losses separately.
Try the interactive NovaSolver calculator
Running the arithmetic once is straightforward; seeing how the stored energy, the time constant, and the charging curve respond as you vary capacitance, resistance, and voltage is where the behaviour becomes intuitive. The Capacitor Charge/Discharge & Energy Simulator on NovaSolver lets you set capacitance, series resistance, and supply voltage, then plots the voltage, current, and stored-energy curves while reporting the time constant, the maximum stored energy, and the charge held.
Related calculators
- RC Capacitor Charge / Discharge Simulator — a focused view of the charge and discharge transient when you want to study the time constant on its own.
- RLC Circuit Resonance Simulator — to see how a capacitor and an inductor exchange energy back and forth at resonance.
- Inductor & RL Circuit Transient Response — for the inductor's counterpart, where energy is stored in a magnetic field instead of an electric one.
You can browse the full set in the electromagnetics tools hub.
Closing note
Capacitor energy is one of the most useful one-line formulas in electronics. The energy lives in the electric field between the plates, it grows with the square of the voltage, and it grows only linearly with capacitance. That asymmetry shapes real design choices: it pushes pulse-power circuits toward higher voltages, it explains why a modest voltage rating change matters so much, and it tells you when a switched-off capacitor is still worth respecting. Compute the energy, check it against your load's demand, and never assume a "discharged" supply is safe until the numbers say so.
Top comments (0)