Ampère's circuital law
Ampère's circuital law connects magnetic fields to the electric currents that produce them. It plays a role for magnetic fields analogous to what Gauss's law does for electric fields: given enough symmetry, it turns a difficult integral into a simple algebraic equation. The law also forms one of Maxwell's four equations, and its generalized form (with the displacement current) is essential for understanding electromagnetic wave propagation.
Magnetic fields of current distributions
Magnetic field of a straight wire
The magnetic field lines around a long, straight current-carrying wire form concentric circles centered on the wire. You find the direction with the right-hand rule: point your thumb along the current, and your fingers curl in the direction of .
The field magnitude falls off as , where is the perpendicular distance from the wire:
This result follows directly from applying Ampère's law with a circular Amperian loop of radius centered on the wire.
Magnetic field of a circular loop
Field lines from a circular current loop look like a magnetic dipole pattern (similar to a bar magnet). The field is strongest at the center of the loop and along its axis. Use the right-hand rule again: curl your fingers in the direction of the current, and your thumb points along the magnetic moment (the direction of through the center).
At the center of a single loop of radius :
The field is proportional to the current and inversely proportional to the loop radius. Helmholtz coils exploit this geometry by placing two identical loops a specific distance apart to create a region of nearly uniform field between them.
Magnetic field of a solenoid
A solenoid is a tightly wound helical coil. Inside an ideal (infinitely long) solenoid, the magnetic field is remarkably uniform and parallel to the axis. Outside, the field is essentially zero.
Applying Ampère's law to a rectangular loop that straddles the solenoid wall gives:
where is the number of turns per unit length and is the current. Notice that this result is independent of position inside the solenoid and independent of the solenoid's cross-sectional radius. If a core material with permeability fills the solenoid, replace with .
Mathematical formulation

Integral form
Ampère's law in integral form states:
- is the magnetic field vector at each point on the closed path (the Amperian loop).
- is an infinitesimal line element directed along the path.
- is the total net current threading through any surface bounded by the loop.
The entire strategy for using this law rests on choosing a loop where symmetry makes easy to evaluate. On a well-chosen path, is either constant in magnitude and parallel to , or perpendicular to (contributing zero), or zero altogether.
Enclosed current and sign conventions
The enclosed current is the net current passing through any surface bounded by your chosen loop:
where is the volume current density and is the area element with direction given by the right-hand rule applied to the loop's circulation direction. Currents flowing in the direction of count as positive; currents flowing opposite count as negative. If multiple wires pass through the loop, you sum their contributions with appropriate signs.
Differential form
Applying Stokes' theorem to the integral form shrinks the loop to an infinitesimal size and yields:
This says the curl of at any point equals times the local current density at that point. Where there is no current, the curl of is zero. This form is particularly useful in problems with continuous current distributions and high symmetry, and it connects directly to the other Maxwell equations in differential form.
Applications of Ampère's law
Step-by-step method for calculating fields
- Identify the symmetry of the current distribution (cylindrical for a wire, planar for a sheet, solenoidal for a coil, etc.).
- Choose an Amperian loop that exploits that symmetry. The loop should pass through the point where you want , and its shape should make constant or zero on each segment.
- Evaluate the line integral . On segments where is parallel to and constant in magnitude, this becomes . On segments where is perpendicular to , the contribution is zero.
- Determine by counting (with signs) all currents passing through the surface bounded by the loop.
- Solve for .

Symmetry considerations
Ampère's law is most powerful when the current distribution has one of these symmetries:
- Cylindrical symmetry (infinite straight wire, coaxial cable): use a circular Amperian loop concentric with the wire.
- Planar symmetry (infinite sheet of current): use a rectangular loop straddling the sheet.
- Solenoidal symmetry (infinite solenoid, toroid): use a rectangular loop for the solenoid or a circular loop threading the toroid.
Without one of these symmetries, Ampère's law still holds as a true statement, but it won't simplify enough to solve for . In those cases, you need the Biot-Savart law or numerical methods.
Limitations and assumptions
- Steady currents only. The original form of Ampère's law assumes . For time-varying fields, you need the displacement current correction (see below).
- Closed loop required. The integration path must form a closed loop. An open path gives no useful result.
- Symmetry required for practical use. The law is always true, but it's only useful for calculating fields when symmetry constrains along the loop.
Displacement current and the Ampère-Maxwell law
The problem with the original law
Consider a charging parallel-plate capacitor. Current flows into one plate and out of the other, but no conduction current crosses the gap between the plates. If you draw an Amperian loop around the wire and choose a flat surface, you get . But if you choose a bulging surface that passes between the plates (still bounded by the same loop), you get . Ampère's law gives two different answers for the same loop, which is a contradiction.
Maxwell's fix
Maxwell resolved this by adding a displacement current term. The changing electric flux between the capacitor plates acts as an effective current:
The quantity is the displacement current . For the capacitor example, the growing electric field between the plates produces a displacement current exactly equal to the conduction current in the wire, restoring consistency regardless of which surface you choose.
In differential form, the Ampère-Maxwell law becomes:
Connection to electromagnetic waves
The displacement current term is what makes electromagnetic waves possible. Faraday's law says a changing produces . The Ampère-Maxwell law says a changing produces . Together, these two laws allow self-sustaining oscillations of and that propagate through space at:
This prediction, that electromagnetic waves travel at the speed of light, was one of the great triumphs of Maxwell's theory and confirmed that light itself is an electromagnetic wave.
Comparison with the Biot-Savart law
Both Ampère's law and the Biot-Savart law relate magnetic fields to currents, but they're suited to different situations.
|Ampère's law|Biot-Savart law| |---|---|---| |Applicability|High-symmetry current distributions|Any current distribution| | Output | Field along a chosen loop | Field at any specific point in space | | Typical calculation | Algebraic (after exploiting symmetry) | Vector integral over the entire current distribution | |Time-varying fields|Needs displacement current correction|Needs retardation corrections (Jefimenko's equations)| When to use Ampère's law: The problem has obvious symmetry (infinite wire, infinite solenoid, toroid, infinite current sheet), and you want the field magnitude quickly.
When to use Biot-Savart: The geometry lacks symmetry (finite wire, arbitrary loop, off-axis points), or you need the full vector field at a specific location. The trade-off is that Biot-Savart integrals are usually harder to evaluate.
For a finite solenoid, for instance, Ampère's law can't cleanly separate the field contributions, so you'd turn to Biot-Savart (or numerical computation) instead.