Magnetic Field Energy Density: Field Energy Per Volume

By Vegard Gjerde Based on Masterful Learning 12 min read Published
magnetic-field-energy-density physics electromagnetism field-energy learning-strategies

Magnetic Field Energy Density says a region with magnetic field magnitude BB stores local energy density uB=B22μu_B=\frac{B^2}{2\mu}. It applies when the magnetic field magnitude is defined and a linear-medium or vacuum permeability has been chosen. Use it to find energy per volume before multiplying by a volume or integrating over space.

In the Electromagnetism Principle Map, this guide sits beside magnetic flux, inductor energy, and the electric-field energy-density relation. The surrounding decisions are choosing the relevant permeability, deciding whether the field can be treated as uniform over the region, and distinguishing local density from total stored energy. Those are setup choices around the principle, not new principles to memorize.

Unisium hero image titled Magnetic Field Energy Density showing the principle equation and a conditions card.
The relation uB=B22μu_B = \frac{B^2}{2\mu} with the field-magnitude and permeability conditions made explicit.

On this page: The Principle | Conditions | Misconceptions | Elaborative Encoding | Retrieval Practice | Worked Example | Solve a Problem | Related Principles | FAQ | Related Guides | How This Fits


The Principle

Statement

Magnetic Field Energy Density gives the amount of energy stored per unit volume in a magnetic field. The square on BB means stronger magnetic fields store much more energy locally, while μ\mu tells you which vacuum or linear-medium model the field is being measured in.

Mathematical Form

uB=B22μu_B = \frac{B^2}{2\mu}

Where:

  • uBu_B is magnetic field energy density, in joules per cubic meter
  • BB is magnetic field magnitude, in tesla
  • μ\mu is the permeability of the medium, in henries per meter
The coil creates a magnetic field region. The small marked volume shows where magnetic field energy density is local: to find total energy, use the field-filled volume for a uniform field or integrate over space if the field varies.

The diagram is a guide-level local-field scaffold. It uses a solenoid only to make a magnetic field region concrete. The density uBu_B belongs to the field region itself; current direction, coil geometry, and right-hand-rule setup are surrounding source-field decisions, not the density principle.

For a uniform magnetic field over a volume VV, the local density can be converted into total field energy:

UB=uBVU_B = u_B V

For a nonuniform field, the density must be integrated:

UB=uBdVU_B = \int u_B\,dV

These are application steps, not separate definitions of the density itself.


Conditions of Applicability

Condition: magnetic field magnitude defined; linear medium or vacuum permeability chosen

Practical modeling notes

  • Magnetic field magnitude defined means you know the scalar magnitude BB at the point or in the region being modeled.
  • Permeability chosen means the medium is vacuum with μ0\mu_0 or a linear medium with a specified μ\mu.
  • If the field varies over space, apply the relation locally before integrating.

When it does not apply directly

  • Undefined field magnitude: If only current, turns, or device geometry is given, first use a magnetic-field relation to determine BB where the density is being evaluated.
  • No chosen medium model: If the material response is nonlinear, anisotropic, or unspecified, the compact B22μ\frac{B^2}{2\mu} form may not be enough.
  • Asking for total energy: The formula gives energy per volume. Total energy needs volume information or an integral.

Want the complete framework behind this guide? Read Masterful Learning.


Common Misconceptions

Misconception 1: Energy density is the same as total energy

The truth: uBu_B is energy per unit volume. Total energy requires multiplying by a volume for a uniform field or integrating over space for a nonuniform field.

Why this matters: Confusing density with total energy can make units and magnitudes wrong even when the formula is remembered.

Misconception 2: The formula uses current instead of magnetic field

The truth: The variable is BB, the magnetic field magnitude. Current may help you find BB in a solenoid or wire setup, but it does not replace BB in the density relation.

Why this matters: A current by itself does not determine magnetic field energy density unless the geometry and magnetic-field relation are known.

Misconception 3: Permeability is optional

The truth: The density depends on the chosen vacuum or linear-medium permeability. Changing the medium changes the energy-density model for the same field magnitude.


Elaborative Encoding

Use these questions to build understanding before memorizing the formula. See Elaborative Encoding for the broader method.

Within the Principle

  • What do the units of B2/μB^2/\mu become, and why does that match energy per volume?
  • If BB doubles while μ\mu stays fixed, what happens to uBu_B?

For the Principle

  • What wording in a problem tells you that the magnetic field magnitude is defined locally?
  • How would you decide whether to use μ0\mu_0 or a material permeability?

Between Principles

  • How does this density relation connect to Inductor Energy, which gives total energy stored by an inductor model?

Generate an Example

  • Describe a region inside a long solenoid where magnetic field energy density applies, and name what extra information you would need to find total energy.

Retrieval Practice

Answer from memory, then reveal the result and check it. See Retrieval Practice for the full study method.

State the principle in words: _____Magnetic field energy density is the energy stored per unit volume in a magnetic field, proportional to the square of the field magnitude and inversely proportional to permeability.
Write the canonical equation: _____uB=B22μu_B = \frac{B^2}{2\mu}
State the canonical condition: _____magnetic field magnitude defined; linear medium or vacuum permeability chosen

Worked Example

Use this worked example to practice Self-Explanation.

Problem

A vacuum region inside a long solenoid has a nearly uniform magnetic field of magnitude B=0.30TB=0.30\,\mathrm{T}. Find the magnetic field energy density in that region. Use μ0=4π×107H/m\mu_0=4\pi\times10^{-7}\,\mathrm{H/m}.

Step 1: Verbal Decoding

Target: uBu_B
Given: B,μ0B, \mu_0
Constraints: vacuum region; nearly uniform magnetic field; field magnitude defined; vacuum permeability chosen

Step 2: Visual Decoding

Draw a small box inside the solenoid’s interior field region, label the field arrows BB, and mark the box as the local volume whose density is being evaluated. (The key visual fact is that the answer is per volume, not total energy.)

Step 3: Physics Modeling

  1. uB=B22μ0u_B = \frac{B^2}{2\mu_0}

Step 4: Mathematical Procedures

  1. uB=(0.30T)22(4π×107H/m)u_B = \frac{(0.30\,\mathrm{T})^2}{2(4\pi\times10^{-7}\,\mathrm{H/m})}
  2. uB=0.090T22.51×106H/mu_B = \frac{0.090\,\mathrm{T^2}}{2.51\times10^{-6}\,\mathrm{H/m}}
  3. uB=3.6×104J/m3\underline{u_B = 3.6\times10^4\,\mathrm{J/m^3}}

Step 5: Reflection

  • Dimensional analysis: T2/(H/m)\mathrm{T^2}/(\mathrm{H/m}) reduces to J/m3\mathrm{J/m^3}.
  • Interpretation: The result is a density, so a larger field-filled volume would store more total energy at the same uBu_B.
  • Parameter dependence: If the magnetic field magnitude were doubled, the energy density would become four times larger.

Before moving on: self-explain the model

Try explaining why Step 3 uses the field magnitude and permeability directly, and why no coil volume appears until a total-energy question is asked.

Physics model with explanation

Principle: We use Magnetic Field Energy Density because the target is local energy per volume in a known magnetic field.

Conditions: The field magnitude is given, and the problem specifies vacuum, so μ0\mu_0 is the chosen permeability.

Relevance: The formula directly connects uBu_B to the two given inputs.

Description: The field region stores energy locally. The density is fixed by the square of the field magnitude and the permeability model.

Goal: Substitute the field magnitude and permeability into the density relation and report energy per cubic meter.


Solve a Problem

Apply what you have learned with Problem Solving.

Problem

A linear magnetic material has permeability μ=5.0μ0\mu=5.0\mu_0 and contains a region with uniform magnetic field magnitude B=0.20TB=0.20\,\mathrm{T}. Find the magnetic field energy density. Use μ0=4π×107H/m\mu_0=4\pi\times10^{-7}\,\mathrm{H/m}.

Hint: First write the permeability in terms of μ0\mu_0, then keep the answer as energy per volume.

Show Solution

Step 1: Verbal Decoding

Target: uBu_B
Given: μ,μ0,B\mu, \mu_0, B
Constraints: linear magnetic material; uniform magnetic field; field magnitude defined; material permeability chosen

Step 2: Visual Decoding

Draw a small local box inside the field region, label the magnetic field arrows BB, and write μ=5.0μ0\mu=5.0\mu_0 beside the medium. (The key visual fact is that the medium choice changes the density model.)

Step 3: Physics Modeling

  1. uB=B22μu_B = \frac{B^2}{2\mu}

Step 4: Mathematical Procedures

  1. uB=B22(5.0μ0)u_B = \frac{B^2}{2(5.0\mu_0)}
  2. uB=(0.20T)22(5.0)(4π×107H/m)u_B = \frac{(0.20\,\mathrm{T})^2}{2(5.0)(4\pi\times10^{-7}\,\mathrm{H/m})}
  3. uB=0.040T21.26×105H/mu_B = \frac{0.040\,\mathrm{T^2}}{1.26\times10^{-5}\,\mathrm{H/m}}
  4. uB=3.2×103J/m3\underline{u_B = 3.2\times10^3\,\mathrm{J/m^3}}

Step 5: Reflection

  • Dimensional analysis: The units still reduce to joules per cubic meter.
  • Magnitude: The density is smaller than the same field in vacuum because the chosen permeability is five times larger.
  • Verification: Substituting μ=5.0μ0\mu=5.0\mu_0 into the canonical equation reproduces the numerical result.

See Electromagnetism: The Principle Map for where this field-energy relation sits in the magnetic potential, energy, and flux lane.

PrincipleRelationship to Magnetic Field Energy Density
Inductor EnergyGives total energy stored by an inductor model, while this guide gives local magnetic field energy per volume.
Magnetic Field In A Long SolenoidCan supply a simple field model where the magnetic field inside the solenoid is nearly uniform.
Electric Field Energy DensityThe electric-field partner relation uses electric field magnitude and permittivity instead of magnetic field magnitude and permeability.

See Principle Structures for a broader way to organize local densities, total quantities, and bridge relations.


FAQ

What is magnetic field energy density?

Magnetic field energy density is the energy stored per unit volume in a magnetic field. In a vacuum or linear medium, it is uB=B22μu_B=\frac{B^2}{2\mu}.

When does the magnetic field energy density formula apply?

It applies under the canonical condition: magnetic field magnitude defined; linear medium or vacuum permeability chosen. The field magnitude and the permeability model must both be known.

Is magnetic field energy density the same as inductor energy?

No. Inductor energy is a total stored energy for an inductor model. Magnetic field energy density is local energy per volume; it can be integrated over the field region to get total energy.

Why does the formula use magnetic field magnitude instead of current?

Energy density is local to the magnetic field. Current can help determine BB in simple geometries, but the density relation itself depends on field magnitude and permeability.

What happens if the magnetic field is not uniform?

Apply uB=B22μu_B=\frac{B^2}{2\mu} locally where BB is known, then integrate the density over the region to find total energy.



How This Fits in Unisium

Unisium treats Magnetic Field Energy Density as a principle because the formula is compact but the modeling boundary matters: uBu_B is local, depends on the chosen permeability, and becomes total energy only after a volume or integral is supplied. The useful learning path is to encode the condition, retrieve uB=B22μu_B=\frac{B^2}{2\mu}, self-explain the local-versus-total distinction, and solve problems where the target variable changes.

Ready to study principles this way? Check access and join the Unisium waitlist or explore the full framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The book behind these guides: a study system for physics, math, & programming built on retrieval, connection, explanation, and problem solving.

Ready to apply this strategy?

Unisium turns these evidence-based techniques into guided study sessions for math and physics. Places are limited during early access. Check current availability to start a trial; joining the mailing list is optional.

See plans and availability Read More Guides

Already have access? Sign in