If you’re building energy storage systems, troubleshooting EMI, or evaluating power electronics, knowing how much electromagnetic energy is sitting in a given chunk of space is sometimes the only thing standing between a working design and a surprise failure. This calculator handles the number crunching for electric and magnetic field energy density, total EM wave energy, and stored capacitor energy. It lets you plug in numbers for field strengths, material properties, and volume—giving you the figures you actually need for capacitors, inductors, and antennas. Don’t expect a circuit simulator to warn you if your assumptions about energy density are off; that’s how you end up with dielectric breakdown, overheating, or stray coupling you never planned for. The numbers here are the starting point for getting field-based storage right and seeing where traditional models fall short. Below, you’ll find the working equations, a concrete example with real numbers, deeper context for how energy lives in fields and materials, and some straight answers about common mistakes.
What is electromagnetic field energy density?
Electromagnetic field energy density tells you how much energy is packed into each cubic meter because of electric or magnetic fields at a point in space. If the field is stronger—or the material has a higher permittivity or permeability—there’s more energy squeezed into the same space.
Simple Explanation
This is a lot like storing energy in a compressed spring: push harder, more energy, same space. Electric fields and magnetic fields pile up energy the same way—the stronger the field, the more energy jammed into each cubic meter. A capacitor puts energy in its electric field between plates. An inductor does it with the magnetic field around its coil. These equations tell you how much energy is physically there, not just what a circuit theory book says should be.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
Field Energy Diagram
Energy Density Calculator
How to Use This Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
- Select which calculation you want (energy density for electric, energy density for magnetic, total EM wave, field from energy density, or capacitor energy).
- Enter the required values: electric field (V/m), magnetic flux density (T), energy density (J/m³), and volume (m³) as needed.
- Set material properties for ε_r and μ_r (leave at 1 for air or vacuum); these numbers matter if you’re not in free space.
- Press Calculate to get the answer.
📹 Video Walkthrough — How to Use This Calculator
Energy Density Interactive Visualizer
Watch how electric and magnetic field energy density changes with field strength and material properties. Adjust field values to see real-time energy distribution in 3D space.
ELECTRIC DENSITY
4.43 μJ/m³
MAGNETIC DENSITY
39.8 μJ/m³
TOTAL DENSITY
44.2 μJ/m³
E/B RATIO
0.11
FIRGELLI Automations — Interactive Engineering Calculators
Energy Density Equations
Electric Field Energy Density
Use the formula below to calculate electric field energy density.
uE = ½ε₀εrE²
Where:
- uE = electric field energy density (J/m³)
- ε₀ = permittivity of free space = 8.854 × 10⁻¹² F/m
- εr = relative permittivity (dimensionless)
- E = electric field strength (V/m or N/C)
Magnetic Field Energy Density
Use the formula below to calculate magnetic field energy density.
uB = B² / (2μ₀μr)
Where:
- uB = magnetic field energy density (J/m³)
- B = magnetic flux density (T or Wb/m²)
- μ₀ = permeability of free space = 4π × 10⁻⁷ H/m
- μr = relative permeability (dimensionless)
Total Electromagnetic Energy Density
Use the formula below to calculate total electromagnetic energy density.
utotal = uE + uB = ½ε₀εrE² + B² / (2μ₀μr)
Total Stored Energy
Use the formula below to calculate total stored energy from energy density and volume.
U = u · V
Where:
- U = total stored energy (J)
- V = volume occupied by field (m³)
Electromagnetic Wave Relations
E = cB (for plane waves in vacuum)
uE = uB (in electromagnetic waves)
Where:
- c = speed of light = 2.998 × 10⁸ m/s
Simple Example
Electric field energy density — mode: Electric Field Energy Density (u_E)
Electric field (E) = 1,000 V/m
Relative permittivity (ε_r) = 1 (vacuum)
u_E = ½ × 8.854×10⁻¹² × 1 × (1,000)² = 4.427 × 10⁻⁶ J/m³
Theory & Practical Applications
Fundamental Physics of Field Energy Storage
Wherever you have electric or magnetic fields, there's real physical energy spread out in space. Unlike just talking about the energy of a charge or a current, field energy density deals with energy built into the field itself, not just into particles that happen to be sitting inside it. Why does it matter? In things like radiation or high-frequency switching, energy can physically move away from the source—even after sources are disconnected. The energy is in the wave, not sitting on the charge or current any longer.
The formula uE = ½ε₀εrE² is what you get when you add up all the work needed to pile up charge in a certain space, fighting against electrostatic forces. If you have a classic parallel-plate capacitor and a uniform field E, multiply this energy density by the plate gap volume, and you get the total stored energy (same as ½CV² from circuit theory). But thinking about it this way makes it clear: the energy's in the dielectric, not just "on" the plates. This only gets more important when you go to high frequencies—field distributions get non-uniform, and the old lumped element models break down.
The magnetic side, uB = B²/(2μ₀μr), gives you the work stored in any region with a magnetic field. It’s tied to the work against back-EMF when building up a current. In a textbook inductor you get ½LI² overall, but the energy is actually occupying the whole region with significant magnetic field. In an air-core coil it's sprayed out into open space along the field lines; with a magnetic core, most energy is concentrated in the core. The distribution of this magnetic energy explains practical limitations, like where you hit saturation or how losses and coupling show up between nearby magnetics.
Critical Engineering Insight: The ε₀E² vs B²/μ₀ Asymmetry
Here's something that trips up a lot of specs: in vacuum plane waves, uE and uB are always equal (because E = cB), but in real materials, they're not so symmetrical. The electric energy density goes up proportional to εr (so it’s bigger in high-permittivity dielectrics), but for a given B field, the magnetic energy density actually drops as μr increases. In other words: swapping in a ferrite core with high μr will give you a bigger inductance, but you don't store 2000 times more energy in the same spot—as might seem at first glance. Inductance rises, but B might decrease because the path gets easier for the flux, and the actual "extra" energy comes not from the higher density, but from spread-out storage over a bigger magnetic path. If you want high energy in the smallest volume, simply boosting μr alone won’t do it—you need to design for the right field distribution and working flux densities.
That’s why packing high-εr dielectrics into a capacitor scores a genuine increase in energy density, while high-μr magnetic materials change the shape of field lines more than the energy density for a given working point. Designing an inductor that truly maximizes stored energy is a matter of tuning core material, gap, and winding layout together—not relying on a textbook value for μr or B alone.
Applications in Capacitor Design and Dielectric Breakdown
When you’re designing capacitors, the energy density math gives you direct limits on what you can achieve for a given volume before something breaks down. Take ceramics with εr = 3000 (like barium titanate): they’ll only go up to about 5 MV/m before breaking down. So your theoretical max is 0.332 J/cm³, but real-world working density is maybe 0.08-0.15 J/cm³ due to conservative design margins. Polypropylene film (εr ≈ 2.2) can hit very high breakdown fields in thin layers and ends up competitive in energy density for film caps even with low εr.
Supercapacitors (electric double-layer) reach 5-10 J/cm³, not by boosting the bulk field—but by shrinking the charge separation distance to nanometers at the interface. The same uE applies, but with enormous field values (E ~ 10⁹ V/m) over minuscule gaps, you get much higher energy per unit volume than what’s possible by just increasing εr or breakdown field in bulk dielectrics.
Magnetic Energy in Power Inductors and Transformers
For power inductors, you’re often stuck between the need to maximize stored energy and the limits of heat, size, and losses. Suppose you want 15 mJ stored in a flyback inductor each cycle at 200 kHz, using ferrite at μr = 2500 with a saturation B of 0.4 T. The maximum possible energy density (if you could saturate the whole core) is 25,500 J/m³, so you’d need at least 588 mm³ of core. But since you can’t operate at full saturation—and most real inductors have an air gap for linearization—a chunk of the energy actually sits in that air gap, not the core itself. The gap, while tiny, can have a much higher energy density than the core. In one typical case, a 0.5 mm air gap in a 30 mm path makes up maybe 1–2% of the path but holds a quarter of all energy due to how uB scales. This means tweaking gap size changes energy storage and circuit behavior dramatically—so details like gap and core geometry aren’t optional; they drive real performance and reliability.
Electromagnetic Wave Energy and Power Flow
For EM waves, the time-averaged electric and magnetic densities are always equal (⟨uE⟩ = ⟨uB⟩), with total density double either value. The Poynting vector S = (E × B)/μ₀ is the energy flux (power per area), and for a wave, S matches the bulk energy density times the wave speed (c). If you’re designing or troubleshooting any RF equipment—antennas, cables, shielding—it’s these figures that connect your simulation or measurement to the actual energy flow. For example, a 1 kW transmitter radiates about 0.8 W/m² at 10 m. That’s not a lot of energy at any moment (a few nanojoules per cubic meter), but at c = 3×10⁸ m/s, that’s a lot of power moving through space. That’s why even "small" fields can yield high power flows—and why shielding and coupling matter at RF.
Worked Example: Energy Storage in a Pulse-Forming Capacitor Bank
If you need to deliver, say, 2.5 MJ in 150 μs for electromagnetic forming, and you want to do it at 12 kV using polypropylene film, you start by figuring out your max safe field (Emax = 45 MV/m ÷ 1.8 ≈ 25 MV/m with a safety factor). The film thickness needed is 0.48 mm for 12 kV operation. With εr = 2.2, your energy density comes out to 6,094 J/m³. Divide total energy by this density to get the dielectric volume (2.5 MJ / 6,094 J/m³ ≈ 410 m³ of straight film; actual capacitor is bigger with packing inefficiency). For 2.5 MJ at 12 kV, you need about 34.7 F (this is why pulse-power capacitors are physically gigantic). Discharging that energy in 150 μs means your system must handle millions of amps for a split second—a level that puts severe demands on bus bars and switching, showing why energy density and safe field ratings, not just total joules, drive the practical design limits.
Practical Limitations: Frequency Dependence and Loss Mechanisms
The formulas above assume lossless materials. The real world isn’t so gentle. In dielectrics, response lag (tan(δ), the loss tangent) eats energy each cycle—polypropylene is very low-loss at MHz, but ceramic dielectrics can waste a lot more (especially high-K types). Losses go up with both frequency and field strength, so the usable energy density is often much lower in practice, especially for high-frequency operation.
Magnetic parts are even more sensitive to loss, especially as frequency climbs. Ferrites see loss per unit volume scaling as roughly f1.3 × B2.5. Push too hard and the heat generated can equal or exceed the stored energy in mere milliseconds at high frequencies—this is the core "Q" limitation for real inductors. That’s why, even with a fat datasheet value for Bmax, you may get vastly less energy stored at high frequency or in continuous operation than the equations suggest. For design, always check losses against your storage numbers, and adjust Bmax or operating frequency until the two are balanced for thermal and lifetime goals.
For more field-based calculators useful for electromagnetic work—things like transmission line, waveguide, or antenna calculators—see the engineering calculator library.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →— - Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
