In magnetostatics, an ideal infinitely long solenoid is a cylindrical sheet of circumferential surface current density . It has negligible winding advance, no magnetic core, and no imposed external magnetic field. Choose positive electric current to produce magnetic field along . In this ideal model the interior magnetic field is uniform and axial, , and the exterior magnetic field is zero; is the vacuum permeability. For a finite, closely wound air-core coil, the same result is an approximation well inside the coil, several radii from either end. Air is treated as having the magnetic permeability of vacuum. [ref].
For a short proof, the translational and rotational symmetries of the ideal cylindrical current sheet, together with the Biot-Savart law, give an axial magnetic field. Ampère's law on rectangles wholly outside makes that axial exterior value independent of radius; the condition of no imposed magnetic field makes it zero at infinity and hence everywhere outside. Rectangles wholly inside similarly show that the interior value is independent of radius. Now choose an Amperian loop with axial length , one long side inside and the other outside. The transverse sides are perpendicular to the magnetic field, so their contributions to the line integral vanish. The loop crosses turns of the winding, giving
Here is the integration-path length, not the whole coil length . An Amperian loop surrounding both sides of the winding encloses equal and opposite electric currents; zero net circulation alone would not prove zero magnetic field at every exterior point.
Figure 1. . Axial cross-section of an infinite ideal winding: paired dots and crosses show electric current out of and into the page. The indicated right-hand rule produces interior magnetic field along . The counterclockwise Amperian loop crosses only the upper row, with positive crossings; its interior side runs along , and its exterior return lies where the ideal magnetic field is zero. Details.
For the -turn, coil with electric current , the long-solenoid approximation gives
This illustrative calculation uses vacuum permeability , a rounded value, not an exact constant. Since the 2019 redefinition of SI, vacuum permeability is determined experimentally.[ref] Doubling doubles the ideal magnetic field; doubling at fixed does the same. Increasing while keeping fixed decreases and hence the ideal magnetic field.
Model a finite solenoid as a continuum of coaxial turns shaped as circles of radius , uniformly distributed over length with solenoid turn density . Put its centre at , so its ends are . With the same electric current orientation as in the long-solenoid approximation, its axial magnetic field is
This formula applies only on the axis, where symmetry cancels the transverse magnetic field. It does not describe points off the axis. It is exact for the continuum circular-turn model, which neglects winding thickness, discrete wire spacing, and helical advance. [ref].
The derivation is an especially direct use of the superposition principle. The on-axis magnetic field of a circular current loop at source position is . There are turns in an axial slice, so
Substitute and use the antiderivative to obtain the displayed expression. If the centre is instead at , replace every in that expression by .
At the centre and at either end, respectively,
For aspect ratios , the centre ratios are approximately . The end ratio tends to as becomes large, even though the centre ratio tends to . Thus a long coil can have an excellent central magnetic field while the ends still differ strongly from that value. Convergence to the long-solenoid approximation is not uniform across the end region.
Figure 1.
Finite solenoid axial magnetic fields compared with the ideal interior value
. Original profiles for on the axis, normalized by . The dashed step is the approximation that assigns the ideal interior value within the coil and zero outside; an infinite solenoid itself has no ends. The finite profiles stay smooth through the end planes and remain nonzero beyond them. These curves describe no off-axis points. Details.
For a concrete geometry, give the earlier coil radius , so . Its central magnetic field is approximately , its end value is , and at its axial magnetic field is still . The last point is outside the coil: finite length does not permit the zero-exterior conclusion of the infinite model. Off the axis, the magnetic field lines bend around to form the return field. A central axial value alone also does not determine the total magnetic flux through every turn of a short coil.
Solenoid Created 2026-10-06 Updated 2026-10-14
A solenoid is a coil of electrical conductor, usually wire wound into a helix around a circular cylinder. The same electric current flows through its successive turns. Each turn contributes a magnetic field; the superposition principle makes their axial contributions reinforce inside the coil. Curl the fingers of your right hand in the direction of the electric current around the turns: the thumb gives the interior magnetic field direction by the right-hand rule. Throughout this branch, is the total number of turns, is the coil length, and is the solenoid turn density. [ref].
The attraction of a long solenoid is a controllable, nearly uniform magnetic field over an interior working region: change the electric current to tune its strength, or reverse the electric current to reverse its direction. This makes it a useful setting for studying the Lorentz force, measuring magnetic flux, and constructing an inductor. Its geometry turns the many contributions from individual turns into the simple long-solenoid approximation. A real finite coil has end fields and leakage; its exterior magnetic field is not zero. The on-axis magnetic field of a finite solenoid below quantifies that difference.
Historically, the coil helped connect magnetic fields to electric currents. In his memoir on the mathematical theory of electrodynamic phenomena, Ampère modeled the interactions of magnets using the ends of solenoids in place of microscopic magnetic constituents. This was a route toward explaining magnetism by electric currents, rather than a modern microscopic account of magnetization. [ref]. The historical setting is documented by the [ref].