Energy Density of Fields Calculator

See how much energy per cubic metre is stored in an electric field, a magnetic field, or both, and find the field that stores a chosen amount.

🔋 Energy Density of Fields Calculator
Relative permittivity (εr)
Relative permeability (μr)
Volume
m³
Electric field (E)
V/m
Magnetic field (B)
T
Energy density (u)
J/m³
Stored in
Total energy density
—
Electric energy density
—
Magnetic energy density
—
Electric share of the total
—
Energy in the volume
—
Mass equivalent of that energy
—
As a pressure
—
B with the same energy as your E
—
E with the same energy as your B
—

Electric field E
—
Magnetic field B
—
Energy in the volume
—
Mass equivalent of that energy
—
As a pressure
—
Energy flux of the wave
—

🔋 What is the Energy Density of Fields?

The energy density of a field is the amount of energy stored per unit volume of space where an electric or magnetic field is present. Fields are not just a bookkeeping device. Charging a capacitor or switching on a current in a coil takes work, and that work is stored in the field itself, spread through the space around the charges and currents. For an electric field the energy density is uE = ½ ε0 E², and for a magnetic field it is uB = B² / (2 μ0). Both are measured in joules per cubic metre, the same unit as pressure in pascals.

The idea is used in many practical settings. Capacitor and inductor designers use it to relate stored energy to volume and to compare technologies. MRI and fusion magnet engineers use it to estimate the enormous stored energy and the magnetic pressure on a coil. Insulation and gas engineers use it to see how much energy a dielectric breakdown can release. Astrophysicists compare the magnetic and electric energy density in a cloud or a pulsar wind, and radio engineers connect the energy density of a wave to its intensity, which is the energy density times the speed of the wave.

Some points deserve care. The energy density depends on the square of the field, so doubling a field quadruples the energy stored per volume. The electric and magnetic terms are separate, and in vacuum they are equal when E = cB, as in a light wave. A typical strong electric field is far weaker in energy terms than a typical strong magnetic field, because c is large. Finally, the formulas assume a linear medium with no hysteresis, and for materials you scale by the relative permittivity and permeability.

This calculator works in two directions. In the first mode you enter E and B, and it finds both energy densities, the electric share, the energy in a chosen volume, and the fields of the other kind with the same energy. In the second mode you enter an energy density and pick a field type, and it returns the field strength needed. Each mode draws a log-log chart so that the very wide range of values is easy to read.

📐 Formula

u  =  ½ ε E²  +  B² ÷ ( 2 μ )
u = total electromagnetic energy density (J/m³)
ε = ε0 εr, with ε0 = 8.8541878128×10−12 F/m
μ = μ0 μr, with μ0 = 1.25663706212×10−6 N/A²
E = electric field (V/m) and B = magnetic flux density (T)
Stored energy: U = u V for a uniform field filling a volume V
Equal-energy partners: B = E √(ε μ) and E = B ÷ √(ε μ); in vacuum B = E / c
Example: B = 3 T in vacuum: uB = 9 ÷ (2 × 1.25664×10−6) = 3.5810×106 J/m³
E  =  √( 2u / ε ),   B  =  √( 2 μ u )
Light wave: the energy splits equally, so E = √(u / ε) and B = √(μ u)
Energy flux of the wave: S = u v, where v = 1 / √(ε μ) is the wave speed (c in vacuum)
Example: u = 106 J/m³ held in a magnetic field gives B = √(2 × 1.25664×10−6 × 106) = 1.5853 T

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Fields to energy density if you know E and B, or Energy density to field if you know the energy density and want the field strength.
2
Set the medium and volume. Leave the relative permittivity and permeability at 1 for vacuum or air, or enter material values, and enter the volume in cubic metres.
3
Read the energy density and the chart. Read the electric, magnetic and total energy densities, the energy in the volume and the equal-energy partner fields, and check the log chart.

💡 Example Calculations

Example 1 — An MRI Magnet

A uniform 3 T magnetic field in vacuum over 1 m³, with no electric field

1
uB = B² / (2 μ0) = 9 ÷ (2 × 1.25664×10−6) = 3.5810e+6 J/m³
2
Energy in 1 m³ = 3.5810e+6 J, which has a mass equivalent of 3.9844e-11 kg
3
As a pressure, 3.5810×106 Pa ÷ 101325 = 35.3416 atm. An electric field with the same energy density would need 8.9938e+8 V/m.
Magnetic energy density = 3.5810e+6 J/m³
Try this example →

Example 2 — Electric Field at Air Breakdown

An electric field of 3,000,000 V/m in air (εr = 1) over 1 m³, with no magnetic field

1
uE = ½ ε0 E² = 0.5 × 8.8542×10−12 × (3×106)² = 39.8438 J/m³
2
The electric share of the total is 100.00 %, and the energy in 1 m³ is 39.8438 J, with a mass equivalent of 4.4332e-16 kg
3
The magnetic field with the same energy density is E / c = 0.0100 T, which is 10 mT. Even at breakdown, the energy is tiny compared with a magnet.
Electric energy density = 39.8438 J/m³
Try this example →

Example 3 — Matched Electric and Magnetic Parts

E = 300,000,000 V/m and B = 1 T together, filling 2 m³

1
uE = 3.9844e+5 J/m³ and uB = 1 ÷ (2 × 1.25664×10−6) = 3.9789e+5 J/m³
2
Total u = 7.9633e+5 J/m³, and the electric share is 50.03 %, nearly equal because E ≈ c B
3
Energy in 2 m³ = 1.5927e+6 J, a pressure of 7.8591 atm. A magnetic field of 1.0007 T matches the electric part.
Total energy density = 7.9633e+5 J/m³
Try this example →

Example 4 — Field Inside Water

E = 1,000,000 V/m in a medium with εr = 80, over 1 m³

1
ε = 80 × 8.8542×10−12 = 7.0833×10−10 F/m
2
uE = ½ ε E² = 0.5 × 7.0833×10−10 × 1012 = 354.1675 J/m³, which is 80 times the vacuum value of 4.4271 J/m³
3
The equal-energy magnetic field is E √(ε μ) = 0.0298 T, because waves in this medium travel at c / √80
Electric energy density = 354.1675 J/m³
Try this example →

Example 5 — Magnetic Field for a Chosen Energy Density

What magnetic field holds 1,000,000 J/m³?

1
B = √(2 μ0 u) = √(2 × 1.25664×10−6 × 106) = 1.5853 T
2
An electric field with the same energy density is E = √(2u / ε0) = 4.7527e+8 V/m
3
In 1 m³ the stored energy is 1.0000e+6 J, a pressure of 9.8692 atm
Magnetic field = 1.5853 T
Try this example →

Example 6 — Sunlight at the Top of the Atmosphere

Energy density 4.53981×10−6 J/m³, shared equally between E and B in a light wave

1
The energy density is the solar intensity 1361 W/m² divided by c, giving 4.53981×10−6 J/m³
2
E = √(u / ε0) = 716.0519 V/m (rms) and B = √(μ0 u) = 2.3885e-6 T
3
The energy flux is u c = 1361.0008 W/m², which recovers the solar constant
E = 716.0519 V/m, B = 2.3885e-6 T
Try this example →

Example 7 — Electric Field for a Chosen Energy Density

What electric field holds 100 J/m³?

1
E = √(2u / ε0) = √(200 ÷ 8.8542×10−12) = 4.7527e+6 V/m
2
That is above the 3 MV/m breakdown strength of air, so air could not hold this energy density
3
A purely magnetic field of the same energy density is only 0.0159 T
Electric field = 4.7527e+6 V/m
Try this example →

❓ Frequently Asked Questions

What is the energy density of an electric field?+
The energy per unit volume in an electric field is u_E = ½ ε0 E², with E in V/m and ε0 = 8.8541878128e-12 F/m. In air at the breakdown field of 3 MV/m the energy density is 39.8438 J/m³.
What is the energy density of a magnetic field?+
The magnetic energy density is u_B = B²/(2μ0), with B in tesla and μ0 = 1.25663706212e-6 N/A². A 3 T MRI field stores 3.5810e6 J/m³, which is about 3.58 MJ per cubic metre.
How do I find the total energy density of an electromagnetic field?+
Add the two contributions, u = ½ ε0 E² + B²/(2μ0). For E = 3e8 V/m and B = 1 T the two parts are 3.9844e5 and 3.9789e5 J/m³, giving 7.9633e5 J/m³ with the electric share at 50.03 percent.
Why is there a factor of one half?+
The field is built up from zero, and the energy stored while charging or magnetising grows with the square of the field. Integrating the work gives half of the product, as in a capacitor energy ½CV², where the same factor appears.
How much energy is stored in a given volume of field?+
Multiply the energy density by the volume, U = u V, for a uniform field. A 3 T field filling 1 m³ holds 3.5810e6 J. For non-uniform fields, you integrate the energy density over the volume.
How do I find the field strength from an energy density?+
Invert the formula. For an electric field E = sqrt(2u/ε0), and for a magnetic field B = sqrt(2 μ0 u). An energy density of 1e6 J/m³ needs B = 1.5853 T or E = 4.7527e8 V/m.
What is the energy density of sunlight?+
At the top of the atmosphere the solar intensity is about 1361 W/m², so the energy density is the intensity divided by c, about 4.54e-6 J/m³. In the wave mode this corresponds to an rms electric field of 716.05 V/m and an rms magnetic field of 2.3885e-6 T.
Is energy density the same as pressure?+
They share units, since a joule per cubic metre equals a pascal. A magnetic field of 3 T exerts a magnetic pressure of 3.5810e6 Pa, which is about 35.3 atm. An electric field exerts a similar pressure ½ε0E² on conductor surfaces.
How do dielectrics and magnetic materials change the energy density?+
In a linear medium, u_E = ½ ε0 εr E² and u_B = B²/(2 μ0 μr). For water with εr = 80 and E = 1e6 V/m, the electric energy density is 354.1675 J/m³, which is 80 times the vacuum value.
Where do electric and magnetic energy densities come from in Maxwell's theory?+
They come from Poynting's theorem, which states that the rate of change of field energy plus the energy flow out through the surface equals minus the work done on charges. The energy flow is the Poynting vector S = E × B / μ0.
How does this relate to the energy stored in a capacitor?+
For parallel plates with area A and gap d, the field is E = V/d and the volume is A d, so u V = ½ ε0 (V/d)² A d = ½ (ε0 A/d) V² = ½ C V². The capacitor energy is the electric energy density times the volume of the gap.

What is the energy density of an electric field?

The energy per unit volume in an electric field is u_E = ½ ε0 E², with E in V/m and ε0 = 8.8541878128e-12 F/m. In air at the breakdown field of 3 MV/m the energy density is 39.8438 J/m³.

What is the energy density of a magnetic field?

The magnetic energy density is u_B = B²/(2μ0), with B in tesla and μ0 = 1.25663706212e-6 N/A². A 3 T MRI field stores 3.5810e6 J/m³, which is about 3.58 MJ per cubic metre.

How do I find the total energy density of an electromagnetic field?

Add the two contributions, u = ½ ε0 E² + B²/(2μ0). For E = 3e8 V/m and B = 1 T the two parts are 3.9844e5 and 3.9789e5 J/m³, giving 7.9633e5 J/m³ with the electric share at 50.03 percent.

Why is there a factor of one half?

The field is built up from zero, and the energy stored while charging or magnetising grows with the square of the field. Integrating the work gives half of the product, as in a capacitor energy ½CV², where the same factor appears.

How much energy is stored in a given volume of field?

Multiply the energy density by the volume, U = u V, for a uniform field. A 3 T field filling 1 m³ holds 3.5810e6 J. For non-uniform fields, you integrate the energy density over the volume.

How do I find the field strength from an energy density?

Invert the formula. For an electric field E = sqrt(2u/ε0), and for a magnetic field B = sqrt(2 μ0 u). An energy density of 1e6 J/m³ needs B = 1.5853 T or E = 4.7527e8 V/m.

What is the energy density of sunlight?

At the top of the atmosphere the solar intensity is about 1361 W/m², so the energy density is the intensity divided by c, about 4.54e-6 J/m³. In the wave mode this corresponds to an rms electric field of 716.05 V/m and an rms magnetic field of 2.3885e-6 T.

Is energy density the same as pressure?

They share units, since a joule per cubic metre equals a pascal. A magnetic field of 3 T exerts a magnetic pressure of 3.5810e6 Pa, which is about 35.3 atm. An electric field exerts a similar pressure ½ε0E² on conductor surfaces.

How do dielectrics and magnetic materials change the energy density?

In a linear medium, u_E = ½ ε0 εr E² and u_B = B²/(2 μ0 μr). For water with εr = 80 and E = 1e6 V/m, the electric energy density is 354.1675 J/m³, which is 80 times the vacuum value.

Where do electric and magnetic energy densities come from in Maxwell's theory?

They come from Poynting's theorem, which states that the rate of change of field energy plus the energy flow out through the surface equals minus the work done on charges. The energy flow is the Poynting vector S = E × B / μ0.