Inductor Energy Calculator – U = ½LI² & Reactance XL

Use this free Inductor Energy Calculator to find the energy stored in an inductor's magnetic field, U = ½LI². Enter the inductance and the current — and add a frequency if you also want the inductive reactance XL.

An inductor carrying a current is a charged spring made of magnetism. The energy U = ½LI² is not stored in the wire or the core material as heat or chemistry — it lives in the magnetic field the current maintains around the coil, and it is repaid in full the moment the current tries to fall. This calculator finds that stored energy from inductance and current, and, if you add a frequency, also reports the inductive reactance XL = 2πfL — the coil's opposition to alternating current, which grows in direct proportion to frequency.

The ½LI² formula belongs to a family worth recognising: ½mv² for a moving mass, ½CV² for a charged capacitor, ½kx² for a stretched spring. In each, a quantity that resists change (mass, inductance) meets a quantity that flows or displaces (velocity, current), and the stored energy is half their product with the flow squared. Inductance is electrical inertia. Just as a flywheel refuses to start or stop suddenly, an inductor refuses to let its current change suddenly — and the energy figure this calculator returns is the measure of that refusal, the amount of work the circuit must do, or undo, to change its mind.

Inductor Energy Calculator — formula and diagram

That refusal has teeth. Interrupt the current through a large inductor abruptly and the field collapses fast enough to generate whatever voltage is needed to keep the current going — hundreds of volts from a 12 V circuit, in a spark across the opening switch. Ignition coils weaponise exactly this; relay drivers fear it and fit diodes against it. Knowing U = ½LI² for your coil tells you the size of the kick before it arrives.

L field holds the energy I U = ½LI²

Formula

Stored energy U = ½ × L × I²  •  inductive reactance XL = 2πfL  •  U in joules (J), L in henrys (H), I in amps (A), f in hertz (Hz), XL in ohms (Ω)

Rearrangements cover the design questions. Given a target energy and a current, the inductance needed is L = 2U ÷ I²; given an energy and an inductor, the current it implies is I = √(2U ÷ L) — the square root is the signature of every ½x² law. The reactance side rearranges too: L = XL ÷ (2πf) sizes a choke for a wanted opposition at a known frequency. Watch the inductance units: henrys are big, and most real coils are milli- or microhenrys, so convert before calculating (10 mH = 0.01 H) — this calculator takes henrys, and its worked examples show the conversions explicitly. One more identity ties the page together: at the frequency where XL is computed, the peak energy sloshing in and out of the field each cycle is exactly the U given by ½LI² with I the peak current — reactance and stored energy are the same physics billed two ways.

SymbolMeaningUnits
Uenergy stored in the magnetic fieldjoules (J)
Linductance of the coilhenrys (H); 1 mH = 0.001 H
Icurrent through the inductoramps (A)
XLinductive reactance at frequency fohms (Ω)
ffrequency of the alternating currenthertz (Hz)

Why the energy grows with the square of the current

Building a current in an inductor is uphill work from the first milliamp. The growing current grows the field; the growing field induces a back-EMF opposing the rise; the supply must push against that opposition for every increment. Crucially, the opposition is proportional to the current already flowing — doubling the final current means every step of the climb is twice as hard and there are the same number of steps at twice the size. Work is effort integrated over the climb, and integrating a quantity proportional to I, from 0 to I, yields the ½I². The half is the same half that appears in ½mv², and for the same reason: averages of linear ramps carry it.

The practical moral is that current is precious and inductance is cheap. If you need four times the stored energy, doubling the current gets it for free in component terms — but the wire must carry that current without cooking, and the core must hold the doubled field without saturating. Saturation is the ceiling on the whole formula: past it, extra current buys almost no extra field, L effectively collapses, and ½LI² stops describing the coil. Datasheets' saturation current ratings are the boundary between this page's clean parabola and the messy magnetic reality beyond it.

4 A → 4 J 2 A → 1 J 6 A → 9 J U (joules), L = 0.5 H I (amps) equal current steps, growing energy steps — the square at work

How to use

  1. Enter the inductance L in henrys (for millihenrys, divide by 1000: 50 mH is entered as 0.05).
  2. Enter the current I flowing through the inductor — the steady current whose field holds the energy.
  3. Optionally enter a frequency f if you also want the reactance XL at that frequency.
  4. Click "Calculate" to get the stored energy in joules, and the reactance if f was given.
  5. Sanity-check with the square law: doubling your current should quadruple the energy. If it merely doubles, a digit has slipped.

Worked examples

Example 1 — the reference coil. An inductor of 0.5 H carries a current of 4 A.
U = ½ × 0.5 × 4² = ½ × 0.5 × 16 = 4 J.
At a frequency of 50 Hz its reactance is XL = 2π × 50 × 0.5 = 157.08 Ω. Four joules is the energy of a small apple falling a metre — trivial as heat, but delivered in a microsecond spark it is a fierce little event.

Example 2 — a millihenry choke. A 10 mH inductor (L = 0.01 H) carries 2 A: U = ½ × 0.01 × 4 = 0.02 J = 20 mJ. At 1 kHz its reactance is XL = 2π × 1000 × 0.01 = 62.83 Ω — the size of opposition that makes it useful as a filter choke in audio and switch-mode circuits, where its stored energy is the working fluid of the converter.

Example 3 — the square law, demonstrated. A 2 H inductor at 3 A stores U = ½ × 2 × 9 = 9 J. Raise the current to 6 A and U = ½ × 2 × 36 = 36 J: twice the current, four times the energy. Run the comparison backwards before any design decision — if a circuit change doubles inductor current, the flyback energy your switch must survive has quadrupled, not doubled.

Example 4 — an ignition coil. A coil with L = 6 mH (0.006 H) is charged to 5 A before the contact opens: U = ½ × 0.006 × 25 = 0.075 J = 75 mJ. Seventy-five millijoules sounds like nothing until it is released in a few microseconds across a spark plug gap — the power during the spark is in the tens of kilowatts, which is the entire point of storing energy slowly and releasing it violently.

Example 5 — a superconducting magnet. An MRI magnet's coil has L ≈ 50 H and runs at 100 A in persistent mode: U = ½ × 50 × 10,000 = 250,000 J = 250 kJ. That is the kinetic energy of a family car at motorway speed, held silently in a magnetic field for years. If the magnet quenches, those 250 kJ boil off helium in seconds — the formula, at this scale, is a safety document.

Example 6 — working backwards to current. A design must store 2 J in a 0.25 H inductor. I = √(2U ÷ L) = √(4 ÷ 0.25) = √16 = 4 A. At 60 Hz the same coil's reactance is XL = 2π × 60 × 0.25 = 94.25 Ω. Energy targets and current ratings are the same decision seen from two ends, joined by the square root.

Inductor energy in real life

Ignition systems. Example 4 is the petrol engine's spark: charge the coil slowly from 12 V, then open the circuit and let the collapsing field generate the kilovolts that fire the plug. A century of motoring ran on ½LI² delivered 50 times a second.

Switch-mode power supplies. Buck and boost converters store energy in an inductor's field during one part of each switching cycle and release it in the next — tens of thousands of times per second. The inductor is not a filter accessory; it is the bucket in which energy is carried from input to output, and ½LI² sizes the bucket.

Flyback protection. Every relay, solenoid and motor winding is an inductor that will kick when switched off. A diode across the coil gives the stored energy a circular path to die in quietly; omit it and the same energy takes the path through your transistor, once. The kick's budget is exactly this calculator's answer.

Maglev and MRI magnets. Superconducting coils hold hundreds of kilojoules in persistent currents (Example 5). Their protection systems — heaters, dump resistors, quench detectors — exist to answer one question: when ½LI² must come out in a hurry, where shall it go?

Energy-recovery braking. In hybrid and electric drivetrains, the motor's inductance and the boost converter shuffle kinetic energy back into the battery during braking. The per-cycle energies are small; at hundreds of thousands of cycles per journey they are the difference between wasting a hill and reusing it.

Defibrillators and flash lamps. Some designs charge an inductor and dump its field into the load for a shaped pulse — the inductor's current cannot change instantly, so it delivers a controlled, sustained push rather than a capacitor's fading rush. Choosing between ½LI² and ½CV² storage is choosing the shape of the pulse.

50 Hz → 157 Ω 100 Hz → 314 Ω XL (ohms), L = 0.5 H f (hertz) reactance grows in direct proportion to f — a straight line, unlike XC

The capacitor's mirror: two ways to store a joule

Electrical energy storage has two faces. A capacitor stores energy in an electric field, U = ½CV², holds it as separated charge, and releases it as a current that starts huge and fades. An inductor stores energy in a magnetic field, U = ½LI², holds it as a circulating current, and releases it as a voltage that insists on sustaining that current. The duality runs through everything: capacitors resist voltage changes, inductors resist current changes; capacitor energy depends on the square of a voltage, inductor energy on the square of a current; capacitors in parallel and inductors in series add, and vice versa. Practical energy storage chooses per job — capacitors for cheap bulk at low voltage, inductors where current must be smoothed or shaped — and the largest systems, from grid stabilisers to particle accelerators, deploy both, each minding the half of the cycle the other cannot.

Reading a datasheet's current ratings

Real inductors carry two different current ratings, and this page's formula is hostage to both. The saturation current is where the core gives up and L falls by a stated fraction (often 20–30%) — beyond it, ½LI² computed with the nameplate L overstates the stored energy, because the L in the formula is no longer the L in the part. The rated current is a thermal limit: the DC current that raises the winding's temperature by a stated amount, regardless of saturation. A coil can be thermally comfortable and magnetically saturated, or the reverse. For energy-storage duty — converters, flyback designs, pulse circuits — the binding constraint is whichever arrives first, and honest design checks the stored energy at the saturation current, with the reduced inductance, before trusting the headline number.

Quick reference: reactance of a 0.5 H inductor

FrequencyXL = 2πfLContext
50 Hz157.08 ΩEuropean mains
60 Hz188.50 ΩAmerican mains
100 Hz314.16 Ωrectified mains ripple
1000 Hz3141.59 Ωaudio test tone

Ten times the frequency, ten times the reactance — the straight line of Diagram 3 in table form. Compare the capacitive reactance page, where the same decade of frequency divides the reactance by ten instead.

Common mistakes

  • Entering millihenrys as henrys. A 10 mH coil entered as "10" inflates the energy a thousandfold. Convert first: mH ÷ 1000, µH ÷ 1,000,000. If the answer would power a house from a hearing-aid coil, a unit has slipped.
  • Forgetting the square. U is proportional to I², not I. Doubling current quadruples stored energy — and quadruples the flyback energy a switch must absorb. Linear intuition underestimates every inductor kick by design.
  • Using RMS current where peak is meant (and vice versa). In AC circuits the field's peak energy is ½L × Ipeak². With Ipeak = √2 × IRMS, mixing the two costs a factor of two in the energy. Be clear which current you typed.
  • Trusting ½LI² past saturation. The formula assumes L is constant. Beyond the core's saturation current, L collapses and real stored energy falls far short of the parabola. Check the datasheet's saturation rating before believing big numbers.
  • Opening an inductor's circuit "to stop it". The current cannot stop instantly; the field will raise whatever voltage is needed to keep it flowing, across your switch, your transistor or your fingers. Always give stored inductor energy a planned path — a diode, a snubber, a load — before you interrupt it.

FAQ

Where is the energy actually stored?
In the magnetic field around the coil. When the current falls, the field collapses and gives the energy back — which is why an inductor resists sudden changes in current and can produce a spark when a circuit is broken.

Why does the energy depend on I²?
Doubling the current both doubles the field strength and doubles the "effort" needed to build it, so the stored energy grows with the square of the current — the same pattern as kinetic energy ½mv².

What is the difference between inductance and reactance?
Inductance L is a fixed property of the coil (in henrys). Reactance XL is how much that coil opposes AC at a particular frequency — it grows in direct proportion to f.

Is the stored energy lost as heat?
Not in an ideal inductor: the energy is held in the field and returned when the current falls. Real coils lose some to winding resistance during the transfer in and out, and to core losses, but the storage itself is a loan, not a consumption — that is why inductors can shuttle energy millions of times a second in converters without melting.

Why does an inductor spark when disconnected?
The field insists the current continue. With the normal path opened, the collapsing field raises the voltage across the gap until the air itself conducts — a spark — or until a semiconductor fails and conducts instead. The energy in that spark is precisely the ½LI² the coil was holding.

Does a bigger core mean more stored energy?
Indirectly. Core size and material set how much field (and current) the coil sustains before saturating, which caps the usable L × I². The formula has no core term, but the ceiling it warns about is built from core — energy density in the field is limited by saturation flux density, a material property.

What is the energy density of a magnetic field?
u = B² ÷ (2μ) joules per cubic metre, where B is the flux density and μ the permeability of the space the field occupies. It is the distributed version of ½LI² — integrate it over the field's volume and the two agree. Air-core fields store little per litre; that is why compact high-energy inductors use iron or ferrite to concentrate the field.

Can an inductor store energy with DC?
Yes — DC is its natural state: a steady current, a static field, energy held indefinitely (minus nothing, in a superconductor; minus winding-resistance losses during charging, in copper). Reactance is zero at DC steady state, but the stored energy is fully present, as any interrupted DC inductor circuit demonstrates with a spark.

How fast can the energy come out?
As fast as the circuit lets the current change — the limit is set by the voltage the collapse is allowed to generate: V = L × (rate of change of I). Across a tiny resistance the release is gentle; across an opening switch it is microseconds and kilovolts. The energy is fixed; the violence is negotiable.

Why do converters prefer small inductors at high frequency?
Each cycle moves ½LI² of energy, so power throughput is that energy times cycles per second. Raise the frequency and the same power flows with a smaller L — which is why modern converters switch at hundreds of kilohertz and use inductors the size of a fingernail where a 50 Hz design needed a brick.

Thomas Becker

Thomas Becker

Physics Writer · Electricity & Magnetism

Thomas Becker creates and reviews our magnetism and electrostatics calculators at CalcVIP. Every calculator is checked against hand-worked examples before it is published, so the formula, the diagram and the answer all agree.

View full profile & all calculators by Becker →