← thecodex.expert
Electromagnetism Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Magnetostatics · Concept

Ampère’s Law

Reading time: 9 minConfidence: HighLast verified: November 2026

∮B·dl = μ0Ienc for steady currents. Applications use symmetry: an infinite straight wire gives B = μ0I/2πr; an ideal solenoid with n turns per metre gives B = μ0nI inside and ~0 outside; a toroid of N turns gives B = μ0NI/2πr. The law is valid only for steady currents; Maxwell added the displacement current term (see Displacement Current) to give ∮B·dl = μ0(I + ε0dΦE/dt) (see the Ampère–Maxwell law).

Curious

One sentence that captures itAdd up the magnetic field around a loop and you get exactly the electric current passing through the loop, times a constant.

It is the magnetic counterpart of Gauss’s law: where Gauss’s law uses symmetry to find electric fields from charge, Ampère’s law uses symmetry to find magnetic fields from current.

Exploring

Worked examples(1) Wire with I = 10 A at r = 1 cm: B = μ0I/2πr = 2.0×10−4 T, about four times Earth’s field. (2) Solenoid with 1000 turns/m and 2 A: B = μ0nI = 2.51 mT. (3) Toroid of 500 turns, 1 A, mean radius 0.1 m: B = μ0NI/2πr = 1.0 mT. (4) Two parallel wires 1 m apart with 1 A each attract with 2×10−7 N per metre (the old definition of the ampere). (Computed in Python.)
GeometryB
Long straight wireμ0I/2πr
Solenoid (inside)μ0nI
Toroidμ0NI/2πr
Infinite current sheetμ0K/2
Common mistake — Commonly ConfusedThe law does not by itself determine B unless symmetry allows B to be pulled out of the integral; otherwise use the Biot–Savart law. In its original form it fails for a charging capacitor, which is why the displacement current is needed. Since the 2019 SI redefinition, the ampere is defined by the elementary charge, and μ0 is measured (very close to 4π×10−7 but no longer exact).

Deep Dive

Primary sourceAmpère, A.-M. (1826). Théorie mathématique des phénomènes électrodynamiques; Maxwell, J.C. (1865). “A dynamical theory of the electromagnetic field.” Philosophical Transactions, 155, 459–512.

Differential form. ∇×B = μ0J (steady). Taking the divergence gives 0 = ∇·J, which is consistent only if charge density is constant in time, which is the inconsistency Maxwell fixed. In matter, using the free current and the auxiliary field H: ∮H·dl = Ifree (see Magnetic Materials).

Place in Maxwell’s equations. Together with Gauss’s law, Gauss’s law for magnetism and Faraday’s law it completes the four equations (see Faraday’s Law).

Sources

  • Griffiths, D.J. (2017). Introduction to Electrodynamics (4th ed.). Cambridge University Press.
  • Purcell, E.M., Morin, D.J. (2013). Electricity and Magnetism (3rd ed.). Cambridge University Press.
  • Jackson, J.D. (1999). Classical Electrodynamics (3rd ed.). Wiley.
  • Maxwell, J.C. (1865). Philosophical Transactions, 155, 459–512.
Last verified: November 2026 · Source: Ampère (1826); Maxwell (1865); Griffiths (2017) · Confidence: high