Magnetic Field of Steady Current Configurations
The Biot–Savart law is a machine for turning circuits into fields; this article runs the machine over the geometries civilization actually builds. Four shapes carry nearly all of applied magnetostatics. The straight wire — its circulating was earned last article. The circular loop, whose axial field is the seed of everything coil-shaped, and whose far field reveals the universal signature of any compact current: the magnetic dipole. The solenoid — loops stacked into a tube — which manufactures the closest thing to a uniform field a laboratory can buy, from MRI bores to relay actuators. And the toroid — a solenoid bent to bite its own tail — whose field is entirely self-contained: strong in the doughnut, zero outside, the geometry fusion reactors bet on. The method matters as much as the catalog. Everything here comes from the Biot–Savart integral plus a heavy use of superposition: a solenoid is an integral over rings; a Helmholtz pair is two rings summed and tuned — separated by exactly one radius so that the second derivative of the field vanishes at the midpoint, buying a pocket of part-per-ten-thousand uniformity from bench hardware. Where a slicker route exists — the rectangular-loop and circulation arguments of Ampère's law — this article states the results and leaves the shortcut to its owners two articles ahead; nothing below needs it. By the end, the chapter's field-shape vocabulary is complete: circulation around lines, near-uniformity inside tubes, closure into loops everywhere, dipole tails at long range. The next two articles explain the grammar behind the vocabulary — why every one of these fields is divergence-free, and what their curl says about the currents that made them.
- The standard catalog, all from Biot–Savart + superposition: wire (recalled); loop on-axis ; solenoid interior ; toroid inside, zero outside.
- The loop's far field is the magnetic dipole, with — the universal long-range signature of any compact current loop, from electrons to planets.
- A finite solenoid, built honestly by stacking loop fields, gives on axis — the ideal inside, exactly half at the ends.
- Helmholtz pair: two coaxial loops separated by their common radius kill both first and second derivatives at the midpoint — central field , uniform to within .
- The toroid confines its field completely: any Ampèrian circle outside nets zero threaded current — the design logic of tokamaks and low-leakage inductors (full circulation arguments owned by Ampère's Law).
- Field-shape grammar: circulation around currents, uniformity inside tubes, dipole tails far away, closed lines everywhere — the raw material for the divergence and curl theorems next.
- KEY IDEA: four geometries — wire, loop, solenoid, toroid — generate the working vocabulary of magnetostatic fields, every one an exercise in Biot–Savart superposition, and every compact loop wearing the same dipole tail far away.
Superposing Biot–Savart contributions over the standard source geometries yields the canonical fields of magnetostatics — around a wire, on a loop's axis, inside a solenoid, inside a toroid — with every compact loop reducing to a magnetic dipole at long range.
Where this lives today
The catalog is the modern magnet industry's toolbox. MRI machines are superconducting solenoids (0.5–7 T bores) with correction coils Taylor-tuned on exactly the Helmholtz logic — kill derivatives order by order — to reach part-per-million uniformity over the imaging volume; gradient coils, anti-Helmholtz descendants, encode position into frequency. Every voice coil, relay, and inductor datasheet quotes -descended formulas. Helmholtz pairs (often tri-axial) surround navigation-sensor calibration rigs and null Earth's field in electron-microscope rooms; anti-Helmholtz pairs form the magneto-optical traps at the heart of every cold-atom lab and atomic clock. And the toroid's perfect confinement is a live frontier: a tokamak is a toroidal field coil set holding plasma on the doughnut's closed field lines — ITER's toroid runs T at the plasma axis with the profile derived here setting the inboard/outboard field asymmetry every plasma-equilibrium code must handle. The dipole tail, meanwhile, is how nature files its magnetic paperwork. Earth's field is catalogued by its dipole moment ( — a core-current loop by any other name); exoplanet radio searches, neutron-star spin-down models, and the magnetometry that maps ancient seafloor spreading all parse fields through the template of equation (2). When only the far field is measurable, the moment is the only number there is.
Origins · 1 minNikola Tesla and how this was discovered
Tesla's genius was precisely the subject of this article: field geometry as engineering material. His 1887–88 induction-motor patents replaced commutators with a trick of pure magnetostatics-in-motion — two coil sets driven out of phase to make the field direction itself rotate, dragging the rotor behind it — the insight that won the "war of the currents" for AC and still turns most of the world's industrial machinery. His resonant air-cored coil systems pushed coil design to extremes (the Tesla coil remains the emblem of high-voltage electricity), his Colorado Springs experiments probed wireless power through sheer field geometry, and dozens of his polyphase, generator, and radio-frequency patents furnished the grid's architecture. The SI honored the matchmaking of his name with the magnetic field itself in 1960: every quoted in this catalog — the millitesla of a bench solenoid, the tesla of an MRI bore — is measured in him.
The physical picture
Learn the four field shapes before any formula, because they are the visual grammar of the whole subject. Around a straight wire: concentric circles, thinning as . Around a single loop: field threads through the hole and fountains around the outside — the pattern iron filings drew for Faraday, and at long range the exact portrait of a bar magnet. Inside a solenoid: the loops' fields reinforce down the bore into near-perfect straight rails, while outside they nearly cancel — a tube of concentrated, uniform field. In a toroid: the rails bent into closed circles that never leave the doughnut at all.
Two organizing facts run through the catalog. First, superposition is the manufacturing process: every coil is loops added together, and every formula below is the single-loop axial field reused — integrated into a solenoid, paired into a Helmholtz configuration, bent into a toroid. Master one ring and you own the catalog. Second, distance erases detail: back far enough away from any compact circuit — round loop, square loop, a wound coil, an orbiting electron — and the field collapses to one universal shape, the magnetic dipole , falling as . The far universe cannot tell a current loop from a bar magnet, because (as the magnetic-matter chapter will argue, completing Ampère's old hypothesis) a bar magnet is current loops.
The catalog, earned
The straight wire's was integrated honestly in Biot-Savart Law and is recalled, not re-derived. The next rung is the ring — the calculation that powers everything coil-shaped.
The goal is the field at height on the axis of a ring of radius carrying current : the master formula of coil design, with its two famous limits (center value, dipole tail). The strategy is direct Biot–Savart integration, with the ring's symmetry doing the heavy lifting: every element sits at the same distance from the field point, and the transverse field components cancel in pairs around the ring, so only the axial projection needs integrating — and it is constant.
Step 1. Geometry of one element. Every source point on the ring lies at distance
from the axial field point, and (tangent to the ring) is exactly perpendicular to the separation vector, so each element contributes the full-strength magnitude
Step 2. Kill the transverse components by symmetry. Each is perpendicular to its own sight line, so it tilts off-axis — but diametrically opposite elements produce mirror-image tilts, and their transverse parts cancel exactly around the ring. Only the axial component survives, carrying the projection factor
Why the projection is and not : the element's field is perpendicular to the sight line, so its axial component goes with the sight line's transverse inclination — draw it once and the geometry locks in; getting this backwards is the classic error of the calculation.
Step 3. Integrate. The integrand is now constant around the ring:
Step 4. Read the limits. At the center, : — agreeing with the center-point calculation of the previous article ✓. Far away, :
Why the : seen from afar, the ring's near and far sides nearly cancel — the residual after cancellation is two powers of steeper than the straight wire's . Equation (2) is the on-axis slice of the full dipole field , whose complete derivation belongs to the magnetic-dipole articles of the matter chapter; the moment is the same one born as a torque coefficient in Magnetic Force on Current-Carrying Wires — one quantity, two jobs. *Quick checks: at the formula returns , consistent with the previous article's center-point result; the far-field coefficient reproduces the general dipole formula evaluated on-axis; and the dimension check confirms the prefactor ✓.*
Go deeper · Derivation B · 2 minThe Helmholtz condition — engineering uniformity from two rings
The goal is the classic uniform-field recipe: two identical coaxial -turn loops of radius , distance apart, tuned so the field near the midpoint is as flat as possible — and the discovery that the magic separation is exactly . The strategy is a Taylor expansion of the two-loop field about the midpoint: odd derivatives vanish by symmetry for free, and the design freedom in is spent killing the leading even derivative. This is a real taste of instrument design: symmetry first, then calculus on the remaining knob.
Step 1. Superpose two copies of (1) centred at (field point at displacement from the midpoint):
Step 2. Spend the symmetry. Under the two terms swap, so is an even function of : all odd derivatives vanish at the midpoint automatically. The expansion reads , and flatness is decided by .
Step 3. Kill the curvature. Differentiate (1) twice and evaluate at the midpoint (each loop contributes equally); the condition works out to
Why it lands on exactly the radius: each loop's axial field has an inflection point at off its own plane (differentiate (1): vanishes at ) — placing the midpoint at both loops' inflection points makes each contribute zero curvature there, and the pair's leading error jumps to fourth order.
Step 4. Evaluate the central field at . Each loop sits from the midpoint, so and
Why the configuration is beloved: with first, second AND (by symmetry) third derivatives all zero, the field is flat to — numerically, the exact two-loop sum deviates from by only at and at . Uniform-field volume, with open optical access from every direction that a solenoid would block: the standard environment for magnetometer calibration, atomic-physics experiments, and nulling Earth's field. (Flip one current and the pair becomes anti-Helmholtz: zero field at the center with a uniform gradient — the workhorse of magneto-optical traps.) *Checks: differentiating (1) twice confirms the inflection point at , underpinning the condition; the central value (3) follows directly; and the uniformity figures ( at , at ) come from the exact two-loop sum.*
Go deeper · Derivation C · 2 minThe finite solenoid — stacking rings into a tube
The goal is the on-axis field of a solenoid of finite length: turns per unit length, radius , carrying — built honestly by integrating the single-ring formula down the tube, with the ideal and the famous end-effect emerging as limits. The strategy converts the sum over discrete windings into an integral over ring-slabs and substitutes an angle variable that collapses the integrand; the payoff formula reads the field straight off the two angles under which the solenoid's ends are seen. (The slicker uniformity-and-exterior argument via circulation is the property of Ampère's Law, two articles ahead; nothing here needs it.)
Step 1. Slice the winding. The turns between and form a ring carrying current ; by (1) it contributes, at an on-axis field point a distance away,
Step 2. Substitute the viewing angle. Let be the angle between the axis and the line from the field point to the ring's rim: , , and . The integrand collapses:
Step 3. Integrate between the angles , under which the two ends of the solenoid are seen from the field point:
(with the angles measured from the same axial direction, ).
Step 4. Read the limits. Deep inside a long solenoid, the ends subtend , :
— the ideal interior field, independent of the radius and of position (the full off-axis uniformity statement is Ampère's-law property). At the exact center of the end face, : vanishes and only the far end contributes, , which tends to exactly half the deep-interior value as that end recedes () — half the rings are simply missing. Numbers for a bench solenoid (30 cm long, 2 cm radius, 600 turns, 2.0 A): ideal mT; the finite formula gives mT at the center (99.1% of ideal — already essentially ideal at aspect ratio 15) and mT at the ends. Why the angle form is the one to remember: like the straight-segment formula of the previous article, (4) handles every finite case — short coils, field points outside the bore on-axis, gradient estimates near the ends — while the memorized is just its most flattering limit. *Checks: the angle-substitution integrand collapses as shown; the bench-solenoid numbers follow from (4) — center factor 0.9912, end factor 0.4989 ≈ ½; and the toroid's thin-tube limit closes consistently with the solenoid result (5).*
The toroid completes the catalog: wind the solenoid around a doughnut and the field lines close inside the tube, azimuthal, with magnitude at distance from the central axis — stronger toward the inner wall — and exactly zero outside: any circulation loop outside the tube threads each turn once in and once out, netting nothing. The clean derivation is a two-line circulation argument that belongs to Ampère's Law; take from it here the design fact: toroids do not leak. That is why fusion machines, sensitive inductors, and tokamak transformers are doughnuts.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| loop center () | matches the Biot–Savart article's calibration point | |
| loop far field () | , | the universal dipole tail |
| Helmholtz pair, | , flat to | 0.01% at ; anti-Helmholtz → pure gradient |
| solenoid, deep inside | radius-free, uniform | |
| solenoid end face | half the rings are missing | |
| toroid inside | non-uniform: stronger at the inner wall | |
| toroid outside | perfect confinement; circulation argument → Ampère's Law | |
| thin toroid () | a solenoid that ate its tail — catalogs agree |
Worked examples
1 · A bench solenoid, honestly rated (confidence builder)
A solenoid is 30 cm long, 2.0 cm in radius, wound with 600 turns carrying 2.0 A. Find the ideal interior field, the true center field, and the field at the center of an end face.
Step 1. Turn density: . Ideal interior field (5): — about a hundred Earth-fields, from a desk-size coil.
Step 2. Finite correction at the center, from (4): the ends are seen at each, so — the ideal formula was off by under 1%; aspect ratio 15 is already "long."
Step 3. End face, from (4) with : — the celebrated factor of one-half, physically transparent: an infinite solenoid is two half-infinite ones, and at the joint each supplies half.
Step 4. Design reading: the interior is flat and radius-free; all the interesting (and fringing) behaviour lives within a radius or two of the ends — which is why solenoid magnets are specified by bore and length, and why short "solenoids" are really just fat coils.
2 · Designing a Helmholtz pair for magnetometer calibration (exam level)
You need a calibrated, uniform field of about with open access, uniform to better than 0.05% over a 3-cm test region. Design a Helmholtz pair with coils of turns each: find the current, verify the uniformity, and state the field if one coil's current is accidentally reversed.
Step 1. Central field from (3): . Solve for at :
(direct check: ✓).
Step 2. Uniformity along the axis of the test region. The 3-cm region spans . Exact two-loop summation gives on axis — the worst case over the region, since off-axis points at the same radius deviate by only about three-eighths as much — comfortably inside the 0.05% budget (at it would be : the error growing sixteen-fold per doubling, exactly as the Helmholtz condition predicts).
Step 3. The reversed-coil failure mode: with opposing currents the even symmetry flips to odd — at the center and the field grows linearly with : an anti-Helmholtz gradient coil. Diagnostic signature on the bench: your magnetometer reads near zero where you expected 0.9 mT. (Deliberately, this configuration is the quadrupole trap of cold-atom physics — one wiring error away from a different instrument.)
Step 4. Why not a solenoid? Equal uniformity is available in a long bore, but the Helmholtz pair leaves the test region open on all sides for optics and probes — geometry, again, is the design currency.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §5.2–5.3 (Ex. 5.6, 5.9, 5.10) · Jackson, Classical Electrodynamics, 3rd ed., §5.5 · Purcell & Morin, Electricity and Magnetism, 3rd ed., Ch. 6 · Zangwill, Modern Electrodynamics, §10.4. The Ampère's-law derivations of solenoid uniformity and toroid confinement are deferred to Ampère's Law; this article's routes are pure Biot–Savart superposition. The general dipole field formula is quoted with its derivation deferred to the magnetic-dipole articles. Key results and worked numbers: the ring integral yields , with limit and limit ; the solenoid angle-form is , giving deep inside and at the end face; differentiating the loop formula twice confirms the inflection at and hence for the Helmholtz condition, with central field ; toroid confinement follows from the threading-count argument. Bench solenoid (30 cm, 2 cm radius, 600 turns, 2.0 A): 5.03 mT ideal, 4.98 mT true center (factor 0.9912), 2.51 mT end. Helmholtz pair ( cm, , A): mT, deviation at , at . Earth's dipole moment A·m².
Builds on: Biot-Savart Law · Ampère's Law · Curl of B · Electric Current and Current Density · Divergence of B and Absence of Magnetic Monopoles
Leads to: Magnetic Vector Potential · Magnetic Force on Current-Carrying Wires · Cyclotron Motion and Magnetic Confinement
Why is the solenoid's interior field independent of its radius? A fatter coil has its wires farther away.
Two scalings cancel exactly. Fatten the solenoid and each ring's rim moves farther from an axis point (weakening its contribution), but each ring also grows longer and — at fixed turns per length — the geometry recruits contributions more nearly broadside. The angle form (4) makes it transparent: the field depends only on the angles under which the ends are seen, and for an infinite solenoid those are and regardless of radius. The same conspiracy delivers the off-axis uniformity that Ampère's law will prove in two lines: inside an ideal solenoid the field is everywhere, wall to wall.
Is the field outside a real solenoid actually zero?
Not exactly, for three stacked reasons. Finite length: field lines that fill the bore must return outside, so a finite solenoid has an exterior return field — weak because it spreads through all of space, with the far field a dipole (moment ). Helicity: a real winding advances like a screw thread, so the coil carries a net axial current along its length, wrapping a weak azimuthal field around the outside — cancelled in precision instruments by a return wire run back along the axis. And winding discreteness ripples the field near the wires. "Zero outside" is exact only for the ideal infinite, close-wound, purely azimuthal current sheet — a -dialect idealization in the sense of Electric Current and Current Density.
Where should I use the Helmholtz formula versus just adding two loop fields numerically?
Use (3) for the central value and the design condition; use the exact two-loop sum whenever you need field maps or error budgets — it costs two evaluations of (1). The Helmholtz configuration's value is analytic: it guarantees the leading error is , so uniformity claims scale predictably — the deviation grows sixteen-fold every time the test radius doubles. For volumes beyond , no tuning of two loops rescues you — add more coils (Maxwell's three-coil arrangement kills the fourth derivative too) or switch to a solenoid. The general principle — expand, exploit symmetry, spend geometric knobs killing derivatives — is the whole trade of shim-coil design.
The toroid's interior field falls as 1/s — why isn't it uniform like the solenoid it came from?
Because bending the solenoid broke the translational symmetry. In a toroid all turns thread any interior circulation circle, whether that circle hugs the inner wall (small ) or the outer (large ) — same threaded current, longer path, weaker field: . The inboard/outboard asymmetry is not a nuisance footnote: in tokamaks the "high-field side" and "low-field side" have different plasma physics, and the profile drives particle drifts that toroidal confinement schemes must engineer around. Only in the thin-tube limit ( pinned near the ring radius ) does the local field flatten back to the solenoid's .
How do I get the field of a solenoid off-axis, or of a loop away from its axis?
Honest answers only: the on-axis results here are exact only on the axis. Off-axis loop fields involve elliptic integrals (closed form exists, ugly), and the practical routes are three. Numerical Biot–Savart summation — the universal workhorse. Expansion methods — near the axis, lets you generate the leading off-axis corrections directly from the on-axis profile's derivatives (), the trick behind beam-optics field models. And for the ideal solenoid specifically, the answer is rigid: uniformly across the whole bore, zero outside — the two-line Ampère's-law argument two articles ahead. Which route to trust is, once again, a symmetry question first.
Do these catalog formulas survive when iron cores or magnetic materials are added?
The structure survives; the constant does not. Wrapping the solenoid on a linear magnetic core multiplies the field by the relative permeability (, with — thousands for soft iron), which is why practical electromagnets and transformer cores exist. But ferromagnets saturate (iron tops out near 2 T), remember their history (hysteresis), and add bound currents of their own — the honest treatment needs the -field bookkeeping and magnetization physics of the magnetic-matter chapter, which will re-derive this catalog with matter included. Until then: the vacuum formulas here are exact for air-cored coils and lower bounds for cored ones.