Toroid Magnetic Field Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction to toroid magnetic field calculations

A toroid is a coil wrapped around a circular core, so the winding follows a closed magnetic path instead of a straight one. In an ideal toroid, most of the flux stays inside the ring, which is why toroids are a favorite choice when you want a strong interior field with very little external leakage. For points inside the core, Ampère’s law gives a compact relationship between the magnetic field strength B, the number of turns N, the current I, and the radius r.

This toroid calculator uses that relationship in both directions. Enter any three values, leave the fourth blank, and it will solve the missing quantity with the vacuum permeability constant μ0 = 4π × 10−7 T·m/A. That makes it useful whether you are checking a design, estimating a test setup, or back-solving an existing coil measurement.

How to use this toroid magnetic field calculator

  1. Decide which toroid 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 display the result in the output box.

For toroid calculations, units matter because the formula expects B in tesla (T), I in amperes (A), and r in meters (m). If your coil dimensions are in centimeters or millimeters, convert them before solving so the radius term matches the equation. The calculator does not guess mixed units, and it will ask you to correct the entry if you leave more than one blank or fill every field.

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

For an ideal toroid, Ampère’s law applied to a circular path inside the winding reduces to:

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

B = μ0 N I 2 π r

Here 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 toroid equation to solve for whichever variable is left blank.

The calculation assumes:

Worked example: magnetic field in a 500-turn toroid

Suppose a toroidal coil has N = 500 turns, carries I = 2 A, and has a mean radius of r = 0.05 m (5 cm). To find the internal magnetic field, 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

That substitution gives a field of about 0.004 T (4 mT). If you already know B and want to size the winding or current instead, leave the relevant field empty and use the same equation in reverse.

Limitations and practical notes for toroids

The ideal toroid model is a strong starting point, but real coils can differ. Use these notes when you interpret the result from this calculator:

Background: magnetic field in a toroid

A toroid is a ring-shaped coil of wire, and its field behavior is one of the clearest practical examples of Ampère’s law. Because the turns wrap continuously around the core, the interior field tends to reinforce while the exterior field largely cancels. That is why toroidal inductors and transformers are so popular when designers want a concentrated magnetic path with minimal stray flux. 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.

Toroidal coils show up in many practical designs. In electrical power systems, toroidal transformers deliver efficient voltage conversion with low audible hum. In audio equipment, they are preferred for their small magnetic signature, which helps keep nearby analog circuits quieter. In power electronics and radio-frequency designs, toroidal inductors keep flux largely inside the core, helping reduce EMI. In laboratory settings, toroidal magnets can guide charged particles along curved paths because their interior field is predictable and easy to model.

The table above 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 toroid 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

The table makes the same pattern visible in numeric form: increasing N or I raises B linearly, while increasing r lowers B because the field spreads around a larger circular path. In practical toroid designs, you also balance wire resistance, allowable temperature rise, available space, and core losses.

If you want to validate a toroid 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.