Magnetic Field Solenoid
Enter turns per meter and current to compute the uniform magnetic field inside an ideal solenoid via B = μ₀nI.
Use the Magnetic Field Solenoid
Solenoid Parameters
Total wire turns wound on the solenoid.
Physical length of the winding.
n = N / L. Enter directly if known.
Current through the solenoid wire in amperes.
1 = air/vacuum; iron ~200–5000; ferrite ~100–10000.
Formula
B = μ₀ · μᵣ · n · I
μ₀ = 4π × 10⁻⁷ T·m/A | n = N / L
Results
Enter solenoid parameters and click Calculate.
Tesla (T)
SI base unit
Millitesla (mT)
10⁻³ T
Microtesla (μT)
10⁻⁶ T
Gauss (G)
CGS unit; 1 T = 10,000 G
Summary
This tool calculates the uniform magnetic field (B) inside an ideal, infinite solenoid using B = μ₀nI, where μ₀ is the permeability of free space (4π × 10⁻⁷ T·m/A), n is the number of turns per meter of length, and I is the current in amperes. You can enter turns and length separately, or supply n directly. Results are shown in Tesla, millitesla, microtesla, and Gauss.
How it works
- Enter the number of turns (N) and the solenoid length, or enter turns per meter (n) directly.
- Enter the current (I) flowing through the solenoid wire in amperes.
- Optionally enter a relative permeability (μᵣ) for a ferromagnetic core; default is 1 (air/vacuum).
- The tool computes n = N / L if N and L are given, then evaluates B = μ₀ · μᵣ · n · I.
- Results are displayed in Tesla, millitesla, microtesla, and Gauss.
Use cases
- Physics homework and exam preparation involving solenoid problems.
- Designing electromagnets for lab experiments or classroom demos.
- Estimating the field strength inside a relay or contactor coil.
- Comparing air-core vs. ferromagnetic-core solenoid fields.
- Verifying hand calculations with a quick sanity check.
- Teaching the proportional relationship between turns, current, and field.