Inductor Energy Solver – Find L or I from Stored Energy U = ½LI²
Use this free Inductor Energy Solver to work backwards from the energy stored in an inductor. Pick a mode: find the inductance L from the stored energy and current, or find the current I from the energy and inductance.
An inductor carrying current is a charged battery of a peculiar kind: its energy lives not in chemistry or in separated charge but in a magnetic field, and it is denominated by one compact formula, U = ½LI². Most calculators run that formula forwards. This one runs it backwards, because that is how the questions arrive in practice. You know how much energy a converter must hand over each cycle and the current you can afford — what inductance does that demand? You know a coil's inductance and the energy budget of a fault — what current does that imply? The rearrangements L = 2U/I² and I = √(2U/L) are the design tools, and this solver is built around them.
The square in the formula is the personality of the device. Double the current and the stored energy quadruples, because the supply had to work against twice the back-EMF while pushing in twice the charge-carriers' worth of current. That quadratic sting explains both ends of the inductor's career: why a modest coil at a few amps already stores a spark-worthy fraction of a joule, and why a superconducting magnet at hundreds of amps stores megajoules that must be managed like a reservoir behind a dam.
The examples below span the full range — an ignition coil's tens of millijoules, a switch-mode converter's fraction of a millijoule delivered a hundred thousand times a second, and an MRI magnet's 6.25 megajoules. A depth section converts the formula into energy per cubic metre of magnetic field, the form in which magnet designers actually think, and the quick-reference table lets you compare field strengths with the energy densities they carry.
Formula
The energy stored in an inductor is U = ½ L I², so L = 2U / I² and I = √(2U / L).
Each rearrangement answers a different practical question. L = 2U/I² sizes a coil from an energy-transfer specification — the core calculation in flyback converter design. I = √(2U/L) works out what current a given stored energy corresponds to — the question behind fault analysis, fuse coordination and "how hard will this kick?" The forward form, U = ½LI², checks both. Units: energy in joules, inductance in henries, current in amps; millihenries and millijoules must be converted (×10−3) before they enter these formulas, and the worked examples show the conversions explicitly because they are where errors breed.
| Symbol | Meaning | Units |
|---|---|---|
| U | energy stored in the magnetic field | joules (J) |
| L | inductance | henries (H) |
| I | current through the inductor | amps (A) |
| B | magnetic field strength (in the depth section) | teslas (T) |
| u | energy density, u = B²/(2μ₀) | J/m³ |
Energy per cubic metre: thinking like a magnet designer
There is a second way to write the stored energy, and for anyone designing magnets it is the more revealing one. The energy is not really "in the coil" — it is distributed through the space the field occupies, at a density of u = B²/(2μ₀) joules per cubic metre, where B is the field strength and μ₀ = 4π × 10−7. At B = 1 T the density is 1 ÷ (2 × 4π × 10−7) = 397,887 J/m³ — about 0.4 MJ in every cubic metre of 1-tesla field. This reframing explains the ½LI² formula's shape: the total energy is the density integrated over the field's volume, and since B is proportional to I, the density goes as I² and so does the total.
It also sets honest expectations. Magnetic storage is dilute compared with chemistry: a litre of 1 T field holds about 400 J, while a litre of petrol holds about 34 million. Inductors therefore shine not as bulk energy stores but as buffers — holding energy for microseconds to seconds, smoothing and transferring it at enormous power. The spectacular exception proves the rule by scale: a superconducting MRI magnet sustains several tesla over a large volume with zero resistive loss, accumulating megajoules (Example 5) that a quench — an accidental return to resistance — would release as heat in seconds. Energy density is the number that tells you which game you are playing.
How to use
- Choose whether you want to solve for the inductance L or the current I.
- Enter the stored energy in joules.
- Enter the current (to find L) or the inductance in henries (to find I), then click "Calculate".
- Convert before you enter: a converter inductor specified as 100 µH is 0.0001 H, and 0.2 mJ of stored energy is 0.0002 J. The examples below model the conversions.
Worked examples
Example 1 — finding L from energy and current. An inductor stores U = 0.5 J while carrying I = 2 A. What is its inductance?
L = 2U / I² = (2 × 0.5) / 2² = 1 / 4 = 0.25 H.
Check: U = ½ × 0.25 × 2² = 0.5 J ✓.
Example 2 — finding I from energy and inductance. The same 0.25 H coil is charged until it stores 2 J. What current is flowing? I = √(2U/L) = √(4 ÷ 0.25) = √16 = 4 A. Doubling the current quadrupled the energy — the square law, seen from the solver's side.
Example 3 — an ignition coil. A car ignition coil's primary stores about 0.06 J at a primary current of 3 A. Its inductance is L = 2 × 0.06 ÷ 3² = 0.12 ÷ 9 = 0.0133 H = 13.3 mH. That small energy, released in microseconds through the secondary, is what makes a 20,000 V spark from a 12 V battery.
Example 4 — a switch-mode converter inductor. A converter's 100 µH inductor must hand over 0.2 mJ per cycle. The peak current it must reach is I = √(2 × 0.0002 ÷ 0.0001) = √4 = 2 A. This is the central sizing loop of converter design: energy per cycle and inductance together fix the peak current the switches must survive.
Example 5 — the MRI magnet. A superconducting magnet with L = 50 H carries 500 A. Its stored energy is U = ½ × 50 × 500² = 6,250,000 J = 6.25 MJ — roughly the energy of a car at highway speed, held silently in a field. Run the solver the other way: reaching even 1 MJ in the same magnet needs I = √(2 × 10⁶ ÷ 50) = 200 A.
Example 6 — a small choke. A filter choke stores 18 mJ while carrying 0.6 A. L = 2 × 0.018 ÷ 0.6² = 0.036 ÷ 0.36 = 0.1 H = 100 mH. Millijoule energies and sub-amp currents are the natural habitat of the solver's milli- conversions — and of most bench inductors.
Inductor energy in real life
Flyback converters. A flyback supply stores energy in its inductor during the switch-on time and delivers it during the off time. Example 4's numbers are one cycle's worth: 0.2 mJ handed over 100,000 times a second is 20 W of throughput — power is just stored energy times how often you store it.
Ignition systems. Example 3's 60 mJ seems trivial until its release time enters: discharged in 10 µs it is a 6 kW pulse. Inductor energy questions are always secretly power questions too.
Superconducting magnets (MRI, accelerators, fusion). Megajoule stores with nowhere to hide: quench protection systems exist to extract or safely dissipate Example 5's 6.25 MJ when a magnet faults. The solver's I = √(2U/L) is how engineers reason about what a protection failure implies.
Pulsed power: railguns and flash lamps. Capacitor banks get the glory, but inductor-switched pulsed supplies store energy in fields precisely because a coil can be "opened" to multiply voltage — the energy formula with a violent dI/dt.
Boost converters in phones and LED drivers. A few microhenries and a couple of amps: microjoules per cycle, megahertz repetition. The same two rearrangements, at the opposite end of the scale from the MRI magnet.
Energy harvesting. Vibration and RF harvesters buffer their trickle in inductors within boost converters; sizing that inductor from the per-cycle energy budget is Example 4 with smaller numbers.
Quick reference: energy density of a magnetic field
| Field B | Energy density u = B²/(2μ₀) | Where you meet it |
|---|---|---|
| 0.5 T | 99,472 J/m³ | strong permanent-magnet gaps |
| 1 T | 397,887 J/m³ | iron-core electromagnets near saturation |
| 1.5 T | 895,247 J/m³ | clinical MRI scanners |
| 2 T | 1,591,549 J/m³ | research magnets |
Multiply a density by the field's volume to estimate a magnet's stored energy independently of its winding details — a powerful cross-check on ½LI². It also exposes the ceiling: iron saturates near 2 T, so iron-core devices cannot push the density past roughly 1.6 MJ/m³ no matter how the coil is wound; beyond that, only superconducting (air-core) magnets play.
Where the one-half comes from
The ½ in U = ½LI² is not a fudge factor; it falls out of the work done while the current climbs. An inductor fights its own charging: at current I its back-EMF is L × dI/dt, so pushing a little more charge through against that opposition costs work in proportion to the current already flowing. The first trickle of current enters against almost no opposition; the last enters against the full back-EMF. Adding up the escalating cost — integrating I from zero to its final value — gives the average current, I/2, doing the work, and hence U = ½LI². It is the same ½ as in the kinetic energy ½mv² and the capacitor's ½CV², and for the same reason: whenever a quantity is built up against a resistance proportional to how much has already accumulated, the total cost is half the final rate times the final amount.
The practical consequence is a rule of thumb worth memorising: the stored energy equals the energy the inductor would return if it discharged at half its current the whole way down. Discharge curves are exponentials rather than straight lines, but the accounting is exact — every joule of the ½LI² comes back out (minus resistive losses) when the field collapses, which is the whole basis of the flyback and boost converters in the applications above.
When L itself depends on I: saturation revisited
The formula treats L as a constant of the device, and for air-core inductors it nearly is. Iron and ferrite cores are less honest: their inductance is a small-signal measurement, taken at a whisper of current, and it droops as the core approaches saturation. A choke stamped 100 mH may present only about 60 mH at its full rated current of 2 A. Run the naive calculation and you would predict ½ × 0.1 × 2² = 0.2 J stored; the true figure is lower, because the upper reaches of the current were accumulated against a smaller inductance — geometrically, the area under a bending curve rather than a straight one.
Designers handle this three ways: they specify inductance at the working current (a "DC bias" curve on the datasheet), they gap the core — a deliberate air gap that flattens the L-versus-I curve at the price of a lower headline L — or they simply leave margin, sizing switches and clamps for the naive figure and letting reality be kinder than the calculation. For this solver, the lesson is to feed it the L that applies at your operating current whenever the core is iron or ferrite, and to treat results computed from a no-load L as upper bounds.
The gapped core hides a beautiful fact that ties this section back to the energy-density table: in a gapped inductor, nearly all the stored energy lives in the gap. The iron merely guides the field to a small volume of air where B is high and μ is low, and there the density B²/2μ₀ does its work. Flyback transformers — really gapped coupled inductors — are designed backwards from exactly this: choose the gap volume so that ½LI² fits at the working flux density, then wind for the inductance.
Common mistakes
- Forgetting the square root (or squaring twice). Solving for I requires √(2U/L). A common slip is to compute 2U/L and report it as amps — for Example 1's numbers that yields 16 "amps" instead of the correct 4 A of Example 2's arrangement.
- Entering millihenries as henries. A 100 mH choke is 0.1 H. Off by 1,000 in L means off by 1,000 in computed energy, or by a factor of about 32 in computed current — errors large enough to matter and small enough to miss.
- Expecting energy to scale linearly with current. It scales with I². "Twice the current, twice the stored energy" understates the truth by a factor of two — and in fault analysis, understating stored energy is the dangerous direction.
- Confusing stored energy with delivered power. 0.2 mJ sounds negligible until it is delivered 100,000 times per second (20 W) or in 10 microseconds (a 6 kW pulse). Always pair U with a timescale before judging it.
- Assuming a real inductor keeps its nameplate L at all currents. Iron cores saturate: as current climbs, L falls, and the stored energy grows more slowly than ½LI² predicts with the small-signal L. The formula is exact for the L the inductor actually has at that current.
FAQ
Where is the energy stored?
In the magnetic field around the coil. Unlike a resistor, an ideal inductor does not waste the energy as heat — it returns it to the circuit when the current falls, which is why inductors smooth out current changes.
Why does the energy depend on I²?
Doubling the current doubles the field strength and also doubles the back-EMF the supply had to work against, so the stored energy goes up four times. A 4 A current in the 0.25 H coil above stores 2 J, not 1 J.
How is this different from a capacitor?
A capacitor stores energy in an electric field (U = ½CV²) and resists changes in voltage; an inductor stores energy in a magnetic field (U = ½LI²) and resists changes in current. The two formulas are mirror images of each other.
Does the resistance of the coil change the stored energy?
Not the amount stored at a given current — U = ½LI² has no R in it. Resistance decides how much additional energy is wasted as heat while establishing that current, and how quickly the stored energy bleeds away if the source is removed.
How do I measure the energy in a real inductor?
Measure L (with an LCR meter) and the operating current, then compute — or discharge the inductor into a known load and integrate. In practice the formula route is standard, with a correction if the core is near saturation.
Why can't a small inductor store much energy?
Two ceilings: the core saturates (limiting B, hence the energy density B²/2μ₀) and the winding overheats (limiting I). A matchbox-sized inductor storing a joule would need fields and currents its materials cannot survive — energy storage is why big magnets are big.
What happens to the energy if the circuit is opened?
It insists on leaving: the inductor drives its current through whatever path exists, generating high voltage if the path is resistive. Flyback diodes and snubbers are deliberate exit routes for exactly this energy — the companion Inductor Current Calculator covers the rise and decay curves.
Is the energy recoverable, or is it lost like a resistor's?
Recoverable — that is the point of the device. An ideal inductor returns every joule as the current falls; real ones lose a fraction to winding resistance and core losses on each cycle, which is the efficiency battle in converter design.
How does doubling the inductance at the same current change things?
The stored energy doubles — U is linear in L. But note the system view: at fixed supply voltage and resistance, a larger L also slows the current's rise (τ = L/R), so the energy arrives later even though more of it eventually fits.
What stored energy is dangerous?
Context decides: a joule delivered to a fingertip in a microsecond is a nasty bite; the same joule spread over a second is nothing. As a bench rule, treat anything above a joule at high voltage — or any superconducting store — with formal respect, and remember Example 5: big magnets hold megajoules.