Electromagnetic stress tensor
The Maxwell stress tensor provides a way to calculate the total electromagnetic force on an object without tracking every charge and current inside it. Instead of summing up all the microscopic Lorentz forces, you integrate the stress tensor over a closed surface surrounding the object. This makes it indispensable for problems involving forces on dielectrics, conductors, and plasmas, and it connects directly to the conservation of field momentum covered earlier in this unit.
Definition and components
The Maxwell stress tensor in vacuum is a symmetric rank-2 tensor (a 3×3 matrix in the non-relativistic setting) defined component-wise as:
where label spatial directions, and is the Kronecker delta.
Each component represents the flux of the -th component of electromagnetic momentum through a surface whose normal points in the -direction. In more physical terms:
- Diagonal components () give the normal stress (pressure) the field exerts on a surface perpendicular to the -axis.
- Off-diagonal components (, ) give the shear stress, the tangential force per unit area the field exerts on that surface.
The tensor is symmetric: . This follows from conservation of angular momentum for the electromagnetic field (assuming no intrinsic spin contributions at the classical level).
Physical interpretation
Think about what the diagonal terms actually tell you. Consider a region where only is nonzero. Then:
The field pulls along its own direction (positive , a tension) and pushes perpendicular to itself (negative , , a pressure). Electric field lines behave like rubber bands under tension that also repel each other sideways. Magnetic field lines behave the same way. This tension-and-pressure picture is one of the most useful intuitions you can build for electromagnetic forces.
A positive diagonal component means the field is pulling (tension) along that axis. A negative diagonal component means the field is pushing (compression). Field lines act like elastic bands: they pull along themselves and push apart laterally.
Derivation from Maxwell's equations
The stress tensor emerges from writing the Lorentz force density in a form that separates into a time derivative and a divergence.
-
Start with the Lorentz force density on charges and currents:
-
Use Maxwell's equations to eliminate and in favor of the fields:
-
Substitute and rearrange. After considerable vector algebra (using product rules and the identity , etc.), you arrive at: where is the Poynting vector.
-
Recognizing the electromagnetic momentum density , this becomes:
This is the conservation of electromagnetic momentum in local form. Every term has a clear meaning: the mechanical force density on matter equals the momentum flowing in through the stress tensor minus the rate at which field momentum is building up locally.

Conservation of momentum
Integrating over a volume bounded by surface :
The left side is the total rate of change of mechanical plus field momentum inside . The right side is the momentum flux flowing in through the boundary. In static or time-averaged situations (where or averages to zero), this simplifies to:
This is the key working formula. To find the force on any object, choose a closed surface around it, evaluate on that surface (where you know the fields), and integrate.
Calculating force and torque
Force calculation steps:
- Identify the object you want the force on.
- Choose a closed surface surrounding the object. Pick a surface where the fields are easy to evaluate (often a sphere at large , or a surface in a region of simple field geometry).
- Compute and everywhere on .
- Build at each point on the surface.
- Evaluate , where points outward.
- If the fields are time-varying, include the correction, or use time-averaged quantities for sinusoidal fields.
Torque about the origin is computed similarly:
Relationship to energy density and momentum density
The stress tensor is the spatial part of a larger object. In the four-dimensional (relativistic) electromagnetic stress-energy tensor :
- is the energy density.
- gives the momentum density (equivalently, energy flux divided by ).
- are the spatial stress components defined above.
The trace of the spatial part is:
This result connects to the conformal invariance of classical electromagnetism: the full 4D trace for the free electromagnetic field, reflecting the masslessness of the photon.

Conservation of energy
For completeness, the energy conservation (Poynting's theorem) sits alongside momentum conservation:
The right side is the rate at which the field does work on free charges. Together, energy and momentum conservation form the divergence of the full stress-energy tensor:
where is the four-force density on matter.
Stress tensor in linear media
In a linear, isotropic medium with permittivity and permeability , the stress tensor generalizes to:
This form applies inside homogeneous regions. At boundaries between different media, you need to be careful: the stress tensor is discontinuous across the interface because the material parameters jump. The force per unit area on the interface equals the difference in evaluated on each side.
At an interface, the net electromagnetic surface force density is , where points from medium 2 into medium 1. This is how you calculate radiation pressure on a dielectric slab, for instance.
Stress tensor in anisotropic and nonlinear media
For anisotropic media, the constitutive relations involve tensors and :
The stress tensor must then be constructed from the full tensor products and , and it is no longer guaranteed to be symmetric unless the permittivity and permeability tensors themselves are symmetric (which they are for lossless media).
For nonlinear media, where and depend on field strength, the stress tensor acquires additional terms related to electrostriction and magnetostriction. A proper treatment requires thermodynamic arguments (Helmholtz or Gibbs free energy formulations) to correctly account for the coupling between field energy and mechanical strain.
Applications in waveguides and cavities
In waveguides and resonant cavities, the stress tensor is useful for two main purposes:
- Radiation pressure on walls. The fields inside a waveguide or cavity exert forces on the conducting (or dielectric) boundaries. You can compute these by evaluating just inside the boundary. For a perfect conductor, only the tangential and normal survive at the surface, which simplifies the calculation considerably.
- Mode analysis and energy flow. The time-averaged stress tensor gives the distribution of radiation pressure across the waveguide cross-section. This matters for understanding mechanical deformation of the guide under high power, and for optomechanical coupling in micro-cavities.
In cavity QED and optomechanical systems, the radiation pressure force derived from the stress tensor couples the electromagnetic cavity mode to the mechanical motion of a mirror or membrane. The force is proportional to the stored energy divided by the cavity length, and the stress tensor formalism provides the cleanest route to that result.
Applications in plasmas
Plasmas present a case where both the field stress tensor and the kinetic pressure of charged particles contribute to the total stress. The relevant equation of motion for a magnetized plasma element combines:
where is the mass density and is the kinetic pressure tensor.
The magnetic part of the stress tensor in a plasma is often decomposed into magnetic pressure (, acting isotropically perpendicular to ) and magnetic tension (, pulling along field lines). This decomposition is central to magnetohydrodynamics (MHD) and explains phenomena like magnetic confinement in fusion devices, where the magnetic pressure balances the plasma kinetic pressure, and MHD instabilities, which arise when that balance is disrupted.