Audited ·Last updated 31 Jul 2026·4 citations·Tier 2·0 uses

Inductor Energy Calculator — Joules Stored in a Magnetic Field

Find the energy stored in an inductor from ½LI², or work backwards to the inductance or current needed. Includes flux linkage and the flyback warning.

Inductor Energy Calculator

Solve for
Ignored when you are solving for inductance. Use the value at your working current, not the small-signal figure — a core's inductance falls as it approaches saturation.
Inductance unit
Ignored when you are solving for current. Energy goes as the square of this, so a 20% current error is a 44% energy error.
A
Ignored when you are solving for energy. One joule is one watt-second — a 0.45 J coil can supply 450 W for a millisecond.
J
Energy stored
0.45
U = ½LI², the energy held in the coil's magnetic field while the current flows. It is not stored in the wire, and it vanishes when the current stops.
Energy in millijoules
450 mJ
Energy in microjoules
450,000 µJ
Flux linkage (Λ = LI)
0.3 Wb
Inductance
100 mH
Current
3 A
Reading the result
A 100 mH coil carrying 3 A stores 0.45 J in its magnetic field. Energy goes as the square of current, so doubling the current quadruples the stored energy while doubling the inductance only doubles it — current is the stronger lever. The flux linkage is Λ = L I = 0.3 Wb, and it is Λ, not the energy, that cannot change instantaneously. The hazard with an inductor is not the joules but what happens when you interrupt the current. Voltage across a coil is v = L di/dt, and opening a switch makes di/dt enormous, so the coil will produce whatever voltage it takes to keep the current flowing — arcing across the contacts, or destroying a transistor. Always provide a path for the current: a flyback diode, a snubber or a clamp. This page reports stored energy and does not classify how dangerous it is; the thresholds for that live in product-safety standards such as IEC 61010-1 and IEC 62368-1. Ideal coil assumed: no winding resistance, no core loss and — importantly — no saturation. A real core's inductance collapses above its rated current, so ½LI² computed from a nameplate inductance overstates the energy of a saturated coil. Unlike a capacitor, an inductor stores nothing once the current stops.

Background.

An inductor carrying current stores energy in the magnetic field around and inside it, and the amount is U = ½LI². This page computes it, and also runs the problem backwards: give it an energy and a current and it returns the inductance needed, or give it an energy and an inductance and it returns the current required. All three are the same equation rearranged, so whichever way you go, the full set comes back and the numbers agree.

The square matters. Energy rises with the square of current but only linearly with inductance, so current is always the stronger lever — doubling it quadruples the stored energy while doubling the inductance merely doubles it. That is why a switching converter's inductor is sized by its peak current rather than its henries, and why a 20 percent error in your current estimate becomes a 44 percent error in the energy.

An inductor is the mirror image of a capacitor, and the differences catch people out. A capacitor stores energy in an electric field, holds it after the supply is removed, and is dangerous because it stays charged. An inductor stores energy in a magnetic field, holds it only while the current keeps flowing, and is dangerous for the opposite reason: interrupting that current is what hurts. Voltage across a coil is L times the rate of change of current, so opening a switch — where the rate of change is enormous — makes the coil produce whatever voltage it takes to keep the current going. That is arcing across relay contacts, and destroyed transistors, and it is why every inductive load in a real design has a flyback diode, a snubber or a clamp across it.

The page also reports the flux linkage, Λ = LI, because it is the quantity that actually cannot change instantaneously. Energy is what the coil holds; flux linkage is what it defends. The published example used to verify this page makes the connection concrete: OpenStax describes a 50-turn coil of 4.0 × 10⁻⁴ H carrying 5.0 A with a flux of 4.0 × 10⁻⁵ Wb per turn. Multiplying turns by flux gives 2.0 × 10⁻³ Wb, and LI gives the same 2.0 × 10⁻³ Wb — two routes, one number, which is a genuine check rather than a restatement.

One limit worth stating before you use the result. This assumes an ideal coil: no winding resistance, no core loss and, most importantly, no saturation. A real ferrite or powdered-iron core loses inductance rapidly once the flux density approaches its limit, so ½LI² computed from a datasheet's small-signal inductance badly overstates the energy a saturated coil actually holds. If you are near the rated current, use the inductance at that current, not the headline figure.

What is inductor energy calculator?

The energy stored in an inductor is the work done against the back-emf while establishing its current. As current rises, the changing flux induces a voltage that opposes the change, and the source has to push against it: the instantaneous power is vi = Li(di/dt), and integrating from zero to the final current I gives U = ½LI². OpenStax University Physics prints this as Equation 14.20. Physically the energy is not in the wire but in the magnetic field, distributed with an energy density of B²/2μ₀ — which is why an inductor with a large air gap can store far more energy than its inductance alone suggests, and why gapped cores exist. The behaviour is the exact dual of a capacitor's. A capacitor's energy scales with the square of voltage and persists after disconnection; an inductor's scales with the square of current and disappears the moment the current does. A capacitor resists a sudden change in voltage; an inductor resists a sudden change in current, and it does so by generating whatever voltage that takes. Those dual properties are what make the pair useful together in filters, resonant circuits and switching converters, where energy is shuttled between an electric field and a magnetic one many thousands of times a second.

How to use this calculator.

  1. Pick what you want to solve for. Energy is the default; inductance and current are the inverse problems that come up when sizing a converter or a storage coil.
  2. Enter the inductance and choose its unit — nanohenries through henries. In inductance mode this field is ignored.
  3. Enter the current through the coil. In current mode this field is ignored. Use peak current, not average, if you are checking whether a core will saturate.
  4. Enter the target energy in joules if you are solving for inductance or current. In energy mode this field is ignored.
  5. Read the energy in whichever magnitude fits — joules for magnet and converter coils, millijoules for ordinary power electronics, microjoules for RF chokes.
  6. Check the flux linkage if you are designing the switch-off path: it is what the coil will fight to preserve when the current is interrupted.
  7. Provide a discharge path — flyback diode, snubber or clamp — before you switch any inductive load. The energy has to go somewhere.

The formula.

U = ½ L I² L = 2U ⁄ I² I = √(2U ⁄ L) Λ = L I

Start from what establishing a current in a coil costs. As the current rises, the changing flux induces a back-emf v = L di/dt opposing it, and the source must supply power vi = Li(di/dt) to push through. Integrating that from zero current to the final value I gives U = ½LI². The factor of one half comes from the integral, exactly as it does for a capacitor, and dropping it is the standard error.

Working the default: L = 100 mH = 0.1 H and I = 3 A. Squaring the current gives 9, multiplying by 0.1 gives 0.9, and half of that is 0.45 J — which is 450 mJ or 450,000 µJ. The flux linkage is Λ = LI = 0.1 × 3 = 0.3 Wb. A useful consistency check falls out of these two: U should also equal ½ΛI, and ½ × 0.3 × 3 = 0.45 J.

The inverse modes are one line each. Inductance from energy and current is L = 2U/I², and current from energy and inductance is I = √(2U/L). The square root is why a negative energy is refused rather than allowed to produce a NaN. Running the default through both inverses returns 100 mH and 3 A, closing the round trip.

On the exponents, verified against the algebra rather than recalled: U ∝ I² means doubling the current multiplies the energy by four, while U ∝ L¹ means doubling the inductance only doubles it. Flux linkage behaves differently again — Λ = LI is linear in both, so doubling the current doubles the flux linkage while quadrupling the energy. All three relationships are pinned by tests.

The published cross-check is worth following because it uses a second, independent route to the same quantity. OpenStax Example 14.2 describes a 50-turn coil with L = 4.0 × 10⁻⁴ H carrying 5.0 A, and states its flux as 4.0 × 10⁻⁵ Wb per turn. Flux linkage by the definition of inductance is LI = 4.0 × 10⁻⁴ × 5.0 = 2.0 × 10⁻³ Wb. Flux linkage by counting turns is NΦ = 50 × 4.0 × 10⁻⁵ = 2.0 × 10⁻³ Wb. The two agree, and the same coil's stored energy is ½ × 4.0 × 10⁻⁴ × 25 = 5 mJ.

Rounding happens once, at the end, to ten decimal places, with intermediate arithmetic at forty significant digits on a private numeric context. Energy appears in three magnitudes because the practical range spans nanojoules in an RF choke to hundreds of kilojoules in a magnet coil, and no single unit survives that span at a fixed decimal precision.

What is not modelled: winding resistance, core loss, hysteresis, eddy currents, frequency dependence, and — most consequentially — saturation. Once a core saturates its inductance collapses, so the energy computed from a nameplate inductance can be far above what the coil really holds at that current.

A worked example.

Example

A 100 mH coil carrying 3 amperes. Converting to base units, L = 0.1 H, and squaring the current gives I² = 9 A². The stored energy is U = ½ × 0.1 × 9 = 0.45 joules exactly, which is 450 mJ or 450000 µJ. The flux linkage is Λ = LI = 0.1 × 3 = 0.3 Wb, and the alternative form of the energy confirms the result: ½ΛI = ½ × 0.3 × 3 = 0.45 J. Switching the page to inductance mode with 0.45 J and 3 A returns L = 2U/I² = 0.9/9 = 0.1 H = 100 mH, and switching to current mode with 0.45 J and 100 mH returns I = √(2U/L) = √9 = 3 A, so the round trip closes in both directions. Now the part that matters practically: those 0.45 joules exist only while the 3 amps keep flowing. Open a switch in series with this coil and the current cannot stop instantly — the coil will generate whatever voltage is required to maintain it, which across an opening contact means an arc, and across a transistor means a dead transistor. A 0.45 J coil is a 450-watt source for one millisecond. Fit a flyback diode.

current3
inductance100
inductance UnitmH
known Energy Joules0.45
solve Forenergy

Frequently asked questions.

What is the formula for energy stored in an inductor?
U = ½LI², with U in joules, L in henries and I in amperes. OpenStax University Physics prints it as Equation 14.20, and Fiore's circuit-analysis text gives the same expression as W = ½LI². The factor of one half comes from integrating the power Li(di/dt) as the current builds from zero to its final value — the coil does not sit at full current the whole time. Dropping the half and computing LI² is the usual mistake and doubles the answer. For a 100 mH coil at 3 A the energy is ½ × 0.1 × 9 = 0.45 J.
Why does doubling the current quadruple the stored energy?
Because current appears squared. Two things scale together: the flux linkage Λ = LI doubles, and the average back-emf the source had to push through while establishing that current also doubles. Energy is the product, so it goes up by four. Inductance behaves differently — it appears to the first power, so doubling it doubles both the flux linkage and the energy. The practical consequence is that current, not inductance, dominates energy storage, which is why converter inductors are specified by peak current and why a modest current overshoot is a large energy overshoot.
What happens when you interrupt the current through an inductor?
It produces a voltage spike, and this is the real hazard of an inductor — not the joules. Voltage across a coil is v = L di/dt, and opening a switch drives di/dt towards a very large number, so the coil generates whatever voltage is needed to keep its current flowing. In practice that means an arc across relay or switch contacts, or the destruction of a transistor whose breakdown voltage is exceeded. The stored energy has to go somewhere, so give it a path: a flyback diode across the coil, an RC snubber, or a clamp. This page reports the energy and the flux linkage but does not classify how hazardous a given spike is — that depends on the circuit and on product-safety standards such as IEC 61010-1 and IEC 62368-1.
How is an inductor's stored energy different from a capacitor's?
They are duals of each other. A capacitor stores ½CV² in an electric field, keeps it after the supply is removed, and resists a sudden change in voltage — which makes a charged capacitor dangerous to touch even when the power is off. An inductor stores ½LI² in a magnetic field, keeps it only while the current flows, and resists a sudden change in current — which makes it dangerous to switch rather than to touch. That duality is why the two components work so well together in filters and switching converters: energy shuttles back and forth between an electric field and a magnetic one, thousands or millions of times a second.
What is flux linkage and why does this page report it?
Flux linkage Λ is the total magnetic flux threading the coil counted turn by turn — N times the flux per turn — and it equals L times the current, which is essentially the definition of inductance. It matters because it, not the energy, is the quantity that cannot change instantaneously. When you open a switch, the coil acts to preserve its flux linkage, and the voltage spike is the consequence. There is also a useful cross-check in it: OpenStax describes a 50-turn coil of 4.0 × 10⁻⁴ H at 5.0 A with 4.0 × 10⁻⁵ Wb per turn, and both NΦ and LI come to 2.0 × 10⁻³ Wb — two independent routes to the same number.
Does core saturation change the stored energy?
Yes, and it is the biggest error source on this page. A ferrite or powdered-iron core has a maximum flux density, and as it is approached the incremental inductance falls sharply — sometimes to a fraction of the nameplate value. Since U = ½LI² uses the inductance you enter, feeding in the small-signal datasheet figure while operating near saturation overstates the energy substantially. Use the inductance measured at your actual working current, which is what a good datasheet's inductance-versus-current curve provides. Air-cored coils do not saturate at all, which is one reason they are used where the energy figure has to be trustworthy.
How much energy can an inductor realistically store?
Far less than a capacitor of similar size, and much less than a battery, but it can deliver what it has extremely fast. A typical switching-converter inductor of 100 µH at 3 A holds about 450 µJ. A 100 mH filter choke at 3 A holds 0.45 J. A large superconducting magnet coil — 5 H at 200 A — holds 100 kJ. The limiting factor for a cored inductor is saturation rather than heating, and the standard way to raise the storable energy is to introduce an air gap: it lowers the inductance but raises the current the core can take before saturating, and the net energy goes up.

References& sources.

  1. [1]OpenStax (Rice University), University Physics Volume 2, §14.3 'Energy in a Magnetic Field'. Primary source for the equation implemented here, Equation 14.20: 'U = 1/2 L I^2'. The same section gives the magnetic energy density 'u_m = B^2 / 2μ_0', which is where the energy physically resides — in the field rather than in the conductor. Retrieved 2026-07-29.
  2. [2]OpenStax (Rice University), University Physics Volume 2, §14.2 'Self-Inductance and Inductors'. Source of the definition of self-inductance L = NΦ_m/I, from which the flux-linkage output Λ = LI follows, and of the henry as one volt-second per ampere. Its Example 14.2 supplies this page's published cross-check: a 50-turn coil with L = 4.0×10⁻⁴ H at 5.0 A and Φ_m = 4.0×10⁻⁵ Wb per turn, giving NΦ_m = LI = 2.0×10⁻³ Wb by two independent routes. Retrieved 2026-07-29.
  3. [3]Engineering LibreTexts / James M. Fiore, Introduction to Circuit Analysis, §6.2.2 'Inductance and Inductors'. Independent second authority, consulted to check the expression rather than to derive it: 'W = ½LI², where W is energy in joules, L is inductance in henries, and I is current in amps', together with the statement that 'the current through an inductor cannot change instantaneously' — the property behind the flyback warning on this page. Retrieved 2026-07-29.
  4. [4]MIT OpenCourseWare, 6.002 Circuits and Electronics, Spring 2007 (Prof. Anant Agarwal). Course materials on energy storage in the inductor element and on switching inductive loads. Landing page verified to load and to list the course number, term and instructor. Retrieved 2026-07-29.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 977 calculators remain free
  • No billing is enabled
Coming soon