Capacitor Energy Calculator
Calculate the energy stored in a capacitor from capacitance and voltage, with the charge held, the electron count and what doubling the voltage does.
Calculator
- Charge stored Q = CV.
- 1 mC
- At double the voltage Energy goes as the square of voltage, so twice the volts stores four times the energy.
- 20 mJ
- Electrons moved
- 6.242 × 10¹⁵
Working, with your numbers
- E = 0.5 × C × V^2
- = 0.5 × 100 uF × (10 V)^2
- = 0.5 × 0.0001 × 100
- = 0.005 J = 5 mJ
Values are converted into the units the equation is worked in before the arithmetic.
Use this answer in
Cite this tool
Citing this tool
Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.
The equation
OpenStax, University Physics Volume 2, section 8.3, Energy Stored in a Capacitor
The equation as an image to reuse
What is the formula for the energy stored in a capacitor?
The capacitor energy formula calculates the electrostatic potential energy stored in its electric field: E = ½CV2 = ½QV = Q2 / (2C), where E is energy in joules (J), C is capacitance in farads (F), V is potential difference in volts (V), and Q is stored electric charge in coulombs (C).
Where the half comes from
A capacitor does not accept charge at a constant voltage. It starts empty,
and every electron you push onto one plate raises the voltage that the next
electron has to climb. The first charge arrives against almost no
opposition, the last against the full voltage V. Averaged over
the whole charging process the opposing voltage is half the final value, and
that average is what the factor of a half records. It is the same
triangular-area argument that gives a stretched spring an energy of
½kx²: the resisting quantity grows linearly from zero, so the
work done is half of what a constant resistance would demand.
Charge itself follows the simpler relation Q = CV, with no half
in sight, because charge accumulates linearly while energy accumulates as
the area under the voltage against charge line. The consequence worth
remembering is that energy goes as the square of voltage.
Double the volts and you store four times the energy on the same capacitor,
while doubling the capacitance only doubles it, so up to the part’s voltage
rating you gain more from raising the voltage than from adding capacitance.
Worked example
A 100 µF capacitor is charged to 10 V, the values loaded above.
- Convert the capacitance:
100 µF = 1.00 × 10⁻⁴ F - Square the voltage:
V² = 10² = 100 V² E = ½ × 1.00 × 10⁻⁴ × 100 = 5.00 × 10⁻³ J = 5 mJ- Charge held:
Q = CV = 1.00 × 10⁻⁴ × 10 = 1 mC
Raise the supply to 20 V and the energy becomes
½ × 1.00 × 10⁻⁴ × 400 = 20 mJ, four times as much for twice the
voltage. The charge only doubles, to 2 mC. That 1 mC corresponds to about
6.24 × 10¹⁵ electrons moved from one plate to the other,
which the readouts show alongside the energy.
Why stored energy is a safety number, not a curiosity
Scale the same formula up and the result stops being academic. A
1000 µF capacitor in a power supply that runs off a wall
outlet, charged to 400 V, holds ½ × 1.0 × 10⁻³ × 400² = 80 J.
What decides the harm is the current that charge drives through a body, which OpenStax’s College Physics 2e
calls the major factor in shock severity. Through the 10 kΩ it gives for a person soaking wet, 400 V drives
40 mA, past the 10 to 20 mA at which muscles contract and a hand closes on the wire it cannot
let go of, and with RC = 10 kΩ × 1000 µF = 10 s the current stays above 10 mA for about
14 s. Those thresholds are for 60 Hz AC, and the body is slightly less sensitive to DC.
The charge comes out as fast as the path allows:
the discharge time constant is RC, so the lower the resistance
it meets, the sooner it empties. Nothing in the physics removes that charge when you switch off:
with no load path, a good capacitor can sit at working voltage for hours.
Equipment with a large reservoir capacitor should be bled through a resistor
and then measured with a meter before anyone reaches inside.
The comparison in the other direction is just as instructive. A single AA alkaline cell stores roughly 10,000 J, about two million times the 5 mJ above. Energizer’s handbook rates it at 2500 mAh on a 100 mA drain, the first 1500 mAh above 1.2 V, and a fresh cell reads about 1.6 V open circuit, so it delivers between about 9,400 and 13,000 J. Next to the cell, this capacitor is a poor energy store. What capacitors offer is rate: through a low-resistance load such as a flash tube they can release their charge in a tiny fraction of a second, under a microsecond in some photographic flashes, which is why they fire camera flashes rather than running a flashlight. In power supplies they do a different job: CDE’s application guide describes electrolytic capacitors as the input and output capacitors that filter ripple in linear and switch-mode supplies.
Common mistakes
- Dropping the half. Using
CV²overstates the energy by a factor of two. The half is not a convention, it is the integral of a linearly rising voltage. - Squaring the capacitance instead of the voltage. Only
Vis squared. Energy is linear in capacitance and quadratic in voltage, and the two are not interchangeable when you size a bank. - Missing a prefix. Microfarads, nanofarads and picofarads span six orders of magnitude, and a stray factor of a thousand is the most common source of a wrong answer here. The unit selector exists to remove the conversion step.
- Charging beyond the rated voltage. The formula returns a number for any voltage you type. Past its rating a real capacitor’s dielectric can break down, and an aluminum electrolytic can make gas faster than its seal lets it out and rupture violently, so the working voltage is a hard limit rather than a guideline.
Sources
- OpenStax, University Physics Volume 2, section 8.3, Energy Stored in a Capacitor, for U = ½CV² = Q²/(2C) = ½QV, and capacitors storing the energy of defibrillators and camera flash lamps.
- OpenStax, College Physics 2e, section 21.6, DC Circuits Containing Resistors and Capacitors, for the time constant τ = RC, a camera flash charging in a few seconds and discharging in a tiny fraction of a second, and flashes under a microsecond long.
- OpenStax, College Physics 2e, section 20.6, Electric Hazards and the Human Body, for current as the major factor in shock severity, about 10 kΩ for a person soaking wet, sustained muscular contraction from 10 to 20 mA, thresholds given for 60 Hz AC, and the body slightly less sensitive to DC.
- OpenStax, University Physics Volume 2, section 8.5, Molecular Model of a Dielectric, for dielectric breakdown, and dielectric strength setting the voltage limit of a capacitor.
- CDE (Knowles), Aluminum Electrolytic Capacitor Application Guide, for electrolytic capacitors as the input and output capacitors that filter ripple in linear and switch-mode power supplies, the rated DC voltage, and gas pressure from overvoltage that can rupture the case violently.
- Energizer, Alkaline Handbook, for an AA cell’s 2500 mAh at a 100 mA drain to 0.8 V, 1500 mAh of it above 1.2 V, and the 1.6 V open-circuit voltage of a fresh cell.
Converting units first? Use the energy, voltage and capacitance conversion tables.
How to calculate the energy stored in a capacitor
- Write down the formula:
E = ½ C V² -
Gather the values it needs. The calculator above starts with these:
- Capacitance: C = 100 µF
- Voltage: V = 10 V
-
Substitute them and work through the arithmetic:
- E = 0.5 × C × V^2
- = 0.5 × 100 uF × (10 V)^2
- = 0.5 × 0.0001 × 100
- = 0.005 J = 5 mJ
-
To find one of the other values instead, rearrange the formula for it:
- Capacitance:
C = 2E ÷ V² - Voltage:
V = √(2E ÷ C)
- Capacitance:
More worked examples
Each one runs through the calculator above, so the arithmetic here is the arithmetic it does.
How much energy does a 120 µF capacitor store when charged to 330 V?
- E = 0.5 × C × V^2
- = 0.5 × 120 uF × (330 V)^2
- = 0.5 × 0.00012 × 108,900
- = 6.534 J = 6534 mJ
About 6.5 J. A camera flash works this way: the battery takes a few seconds to charge the capacitor through its own internal resistance, and the low-resistance flash tube empties it in a tiny fraction of a second. Rate, not capacity, is what the capacitor is for.
What voltage does a 1000 µF capacitor need to store 1 joule?
- V = sqrt(2 E / C)
- = sqrt(2 × 1 / 0.001)
- = sqrt(2000)
- = 44.721 V
About 44.7 V. Because energy goes as the square of voltage, the voltage needed rises only as the square root of the energy, so 4 J would take twice as much, 89 V, not four times. Pick a part rated comfortably above the working voltage, since the formula returns a figure whether the capacitor can survive it or not.
Common questions
Why is there a half in the formula?
Because the voltage rises as the capacitor charges rather than staying constant. The first electrons arrive against no opposing voltage and the last against the full voltage, so the average is half the final value. Integrating gives half CV squared, the same triangular-area argument as the energy in a stretched spring.
Why do large capacitors stay dangerous after power off?
Because nothing has removed the charge. A 1000 µF capacitor at 400 V holds 80 joules, and through the 10 kΩ OpenStax gives for a person soaking wet it drives 40 mA, past the 10 to 20 mA at which muscles contract and a hand cannot let go (College Physics 2e, section 20.6). Those thresholds are for 60 Hz AC, and the body is slightly less sensitive to DC. It can also sit charged for a long time with no load. Equipment with a large supply capacitor should be discharged through a resistor and measured before anyone touches it.
How does the energy compare to a battery?
It is tiny by comparison. A 100 µF capacitor at 10 V holds 5 millijoules, while a single alkaline AA cell holds around 10,000 joules, roughly two million times more: Energizer rates the cell at 2500 mAh on a 100 mA drain, which at its working voltages comes to about 9,400 to 13,000 J. Capacitors win on how fast they can deliver and absorb energy, not on how much they hold.