Solenoid Magnetic Field Calculator

Work out the magnetic field inside a long solenoid from its number of turns, length, current, and core permeability. It also gives the field in gauss, the field strength H, and the turns per metre.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Solenoid Magnetic Field Calculator

  1. Enter the number of turns in the coil and its length in metres.
  2. Enter the current flowing through the wire in amps.
  3. Set the core relative permeability to 1 for air, or a larger value for an iron or steel core.

Frequently asked questions

What is the formula for the magnetic field inside a solenoid?

For a long, tightly wound solenoid, B = μ0 × μr × N × I / L, where μ0 is 4π × 10^-7 T·m/A, μr is the relative permeability of the core, N is the number of turns, I is the current in amps, and L is the length in metres.

What is the unit of magnetic field strength?

The SI unit of magnetic flux density B is the tesla (T). One tesla equals 10,000 gauss. Field strength H is measured in amps per metre (A/m).

When does the ideal solenoid formula work well?

It is accurate when the length is much greater than the diameter of the coil, usually at least about 10 times, and when the field is measured near the middle of the coil. Near the ends the field is about half the central value.

What is relative permeability?

Relative permeability is how much a material concentrates magnetic field compared with a vacuum. Air is about 1, while soft iron can be several hundred to several thousand.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.