Magnetic Field of a Solenoid

Compute the magnetic field inside a long solenoid from turns per unit length n and current I using B = μ₀·n·I for electromagnet and coil design.

📐 计算公式
长直螺线管内部磁场(本页代码口径):B=μ₀×n×I(T,μ₀=4π×10⁻⁷ T·m/A、n 匝密度 匝/m、I 电流 A);联动量:B(mT)=B×10³、单位电流磁场=μ₀×n(T/A)、高斯值=B×10⁴(Gs)。校验:空值或非数值输入会提示并中止计算,不按 0 兜底;仅做非空与数值检查,不做范围校验。判据:无固定分级,理想螺线管内部磁场均匀,与匝密度、电流均成正比。

长螺线管内部磁场与单位长度匝数和电流成正比。

Standards & References

Item Standard / Source Key Point
Solenoid fieldAmpere's law; Classic electromagnetism (Griffiths, Electrodynamics)B = mu0*n*I with turns per length n
📌 计算说明
  • B = μ₀·n·I;n 为每米匝数。
  • 1000 匝/m、1 A 时约 1.26 mT。