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 and on the current 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
Energy stored in an ideal inductor carrying the instantaneous current i.
| Symbol | Quantity | Unit |
|---|---|---|
| Stored energy | joule (J) | |
| Inductance | henry (H) | |
| Instantaneous current through the inductor | ampere (A) |
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, , plus the voltage across the resistor, :
Multiply every term by the current 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:
Integrate that middle term while the current rises from 0 to its final value . Time drops out, which is why the stored energy depends only on the final current:
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 in vacuum or air:
For a long solenoid with turns per metre, cross-section and length , the inductance and the field inside are:
Putting them into gives exactly the energy density times the volume , 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 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:
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.
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?
- Convert to SI units: , .
- Apply the formula: .
- Multiply by the switching frequency: , 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 , not .
- 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 . An inductor stores energy with current, a capacitor with voltage.
Our design house in Montpellier, France designs and validates electronic boards, from schematic to production.
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
- OpenStax, University Physics Volume 2, 14.3 Energy in a Magnetic Field
- HyperPhysics (Georgia State University), Energy Stored in an Inductor
Formulas and values checked against these published references.