# Energy Density of electric and magnetic fields

## Description

Energy density is the amount of energy stored in a given system or region of space per unit volume or mass, though the latter is more accurately termed specific energy. Often only the useful or extractable energy is measured, which is to say that chemically inaccessible energy such as rest mass energy is ignored. In cosmological and other general relativistic contexts, however, the energy densities considered are those that correspond to the elements of the stress–energy tensor and therefore do include mass energy as well as energy densities associated with the pressures described in the next paragraph.

Energy per unit volume has the same physical units as pressure, and in many circumstances is a synonym: for example, the energy density of a magnetic field may be expressed as (and behaves as) a physical pressure, and the energy required to compress a compressed gas a little more may be determined by multiplying the difference between the gas pressure and the external pressure by the change in volume. In short, pressure is a measure of the enthalpy per unit volume of a system. A pressure gradient has a potential to perform work on the surroundings by converting enthalpy until equilibrium is reached.

Electric and magnetic fields store energy. In a vacuum, the (volumetric) energy density (in SI units) is given by the formula shown here.

The solution will be in Joules per cubic metre. In the context of magnetohydrodynamics, the physics of conductive fluids, the magnetic energy density behaves like an additional pressure that adds to the gas pressure of a plasma.

Related formulas## Variables

U | energy density of electric and magnetic fields (joule/m^{3}) |

ϵ_{0} | electric constant |

E | electric field (V/m) |

μ_{0} | magnetic constant |

B | magnetic field (tesla) |