🔬
🔬 Science & engineering

Energy Density of Electric and Magnetic Fields Calculator (½ε₀E² + B²/2μ₀)

Results update as you type.

Your numbers

Understanding the field energy density calculator — concept and principle

This calculator finds how much energy per cubic metre is stored in an electric field and a magnetic field, adds them, and gives the total energy in a chosen volume. It is used in electromagnetism courses and for quick estimates in capacitors, magnets, MRI scanners and pulsed-power devices.

Electric vs magnetic energy densityEnergy stored in 1 litre of fieldElectric 3 MV/mMagnetic 0.5 T39.8499,470J/m³total 99.51 J99.96 % magnetic
A 0.5 T magnet stores about 2,500 times more energy per litre than a 3 MV/m electric field.

How it is calculated

u_E = ½ ε₀ ε_r E²

u_B = B² ÷ (2 μ₀ μ_r)

u = u_E + u_B; energy in the volume = u × V

The principle

Building up a field takes work: charging a capacitor means pushing charge against the field already there, and building a current in a coil means working against the induced voltage. That work is stored in the field itself, spread through space in proportion to the square of the field strength. For a parallel-plate capacitor, ½CV² divided by the volume between the plates gives exactly ½ε₀E². Since 1 J/m³ equals 1 Pa, energy density is also a pressure: a 1 T field exerts a magnetic pressure of about 4 bar.

Worked example

Default inputs: E = 3,000 kV/m, B = 0.5 T, ε_r = μ_r = 1, volume 1 L.

  1. u_E = ½ × 8.854 × 10⁻¹² × (3 × 10⁶)² = 39.84 J/m³.
  2. u_B = 0.5² ÷ (2 × 1.2566 × 10⁻⁶) = 99,470 J/m³.
  3. Total u = 99,510 J/m³; the magnetic share is 99.96%.
  4. In 1 L = 0.001 m³: 99,510 × 0.001 = 99.51 J.
How Total energy density (J/m³) changes with Magnetic flux density B (T)How Total energy density changes with Ma…0100,000200,000300,000400,0000.1250.250.3750.50.6250.751Example: 99,510Magnetic flux density B (T)
Each point is the calculator re-run with only “Magnetic flux density B (T)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Magnetic flux density B (T)Total energy density (J/m³)
0.1256,257
0.2524,910
0.37555,990
0.599,510
0.625155,500
0.75223,900
1397,900

How to read the result

The example shows how differently the two fields store energy. An electric field of 3 MV/m, close to the level at which dry air breaks down, stores only about 40 J/m³, while a moderate 0.5 T magnet stores about 2,500 times more. This is why large amounts of field energy are usually stored magnetically, and why capacitors use thin, high-permittivity dielectrics.

Common mistakes

Keep in mind: The formulas assume linear materials and uniform fields. Iron and other ferromagnets saturate, so their μ_r is not constant.

Frequently asked questions

Why is J/m³ the same as a pascal?

1 J = 1 N·m, so 1 J/m³ = 1 N/m², which is 1 Pa.

How much energy does a 1 T field store?

About 400,000 J/m³, or 0.4 J per cubic centimetre.

Does doubling the field double the energy?

No, it quadruples it, because energy density depends on the square of the field.

Sources: CODATA 2022 recommended values (ε₀, μ₀), NIST · OpenStax, University Physics Volume 2 (2016), sections on capacitor and inductor energy

Checked 9 Nov 2026. Energy density of the electric field uE = ½εE² and of the magnetic field uB = B²/2μ — standard results of electromagnetism; ε₀ and μ₀ from CODATA 2022.

🔬 All science & engineering tools →🌍 Calculators by country →