Helmholtz Coil Calculator – Uniform Field at the Centre of a Coil Pair
Use this free Helmholtz Coil Calculator to find the magnetic field at the centre of a Helmholtz pair — two identical coils separated by exactly one radius, which produces a remarkably uniform field: B = (4/5)3/2 × μ0NI ÷ R ≈ 0.7155 μ0NI/R.
A single current loop makes a field that is strong near the wire and sagging in the middle — useful for some jobs, useless for precision work. Hermann von Helmholtz's insight, in the mid-nineteenth century, was that two identical loops facing each other can prop each other up: where the field of the left coil is falling away, the field of the right coil is rising to meet it, and at one special separation the two slopes cancel exactly. The result is a volume of space — roughly the size of the coils themselves — in which the magnetic field is the same in strength and direction to a fraction of a percent. This calculator finds the field at the centre of that volume from the three numbers that fix it: the turns on each coil, the current, and the radius.
The fields Helmholtz pairs produce are modest by magnet standards — typically microtesla to a few millitesla, far below an MRI scanner — but strength was never the point. The point is known-ness. Because the geometry is simple and exact, the central field can be calculated from first principles to high accuracy, with no calibration against another magnet. That makes a Helmholtz pair a primary standard: laboratories use it to calibrate magnetometers and Hall probes, to expose test samples to a precisely known field, and — run in reverse, so to speak — to cancel the Earth's field inside the apparatus and create a magnetically quiet room-within-a-room for sensitive experiments.
Everything about the pair's behaviour is in the proportions. The field grows in direct proportion to the turns and the current, and shrinks in inverse proportion to the radius, so a coil pair built twice as large needs twice the ampere-turns for the same field. And the uniformity is not a vague promise but a computable one: along the axis, the field at a quarter of a radius from the centre differs from the central value by only about 0.4%, and even at 0.3 R the error is under 1% — which is why experimenters happily place samples anywhere in the central third of the apparatus.
Formula
B = (4/5)3/2 × μ0 × N × I ÷ R • B in tesla (T), with μ0 = 4π × 10⁻⁷. The factor (4/5)3/2 ≈ 0.7155 appears when the field of two loops, each a distance R/2 from the centre, is added up — and the spacing is chosen so the field's variation cancels at the centre, giving an unusually flat, uniform field in the middle region.
The formula rearranges to solve for whichever quantity you are designing around: I = B × R ÷ (0.7155 × μ0 × N) for the current needed to reach a target field, N = B × R ÷ (0.7155 × μ0 × I) for the turns to wind at a chosen current, and R = 0.7155 × μ0 × N × I ÷ B for the radius a given winding would need. One warning hides in the symbols: N is the turns on each coil, not the total for the pair — the pair's field already counts both coils, which is exactly where the tidy (4/5)3/2 factor comes from.
| Symbol | Meaning | Units |
|---|---|---|
| B | magnetic field at the centre of the pair | tesla (T) |
| N | turns on each coil (the coils are identical) | — (a count) |
| I | current through each coil, same direction in both | amps (A) |
| R | coil radius — and also the coil separation | metres (m) |
| μ0 | permeability of free space, 4π × 10⁻⁷ | H/m |
Why the magic spacing works: two sagging fields that cancel each other's sag
The field along the axis of one loop is strongest in the plane of the loop and falls away on either side — mathematically, it has a maximum at the loop's centre, so near that point its curve is a shallow dome. Put a second loop a distance R away and look at the midpoint: each loop is contributing the field from a point R/2 along its own axis, where its dome has curved noticeably downward. The trick is that the two domes curve in opposite senses at the midpoint, and at exactly the spacing R their curvatures — the second derivative of the field — are equal and opposite, so the sum is flat to second order. The first error term that survives is fourth order, proportional to (z/R)⁴, which is why the flatness is so good: small displacements cost almost nothing.
Move the coils closer together and the centre becomes a peak, the two domes reinforcing each other's crowns; spread them apart and the centre sags into a dip, each dome falling away before the other can catch it. Only at separation R does the profile pass through flat. Numbers make the point concrete for a typical pair: along the axis the field is within about 0.4% of the central value at z = 0.25 R, within about 0.8% at z = 0.3 R, and only at z = 0.5 R — halfway to a coil — has it drifted by roughly 5%. Off-axis the story is similar, so the "uniform region" is usefully pictured as a sphere of radius about a third of R sitting at the centre.
How to use
- Enter the number of turns wound on each coil (both coils are identical) — not the total across the pair.
- Enter the current flowing the same way through both coils, in amps. If the coils are wired in series, this is just the supply current.
- Enter the coil radius in metres — remember the coils must also be separated by exactly this distance for the formula (and the uniformity) to hold.
- Click "Calculate" to get the central field in tesla, millitesla and microtesla, valid across the central region between the coils.
Worked examples
Example 1 — the standard laboratory pair. Each coil has N = 100 turns, carries I = 2 A, and has radius R = 0.15 m.
B = 0.7155 × (4π × 10⁻⁷) × 100 × 2 ÷ 0.15 = 0.7155 × 1.676 × 10⁻³ = 1.199 × 10⁻³ T = 1.199 mT.
That is about 24 times stronger than Earth's magnetic field (~50 µT) — and, unlike a single coil's field, it stays nearly constant across the central region, which is why Helmholtz pairs are used to calibrate sensors and cancel Earth's field in experiments.
Example 2 — more turns, gentler current. A pair with N = 200 turns per coil, I = 1.5 A and R = 0.20 m: B = 0.7155 × (4π × 10⁻⁷) × 200 × 1.5 ÷ 0.20 = 1.349 × 10⁻³ T ≈ 1.35 mT. Doubling the turns more than compensated for the lower current and larger radius — ampere-turns per metre of radius is the only combination that matters.
Example 3 — cancelling the Earth's field. How much current must a pair with N = 150 and R = 0.25 m carry to produce 50 µT, opposing the local Earth field? Rearranged: I = B × R ÷ (0.7155 × μ0 × N) = (50 × 10⁻⁶ × 0.25) ÷ (0.7155 × 4π × 10⁻⁷ × 150) = 0.0927 A ≈ 93 mA. A modest current buys a magnetically silent workspace — provided the pair's axis is aligned against the field component you want to cancel.
Example 4 — a small, strong pair. Compact coils of R = 0.05 m with N = 50 turns at I = 3 A: B = 0.7155 × (4π × 10⁻⁷) × 50 × 3 ÷ 0.05 = 2.698 × 10⁻³ T ≈ 2.70 mT. Small radius is powerful medicine — halving R doubles B — but the uniform volume shrinks with the coils, so the sample must shrink too.
Example 5 — Helmholtz pair versus a single coil. One coil alone with N = 100, I = 2 A, R = 0.15 m gives a centre field of μ0NI ÷ 2R = 0.838 mT. The pair gives 1.199 mT — about 1.43 times as much — because each coil contributes 0.599 mT at the midpoint rather than its full centre value, and, far more importantly, the pair's field is flat where the single coil's is already doming away.
Example 6 — a large demonstration pair. Lecture-demonstration coils with N = 250, I = 4 A and R = 0.40 m: B = 0.7155 × (4π × 10⁻⁷) × 250 × 4 ÷ 0.40 = 2.248 × 10⁻³ T ≈ 2.25 mT, uniform over a region big enough to hold a compass, a Hall probe and a student's hand all at once.
Helmholtz coils in real life
Magnetometer calibration. A sensor whose accuracy you intend to trust is placed at the centre of a Helmholtz pair and exposed to fields known from geometry alone — 0.1, 0.5, 1 mT — while its readings are recorded. Any disagreement is the sensor's error, measured against a standard that cannot drift.
Earth-field cancellation. Electron microscopes, atomic-physics experiments and spin-resonance rigs often need the Earth's ~50 µT gone. Three orthogonal Helmholtz pairs, one per axis, each carrying a small steady current like the 93 mA of Example 3, null the field throughout the central volume.
Compass and phone testing. The magnetometer in every smartphone is factory-tested in Helmholtz coils, which can reproduce the field at any point on Earth — and rotate it — so the compass software can be calibrated without leaving the lab.
Biomagnetic and materials experiments. Samples whose magnetisation is measured in a known applied field, from magnetic nanoparticles for medicine to paleomagnetic rock cores, sit in Helmholtz pairs because the applied field's value is beyond argument.
Spacecraft testing. Satellites carry magnetorquers and magnetometers that must work in Earth's field; large Helmholtz cages — sometimes metres across — simulate the orbital field on the ground so the attitude-control system can be exercised before launch.
Teaching laboratories. The classic undergraduate experiment measures the electron's charge-to-mass ratio by bending an electron beam in a Helmholtz field: the beam's radius gives B, and B is trusted because this formula provides it.
The anti-Helmholtz pair: same coils, opposite trick
Reverse the current in one coil and the geometry that produced perfect uniformity produces its opposite: the two fields now subtract at the centre, giving exactly zero field there, and grow linearly as you move away in any direction — a pure field gradient. For the Example 1 coils run anti-Helmholtz at 2 A, the gradient at the centre works out to about 9.6 × 10⁻³ T per metre. That may sound feeble, but to a cold atom with a magnetic moment it is a wall: atoms in the wrong spin state are pushed away from the zero point and held, oscillating, in a magnetic bowl with no material walls. This is the magneto-optical trap, the workhorse that first cooled atoms to millionths of a degree above absolute zero and made Bose–Einstein condensates routine. The same hardware, rewired, is either the flattest field in the laboratory or the emptiest point in it.
Cancelling the Earth's field
One of the pair's most useful tricks is subtraction. The Earth's field — about 50 µT, pointing down at an angle in most latitudes — is a nuisance background for experiments on magnetism, electron beams and biological samples. A Helmholtz pair (often one pair per axis, three pairs in all) driven with a steady current manufactures an equal, opposite field throughout its central volume, leaving a field-free region in mid-air. The currents are modest: a pair of radius 0.5 m with 50 turns per coil makes about 90 µT per amp along its axis, so roughly 0.56 A cancels the Earth's vertical component locally. Laboratories use such cages to test spacecraft magnetometers, to give control samples a true zero-field environment, and to zero the field inside magnetic shields during assembly — the uniformity this page is about, put to work as an eraser rather than a source.
Quick reference: central field per amp
| Turns per coil N | Radius R | B per amp of current |
|---|---|---|
| 100 | 0.10 m | 0.899 mT/A |
| 100 | 0.15 m | 0.599 mT/A |
| 200 | 0.20 m | 0.899 mT/A |
| 150 | 0.30 m | 0.450 mT/A |
| 300 | 0.50 m | 0.540 mT/A |
Read the table as a design rule: what matters is N ÷ R. The 100-turn, 0.10 m pair and the 200-turn, 0.20 m pair deliver identical fields per amp — the larger pair simply offers a larger uniform volume in exchange for more wire, more resistance and more heat at the same current.
Common mistakes
- Counting the turns of both coils together. N is per coil. Entering 200 for a pair of 100-turn coils doubles the predicted field — the formula's factor already includes the second coil.
- Setting the separation to the diameter, or to whatever fits the bench. The spacing must equal the radius. Any other gap still gives a field, but not this formula's value, and not a uniform one.
- Wiring the coils in opposition by accident. If the centre field measures near zero, one coil is connected backwards — you have built an anti-Helmholtz pair. Swap one coil's leads.
- Entering the radius in centimetres. R must be in metres. A 15 cm coil entered as "15" shrinks the predicted field a hundredfold.
- Ignoring heating at high current. B rises only in proportion to I, but the power the windings must shed rises with I². Doubling the current quadruples the heating — the usual practical limit on a pair's field.
FAQ
Why must the coil separation equal the radius?
At a spacing of exactly R, the field's second derivative at the centre is zero, so the field is flat to a very good approximation over a region about the size of the coils. A wider or narrower gap makes the centre field either dip or peak.
Does the current have to flow the same way in both coils?
Yes for the standard Helmholtz arrangement — the two fields add at the centre. If the currents are reversed in one coil (an "anti-Helmholtz" pair), the fields cancel at the centre and instead produce a strong field gradient, used in magneto-optical traps.
How can I get a stronger field?
B is proportional to N and I and inversely proportional to R, so more turns, more current or smaller coils all help. In practice the limit is usually heating: doubling the current quadruples the power the coils must dissipate.
How uniform is the field, honestly?
Along the axis it stays within about 0.4% of the central value a quarter-radius from the centre, and within about 1% at 0.3 R. For most calibration work that is far better than the sensor being calibrated.
Can a Helmholtz pair cancel the Earth's field completely?
One pair cancels only the component along its axis. Full cancellation needs three pairs at right angles, each trimming one component — a standard arrangement around electron microscopes and atomic-physics rigs.
What if my sample is bigger than the uniform region?
Different parts of it will sit in measurably different fields — up to about 5% off at half a radius along the axis. Either shrink the sample, enlarge the coils, or map the field across the sample's volume and correct for it.
Do the coils have to be circular?
The classic design is, and this formula assumes it. Square Helmholtz coils exist (used when flat access panels matter) but obey a different constant — do not use 0.7155 for them.
Why is there no iron core?
Deliberately. Air (effectively, free space) has an exactly known permeability, so the field follows from geometry alone. An iron core would multiply the field but make it depend on the iron's history and magnetisation — fatal for a calibration standard.
How accurate is the formula for real, thick windings?
Very good, provided R is measured to the centre of the winding bundle. Real coils have finite thickness; using the mean radius of the winding keeps the error well under a percent for typical builds.
Can I run the pair on AC?
Yes, at low frequencies the same formula gives the instantaneous field, and AC Helmholtz pairs are used to test sensors' frequency response. At higher frequencies the coils' inductance limits the current a given supply voltage can drive, and nearby metal distorts the field through eddy currents.