Skip to content
FiftyCalc Free calculators for all 50 states

Energy Density of Electric and Magnetic Fields Calculator

Test cases replayed : 2 of 2 match · Methodology · Sources

Enter the electric field strength and the magnetic flux density, with the relative permittivity and permeability of the medium (1 for vacuum).

Result

Sample figures

Total energy density (J/m³)—

Electric energy density (J/m³) —

  • Magnetic energy density (J/m³)—

Estimate for planning only, not tax, legal, financial or medical advice. Check important figures with the official source listed on this page.

Energy Density of Electric and Magnetic Fields Calculator

Electric field E (V/m): enter 0 or more. Prefilled example: 1,000,000.

Relative permittivity εr (1 = vacuum): enter 1 or more. Prefilled example: 1.

Magnetic flux density B, in T: enter 0 or more. Prefilled example: 0.5.

Relative permeability μr (1 = vacuum): enter 0 or more. Prefilled example: 1.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Electric field E (V/m): enter 0 or more.
  2. Relative permittivity εr (1 = vacuum): enter 1 or more.
  3. Magnetic flux density B, in T: enter 0 or more.
  4. Relative permeability μr (1 = vacuum): enter 0 or more.
  5. Read the result: Total energy density (J/m³); the panel also shows Electric energy density (J/m³) and Magnetic energy density (J/m³).

Sources

How this calculator works

u_E = ½ ε E² and u_B = B² ÷ (2μ), with ε = εr ε₀ and μ = μr μ₀. The total energy density is their sum; multiply by a volume to get the stored energy.

ε₀ = 8.8541878188 × 10⁻¹² F/m and μ₀ = 1.25663706127 × 10⁻⁶ N/A², from NIST CODATA 2022 values (https://physics.nist.gov/cuu/Constants/Table/allascii.txt, read 2026-10-27).

The formula

  1. Ue=0.5×er×(8.8541878188×10−12)×E22
  2. Ub=B22×mr×0.00000125663706127
  3. U=Ue+Ub
Symbols used in the formula
SymbolMeaningUnit
E2Electric field EV/m
erRelative permittivity εr (1 = vacuum)
BMagnetic flux density BT
mrRelative permeability μr (1 = vacuum)
UeElectric energy densityJ/m³
UbMagnetic energy densityJ/m³
UTotal energy densityJ/m³

Worked example

Electric field E (V/m)1,000,000
Relative permittivity εr (1 = vacuum)1
Magnetic flux density B0.5 T
Relative permeability μr (1 = vacuum)1
Electric energy density (J/m³)4.4271
Magnetic energy density (J/m³)99,471.8394
  1. Ue=0.5×1×(8.8541878188×10−12)×1,000,0002=4.42709
  2. Ub=0.522×1×0.00000125663706127=99,471.84
  3. U=4.42709+99,471.84=99,476.27

Total energy density (J/m³) 99,476.2665

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How much energy does a 1 MV/m field store in vacuum?

About 4.4271 J per cubic meter (½ × 8.854 × 10⁻¹² × 10¹²).

And a 0.5 T magnetic field?

About 99,472 J per cubic meter, far more than the electric field above.

Related calculators