Inductor energy calculator

Enter the inductance and the current to get the energy stored in the magnetic field of a coil, or enter the energy to find the current. The third mode estimates the inductance of a solenoid from its number of turns, diameter, length and core, and the energy it stores at your current.

Find
Inductance unit
A
Stored energy0.02 J
Energy in mJ
20 mJ
Flux linkage Ψ = L·I
0.02 Wb

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose what to find: the energy, the current, or the inductance of a solenoid.
  2. Energy: enter the inductance and the current.
  3. Current: enter the inductance and the energy you want to store.
  4. Solenoid: enter the number of turns, the coil diameter and length in millimetres, μr of the core (1 for air) and the current.

Formulas

  • Stored energy: E = ½ L I²
  • Current for an energy: I = √(2E ÷ L)
  • Flux linkage: Ψ = L × I (Wb)
  • Long solenoid: L = μ₀ μr N² A ÷ ℓ, A = π d² ÷ 4, μ₀ = 1.25663706212 × 10⁻⁶ H/m

Worked example

A 10 mH inductor carries 2 A: E = ½ × 0.01 × 2² = 0.02 J (20 mJ), Ψ = 0.01 × 2 = 0.02 Wb.

An air coil of 100 turns, 20 mm in diameter and 50 mm long: A = π × 0.02² ÷ 4 = 3.1416 × 10⁻⁴ m², L = 1.25663706 × 10⁻⁶ × 100² × 3.1416 × 10⁻⁴ ÷ 0.05 = 78.957 µH. At 2 A it stores 0.000157914 J.

Tips

  • Current counts squared. Most of the energy in a power inductor appears at the peak current.
  • Check the saturation current. Above it a cored inductor loses inductance and the formula no longer holds.
  • The solenoid formula overestimates short coils. For a coil only 2.5 times longer than wide, like the example, the real value is lower; use it as an upper estimate.

Frequently asked questions

How much energy does an inductor store?

E = ½ × L × I². A 10 mH coil carrying 2 A stores ½ × 0.01 × 2² = 0.02 J, or 20 mJ. Doubling the current stores four times as much.

What current stores a given energy?

I = √(2E ÷ L). To put 0.2 J into a 100 mH coil you need √(2 × 0.2 ÷ 0.1) = 2 A.

How is the inductance of a solenoid calculated?

L = μ₀ × μr × N² × A ÷ ℓ, with the cross-section A = π d² ÷ 4. 100 turns, 20 mm across and 50 mm long give 78.957 µH in air. The formula assumes a coil much longer than it is wide; short coils have less.

Where does the energy go when the current is switched off?

The collapsing field drives the current on and raises the voltage across the switch. That is why relay coils and motors get a flyback diode – to give that energy a safe path.

More in Math

All tools in this category: Math ·Updated November 6, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.