What is magnetic energy in an inductor?
An inductor resists changes in current by building a magnetic field around its conductors. When current increases, energy flows from the source into this field. When current decreases, the field collapses and releases that energy back into the circuit. This behaviour is why inductors cause sparks when unplugged suddenly—the stored energy must dissipate somewhere.
The amount of energy stored depends on two factors: the inductance value (how easily the coil generates a magnetic field) and the instantaneous current (which determines field strength). Doubling the current quadruples the stored energy, making current the dominant variable. This quadratic relationship is why circuits with high inductance and large current swings experience significant transient surges.
Magnetic energy formula
The energy stored in an inductor is calculated from the work needed to establish the magnetic field:
E = ½ × L × I²
E— Magnetic energy stored in the inductor (joules)L— Inductance value (henries)I— Current flowing through the inductor (amperes)
Worked example: calculating stored energy
Consider a 20 μH inductor carrying 300 mA of steady-state current. Converting to base SI units: L = 2 × 10⁻⁵ H and I = 0.3 A.
Substituting into the formula:
E = ½ × (2 × 10⁻⁵) × (0.3)² = ½ × (2 × 10⁻⁵) × 0.09 = 9 × 10⁻⁷ J
This equals 0.9 microjouules (μJ) or 900 nanojoules (nJ). Although tiny in absolute terms, such energy becomes significant in high-frequency switching circuits or when multiplied across many components in a system.
Practical applications of inductor energy storage
LC circuits and resonance: In LC tanks used for radio tuning and oscillators, energy sloshes between the inductor and capacitor at the resonant frequency. The inductor's stored energy converts to capacitor voltage and back, enabling frequency-selective circuits.
Transformers: Two inductors coupled magnetically transfer energy via a shared magnetic core. The primary coil's stored energy induces voltage in the secondary, allowing voltage step-up or step-down without direct electrical connection.
Power supplies and switching regulators: Inductors in buck and boost converters use stored energy to smooth current and regulate output voltage during switching cycles. Larger inductance values store more energy per ampere, reducing current ripple.
Transient protection: Series inductors limit inrush current and dI/dt surges that damage semiconductor junctions. The inductor's energy storage acts as a current buffer.
Key considerations when calculating inductor energy
Avoid these common mistakes when working with magnetic energy in circuits.
- Units matter in exponential expressions — Always convert to base SI units (henries, amperes) before calculating. A 1 mH inductor and 1 A current store 0.5 mJ—but if you mistakenly use millamperes without converting, you'll get an answer 1 million times too small. Dimensional consistency is non-negotiable with squared terms.
- Steady-state current is what counts — The formula uses the instantaneous current through the inductor. During transient events (switching, faults), peak current—not average or RMS—determines peak stored energy. This is why inductors in digital circuits can discharge kilowatts despite low average power dissipation.
- Frequency and resistance affect practical values — In AC circuits, current varies sinusoidally, so instantaneous energy oscillates. Real inductors have resistance (DCR), which dissipates energy as heat. The quality factor Q determines how much energy is lost per cycle. Ideal formulas assume zero resistance; real components always fall short.
- Energy release can overvolt the circuit — When an inductive circuit is suddenly broken, all stored energy must go somewhere instantly. If the load impedance is high, voltage can spike dangerously. This is why inductive loads need flywheel diodes or snubber circuits to safely dissipate the magnetic energy.