Toroid Magnetic Field Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction

A toroid is a coil wound around a ring (often described as a “doughnut-shaped” core). When current flows through the windings, the magnetic field is largely confined to the core, which helps reduce stray magnetic fields and electromagnetic interference. For an ideal toroid (tightly wound, symmetric, and evaluated inside the core), Ampère’s law leads to a simple relationship between magnetic field strength B, number of turns N, current I, and radius r.

This page provides a single calculator that can solve for B, N, I, or r. Enter any three values and leave exactly one field blank; the calculator will compute the missing quantity using the standard vacuum permeability constant μ0 = 4π × 10−7 T·m/A.

How to use

  1. Choose which quantity you want to compute: B, N, I, or r.
  2. Fill in the other three fields with numeric values (decimals are allowed).
  3. Leave exactly one field empty.
  4. Select Compute Missing Quantity to see the result in the results box.

Units matter: enter B in tesla (T), I in amperes (A), and r in meters (m). If you have centimeters or millimeters, convert first (for example, 5 cm = 0.05 m). If you accidentally fill all four fields or leave more than one blank, the calculator will ask you to correct the inputs.

Formula (Ampère’s law for an ideal toroid)

For a circular Amperian loop of radius r inside the toroid, Ampère’s circuital law gives:

Formula: B = (μ_0 N I) / (2 π r)

B = μ0 N I 2 π r

Where B is magnetic flux density (tesla), N is the number of turns, I is current (amperes), and r is the radius from the toroid’s center to the point where the field is evaluated (meters). This calculator rearranges the same equation to solve for whichever variable is left blank.

Assumptions used by the calculator:

Worked example

Suppose you have a toroidal coil with N = 500 turns carrying I = 2 A, and you want the magnetic field at a mean radius of r = 0.05 m (5 cm). Leave the Magnetic Field B input blank and enter the other three values.

Using the formula:

Formula: B = ((4 π × 10 −7) N I) / (2 π r)

B = (4π×10−7) N I 2πr

Numerically, this is approximately 0.004 T (4 mT). If instead you measured B and wanted to find the required current, you would leave I blank and enter B, N, and r.

Limitations and practical notes

The ideal toroid model is a strong starting point, but real hardware can differ. Use these notes to interpret results responsibly:

Background: magnetic field in a toroid

A toroid is a coil of wire wound into a donut-shaped ring. Unlike a solenoid, whose field extends outward from its ends, a toroid confines its magnetic field almost entirely within its core. This confinement makes toroidal inductors and transformers highly efficient, minimizing electromagnetic interference with nearby circuitry. The magnetic field inside an ideal toroid is uniform along circular paths centered on the ring and is given by Ampère's law as B = μ0 N I 2 π r . Here N is the number of turns, I is the current through each turn, and r is the radial distance from the center of the toroid to the point where the field is evaluated.

Deriving the field expression uses Ampère's circuital law. By choosing a circular path of radius r inside the toroid and integrating the magnetic field around it, we obtain B · dl = μ0 N I . Because B is approximately constant along the chosen path and parallel to dl, the integral simplifies to B (2πr) = μ0 N I , yielding the familiar formula. Outside the toroid, the magnetic field ideally cancels because the net enclosed current is zero for loops that lie entirely outside the windings.

Real toroids deviate from the ideal due to finite core permeability, wire thickness, and spacing between turns. Nonetheless, the equation provides an excellent approximation when the winding is dense and the evaluation radius is within the core region. For a toroid with significant thickness, using the average radius r = rinner + router 2 often gives a good estimate.

Applications of toroidal coils span multiple disciplines. In electrical power systems, toroidal transformers provide efficient voltage conversion with minimal hum. In audio equipment, they are favored for their low magnetic leakage, preventing interference with sensitive circuitry. In power electronics and radio-frequency designs, toroidal inductors help control EMI by keeping flux largely inside the core. In laboratory settings, toroidal magnets can guide charged particles along curved paths, taking advantage of the predictable interior field.

The reference table below shows typical parameter combinations for an air-core (μ = μ0) estimate. Real cores can produce higher fields for the same N, I, and r.

Leave exactly one field blank to compute it from the others. The permeability μ0 is assumed to be 4π × 10-7 T·m/A.

Typical values table (air-core estimate)

Example combinations of turns, current, and radius with the resulting magnetic field (B) for μ = μ0.
Turns N Current I (A) Radius r (m) B (mT)
100 1 0.10 0.2
500 2 0.05 4.0
1000 0.5 0.03 3.3

These values illustrate the proportionalities in the formula: increasing N or I increases B linearly, while increasing r decreases B (inverse relationship). In practical designs, you also balance wire resistance, allowable temperature rise, available space, and core losses.

If you want to validate the model experimentally, wind a known number of turns around a toroidal form, drive a controlled current, and measure the field with a Hall probe placed in the core region. A plot of B versus I should be close to linear for an air-core toroid; curvature can indicate measurement issues, geometry effects, or (for magnetic cores) saturation.