Skip to content
AESTECHNO
AESTECHNO
Contact
Inductors

Energy stored in an inductor: U = ½LI²

An inductor stores energy in its magnetic field while current flows through it. The amount depends only on its inductance L and on the current i at that instant, not on how the current got there.

That energy is why a relay coil needs a flyback diode, why a switching regulator works at all, and why an inductor has a saturation current rating.

The formula

U=12Li2

Energy stored in an ideal inductor carrying the instantaneous current i.

Symbol Quantity Unit
U Stored energy joule (J)
L Inductance henry (H)
i Instantaneous current through the inductor ampere (A)
Closing S lets the current rise from zero; the inductor stores energy while it does.

Where the formula comes from

Close the switch in the circuit above. Kirchhoff's voltage law around the loop says that the battery EMF ℰ equals the voltage across the inductor, Ldidt, plus the voltage across the resistor, iR:

ℰ=Ldidt+iR

Multiply every term by the current i to turn voltages into powers. The left side is the power the battery supplies; the last term is the power the resistor turns into heat; the middle term is the rate at which energy goes into the inductor:

ℰi=Lididt+i2R

Integrate that middle term while the current rises from 0 to its final value I. Time drops out, which is why the stored energy depends only on the final current:

U=∫0ILidi=12LI2

Where the energy actually sits: the magnetic field

The energy is not in the wire, it is in the magnetic field the current creates. Divided by the volume the field occupies, it gives the magnetic energy density, in joules per cubic metre, for a field B in vacuum or air:

u=UV=B22μ0

For a long solenoid with n turns per metre, cross-section A and length ℓ, the inductance and the field inside are:

L=μ0n2Aℓ,B=μ0ni

Putting them into 12Li2 gives exactly the energy density times the volume Aℓ, so both views agree. In a core material, replace the vacuum permeability by the material's permeability, as long as the core stays out of saturation.

What it means in a real circuit

The stored energy has to go somewhere when the current is interrupted. Opening a switch in series with a relay coil forces Ldidt to become very large, and the coil voltage spikes until the energy finds a path, often through the switching transistor. A diode across the coil gives that energy a safe path instead.

Switching regulators use the same energy on purpose. In a flyback converter running in discontinuous mode, the inductor is charged to a peak current every cycle and then empties completely into the output, so the power it can transfer is the stored energy times the switching frequency:

P=12LIpk2f

That is also why inductor datasheets give a saturation current. Above it the core saturates, the inductance falls, and the inductor can no longer store the energy the formula predicts with the nominal value.

Worked example

A 10 µH inductor at 3 A

A 10 µH inductor carries a peak current of 3 A. How much energy does it hold, and how much power could a flyback converter in discontinuous mode transfer with it at 100 kHz?

  1. Convert to SI units: L=10×10−6H, I=3A.
  2. Apply the formula: U=12×10×10−6×32=45×10−6J.
  3. Multiply by the switching frequency: P=45µJ×100kHz=4.5W, before losses.

Result: 45 µJ stored at 3 A, enough for about 4.5 W at 100 kHz in an ideal discontinuous flyback.

Common mistakes

  • Forgetting the factor ½. The energy is 12Li2, not Li2.
  • Using the RMS current to find the peak energy. The formula uses the instantaneous current: for the energy at the peak, use the peak current.
  • Assuming the inductance stays constant at any current. Above the saturation current the inductance drops and the stored energy falls short of the calculation.
  • Opening an inductive circuit without a path for the current. The stored energy does not vanish: it shows up as a voltage spike that can destroy the switch.
  • Mixing it up with the capacitor formula 12CV2. An inductor stores energy with current, a capacitor with voltage.
A circuit to design?

Our design house in Montpellier, France designs and validates electronic boards, from schematic to production.

Our electronic design expertise

Frequently asked questions

Why is there a factor ½ in the inductor energy formula?
Because the current rises from zero. The power going into the inductor is L times i times di/dt, and integrating it from 0 to the final current I gives one half of L I squared. The ½ is the average of a quantity that grows linearly, in the same way as for a capacitor or a spring.
Where is the energy of an inductor stored?
In its magnetic field, not in the wire or the core material as such. The energy density of a field B in vacuum or air is B squared divided by twice the vacuum permeability, and integrating it over the volume of the field gives back one half L I squared.
What happens to the energy when the current is switched off?
It has to leave the inductor. If nothing gives the current a path, the voltage L di/dt rises until something conducts, often an arc or the breakdown of the switching transistor. A flyback diode, a snubber or a TVS diode gives the energy a controlled path.
Does the series resistor change the energy stored?
Only through the final current. With a battery of EMF E and a total resistance R, the current settles at E divided by R and the stored energy is one half L times that current squared. The resistor sets how fast the current gets there, through the time constant L divided by R, and turns its own share of power into heat.
How is inductor energy related to capacitor energy?
They are duals. A capacitor stores one half C V squared in its electric field and resists changes of voltage; an inductor stores one half L I squared in its magnetic field and resists changes of current. In an LC circuit the energy swings back and forth between the two.

Sources

Formulas and values checked against these published references.