Skip to content
RFrftools.io
General ElectronicsJuly 20, 20266 min read

How Much Energy Is Stored in a Capacitor? A Guide

Calculate capacitor stored energy, charge, and charging current. Includes worked examples, real numbers, and common mistakes engineers make.

Contents

Why Capacitor Energy Matters More Than You Think

Every engineer knows capacitors store energy. But how many actually calculate it before selecting a part? I've seen plenty of designs where someone grabbed a "big enough" capacitor for a backup power rail, only to discover it holds about a tenth of the energy they needed. Or worse, they spec'd a supercap for a hold-up circuit without realizing the charge time would exceed their system's power budget.

The math isn't hard. But getting the numbers right — and understanding what they actually mean for your circuit — takes a bit more care than plugging values into E=12CV2E = \frac{1}{2}CV^2.

The Core Equations

Let's start with what the Capacitor Energy & Charge Calculator actually computes.

Stored Energy

The energy stored in a capacitor charged to voltage VV is:

E=12CV2E = \frac{1}{2}CV^2

where CC is capacitance in farads and VV is voltage in volts. The result is in joules. This quadratic relationship with voltage is critical — double the voltage, quadruple the energy. That's why a 100 µF capacitor at 50 V stores way more energy than a 100 µF cap at 5 V (125 mJ vs 1.25 mJ).

Stored Charge

The charge on a capacitor is simply:

Q=CVQ = CV

Charge is in coulombs. Unlike energy, charge scales linearly with voltage. This matters when you're thinking about how much current flows during charging or discharging.

Average Charge Current

If you need to charge the capacitor from zero to full voltage in a specific time tt, the average current is:

Iavg=Qt=CVtI_{avg} = \frac{Q}{t} = \frac{CV}{t}

I say "average" because real charging circuits don't maintain constant current unless you specifically design them to. An RC charging circuit starts with high current that decays exponentially. A constant-current source, obviously, maintains steady current. The average gives you a baseline for power supply sizing.

Charge Power

The average power required during charging:

Pavg=Et=CV22tP_{avg} = \frac{E}{t} = \frac{CV^2}{2t}

This is the power your charging source needs to deliver, averaged over the charge time. Peak power in a real circuit can be substantially higher.

A Real Worked Example: Supercapacitor Backup

Let's design a backup power system for an industrial sensor that needs to stay alive for 30 seconds during power loss. The sensor draws 50 mA at 3.3 V, and we're using a 5 V rail with an LDO regulator.

Step 1: Energy Required

The load needs:

Pload=3.3 V×50 mA=165 mWP_{load} = 3.3\text{ V} \times 50\text{ mA} = 165\text{ mW}

For 30 seconds:

Eneeded=165 mW×30 s=4.95 JE_{needed} = 165\text{ mW} \times 30\text{ s} = 4.95\text{ J}

Round up to 5 J minimum.

Step 2: Account for LDO Dropout

Here's where people mess up. Your LDO has a dropout voltage — let's say 200 mV. So the capacitor voltage can't drop below 3.5 V, or your 3.3 V rail collapses.

The usable energy in a capacitor isn't the total energy, it's the energy between your starting voltage and minimum voltage:

Eusable=12C(Vmax2Vmin2)E_{usable} = \frac{1}{2}C(V_{max}^2 - V_{min}^2)

With Vmax=5 VV_{max} = 5\text{ V} and Vmin=3.5 VV_{min} = 3.5\text{ V}:

Eusable=12C(2512.25)=6.375CE_{usable} = \frac{1}{2}C(25 - 12.25) = 6.375C

Solving for CC:

C=5 J6.375=0.784 FC = \frac{5\text{ J}}{6.375} = 0.784\text{ F}

So we need about 0.8 F — let's use a 1 F supercap to have margin.

Step 3: Verify Stored Energy

With C=1 FC = 1\text{ F} and V=5 VV = 5\text{ V}:

E=12(1)(25)=12.5 JE = \frac{1}{2}(1)(25) = 12.5\text{ J}

Usable energy:

Eusable=12(1)(2512.25)=6.375 JE_{usable} = \frac{1}{2}(1)(25 - 12.25) = 6.375\text{ J}

That gives us about 28% margin. Good.

Step 4: Charging Requirements

Now the part many engineers skip: can we actually charge this thing in a reasonable time?

Let's say the system needs to be ready within 60 seconds of power-up. The total charge needed:

Q=CV=1 F×5 V=5 CQ = CV = 1\text{ F} \times 5\text{ V} = 5\text{ C}

Average charge current:

Iavg=5 C60 s=83.3 mAI_{avg} = \frac{5\text{ C}}{60\text{ s}} = 83.3\text{ mA}

Average charge power: P_avg = 12.5 J / 60 s = 208 mW

That's actually pretty modest. But here's the catch — if you're using a simple resistor to limit inrush current, the peak current at startup (when the cap is at 0 V) could be 5 V / R_limit. With a 10 Ω resistor, that's 500 mA initially. Your power supply needs to handle that.

The Efficiency Trap

Here's something the basic equations don't tell you: charging a capacitor through a resistor wastes exactly half the energy as heat. Always. It doesn't matter what resistor value you use.

The energy delivered by the power supply is Esupply=QV=CV2E_{supply} = QV = CV^2. The energy stored in the capacitor is Ecap=12CV2E_{cap} = \frac{1}{2}CV^2. The difference — exactly (1/2)CV² — dissipates in the resistor.

For our 1 F supercap example, that's 12.5 J of heat every charge cycle. If you're cycling frequently, this adds up fast. It's why serious supercap backup circuits use switching converters or constant-current sources for charging — you can get charging efficiency (eta\\eta) above 90% instead of the theoretical maximum 50% from resistive charging.

Common Mistakes and Gotchas

Ignoring ESR

Supercaps have equivalent series resistance (ESR) that can be surprisingly high — often 10-100 mΩ for larger values. During discharge, this drops your effective voltage: V_effective = V_cap − I_load × ESR

A 1 F supercap with 50 mΩ ESR supplying 500 mA loses 25 mV to ESR. Not huge, but it adds to your dropout margin calculations.

During fast charging, ESR causes heating. The power dissipated is I² × ESR. At 500 mA through 50 mΩ, that's only 12.5 mW. But if you're trying to charge a 10 F cap at 5 A, you're dumping 1.25 W into the ESR. Supercaps have temperature limits, typically 65-85°C.

Confusing Energy and Charge

I've seen engineers calculate charge (Q=CVQ = CV) when they needed energy, then wonder why their backup time is off by a factor of two. Charge tells you about current flow. Energy tells you about work capacity. They're related but not interchangeable.

Forgetting Leakage Current

Supercapacitors have significant leakage — sometimes 10-100 µA for a 1 F part. Over long hold times, this matters. If your backup scenario is "maintain power for 10 minutes," leakage probably doesn't matter. If it's "hold data for 24 hours," you might lose 20-30% of your charge to leakage alone.

Using Rated Voltage as Working Voltage

Capacitor ratings are maximums, not recommendations. A 5.5 V supercap operated continuously at 5.5 V will have reduced lifetime. Derating to 5 V or even 4.5 V significantly extends life. But this reduces your stored energy by (5.0/5.5)² = 83% or (4.5/5.5)² = 67%. Factor this into your calculations upfront.

Assuming Constant Voltage During Discharge

Unlike batteries, capacitors don't maintain voltage as they discharge. The voltage drops linearly with charge removed (for constant-current loads) or exponentially (for constant-resistance loads). Your downstream regulator or DC-DC converter needs to handle this entire voltage range, and its efficiency often varies significantly across that range.

When the Simple Equations Break Down

The E=12CV2E = \frac{1}{2}CV^2 formula assumes ideal capacitors. Real capacitors, especially electrolytics and supercaps, have voltage-dependent capacitance. A "1 F" supercap might actually be 1.2 F at 2.5 V and 0.9 F at 5 V. The energy calculation becomes an integral, not a simple multiplication.

For aluminum electrolytics, capacitance can vary by ±20% with temperature and age. That backup time you calculated? It might be 20% shorter after a few years at elevated temperature.

Ceramic capacitors (MLCCs) have their own issues — Class 2 dielectrics like X5R and X7R lose significant capacitance under DC bias. A "10 µF" 0603 X5R cap at 5 V might only provide 4-5 µF effective capacitance. The stored energy drops proportionally.

Try It

Grab some real numbers from your current project and open the Capacitor Energy & Charge Calculator. Plug in your capacitance, working voltage, and required charge time. The tool gives you stored energy, charge, average current, and power — everything you need to verify your backup circuit or size your power supply.

It's the kind of calculation that takes 30 seconds but saves hours of debugging when your prototype doesn't hold up as long as you expected.

Related Articles