Toroid Magnetic Field Calculator – B = μ₀NI/(2πr) Inside a Ring Coil
Use this free Toroid Magnetic Field Calculator to find the field inside a doughnut-shaped coil (toroid), using B = μ₀NI ÷ (2πr), at the mean radius of the ring.
Formula
B = μ₀ × N × I ÷ (2πr) • B = field inside the toroid (T), μ₀ = 4π × 10⁻⁷ H/m, N = total turns, I = current (A), r = mean radius — the average of the inner and outer radii of the ring (m). The field runs in circles inside the core and is (ideally) zero outside it.
How to use
- Enter the total number of turns wound on the ring.
- Enter the current and the mean radius (measure to the middle of the ring's tube).
- Click "Calculate" for the field at that radius, in teslas and milliteslas.
Worked example
A toroid has N = 500 turns, carries I = 2 A, and has a mean radius r = 0.1 m.
B = μ₀NI ÷ (2πr) = (4π × 10⁻⁷ × 500 × 2) ÷ (2π × 0.1) = 2 × 10⁻³ T = 2.00 mT.
That is about 40 times the Earth's magnetic field, yet it stays almost entirely trapped inside the ring — which is why toroidal cores are used where stray fields would disturb nearby circuits.
FAQ
Is the field the same everywhere inside the toroid?
Not quite. B falls off as 1/r, so it is stronger near the inner edge of the ring and weaker near the outer edge. The formula gives the value at the mean radius, which is the standard single-number answer; for a slim ring the variation is small.
Why is there (almost) no field outside?
Each turn's field circles inside the ring and the contributions from all turns add up there. Outside, the fields from the near and far sides of the windings cancel. Ampère's law confirms it: a loop outside the toroid encloses no net current, so B ≈ 0.
Toroid or solenoid — which is better?
A toroid confines its field and barely leaks, but it is harder to wind and you cannot insert samples into a uniform region as easily. A solenoid leaks at its ends but gives a handy uniform field in its bore. Inductors and transformers often use toroids; electromagnets and MRI scanners use solenoids.