Solenoid and Toroid Magnetic Field
On this page
Direct answer
The magnetic field inside an ideal solenoid is uniform and equals B = μ₀nI, where n is the turns per unit length and I the current, while the field outside is nearly zero. For a toroid, Ampere's law gives B = μ₀NI/(2πr) at distance r from the axis, so the field varies across the core. Both results follow from Ampere's law applied to a suitable loop.
What you must remember
- Ideal solenoid: B = μ₀nI, with n = N/L turns per metre and I the current.
- Independence: the interior field does not depend on the coil's radius or on position along the axis, away from the ends.
- Outside field: nearly zero for an ideal solenoid, because the fields of the closely wound turns cancel outside the coil.
- End of a long solenoid: on the axis at an end, B = μ₀nI/2, half the interior value.
- Toroid: B = μ₀NI/(2πr), where r is the distance from the central axis, and the field is confined to the core.
- Toroid variation: B falls as 1/r across the core, and it is approximately μ₀nI when the coil's cross-section is small compared with r.
Deriving the solenoid field with a rectangle
A rectangular Ampere loop gives the interior field of a long solenoid. The argument needs only a long, closely wound coil whose field lies along its axis inside.
- Choose the rectangle: take a loop with one side of length L inside the solenoid, parallel to the axis, and the opposite side outside where the field is negligible.
- Evaluate the integral: the two short sides are perpendicular to B and contribute nothing, and the outer side has negligible field, so the integral is B × L.
- Count enclosed current: the loop links nL turns of the coil, each carrying I, so I_enc = nLI.
- Apply the law: B × L = μ₀nLI, which gives B = μ₀nI, independent of the chosen length L.
- Toroid loop: for a toroid, a circle of radius r inside the core has constant tangential B, so B × 2πr = μ₀NI and B = μ₀NI/(2πr).
Where the exam tries to catch you
Solenoid and toroid questions mostly test which quantity matters and which field is zero.
- Trap: thinking the solenoid field depends on coil radius or total turns N Correct: B = μ₀nI depends only on turns per unit length and current, so lengthening the solenoid at fixed n leaves B unchanged.
- Trap: taking the outside field as μ₀nI/2 Correct: the outside field of an ideal solenoid is nearly zero, and μ₀nI/2 is the value on the axis at an open end instead.
- Trap: applying the solenoid formula to a toroid Correct: the toroid field is μ₀NI/(2πr), which varies with r, so it is not uniform across the cross-section.
Frequently asked questions
What is the magnetic field at the end of a long solenoid?
The field on the axis at the open end of a very long solenoid is half the interior value, so B = μ₀nI/2. The field lines fan out at the end, which halves the axial field compared with the middle of the coil.
Why is the magnetic field outside an ideal solenoid nearly zero?
Outside an ideal solenoid, the fields from the closely wound turns cancel, so the external field of a long solenoid is negligible. The field is confined to the interior, which is why the outer side of the rectangular Ampere loop contributes nothing.
How does the magnetic field of a toroid vary across its core?
The toroid field is B = μ₀NI/(2πr) and falls as 1/r across the core, so it is strongest at the inner edge. For a toroid whose radius is much larger than the coil cross-section, the variation is small and B is approximately μ₀nI.
How many turns per metre give a field of 0.01 T at 1 A?
Rearranging B = μ₀nI gives n = B/(μ₀I). For B = 0.01 T and I = 1 A, n is about 8000 turns per metre, since μ₀ is about 1.26 × 10⁻⁶ T m A⁻¹.