Electricity & Magnetism

Magnetic Field (Solenoid)

B=μ0nIB = \mu_0 nI

Uniform magnetic field inside ideal solenoid.

Variables

B
Magnetic field
Field inside solenoid
In SI units: kg/(A·s²)
T
μ₀
Permeability
4π×10⁻⁷
In SI units: kg·m/(A²·s²)
Allowed values: greater than 0
H/m
n
Turn density
Turns per unit length
Allowed values: greater than 0
1/m
I
Current
Current in solenoid
A

Derivation

From Ampere's law with rectangular path.

Your notes

0/5000

Constants in this formula

μ₀
1.257 × 10⁻⁶. Measured (CODATA 2018).
H/m

Check value

Round inputs run through this page's calculator, with each constant at its tabulated value. Use it to test your own working or a rearranged form. It is a test case, not a real-world example.

  • μ₀ = 1.257 × 10⁻⁶ H/m (Permeability)
  • n = 2 1/m (Turn density)
  • I = 3 A (Current)

Result: B = 7.542 × 10⁻⁶ T

Other electricity & magnetism formulas with the same quantities

Where this formula is listed

Common questions

What is the Magnetic Field (Solenoid) formula?

Magnetic Field (Solenoid) is written B = μ₀nI. Uniform magnetic field inside ideal solenoid. It belongs to Electricity & Magnetism, under Magnetism.

What are the units in B = μ₀nI?

In SI units, B is magnetic field, measured in kg/(A·s²); μ₀ is permeability, measured in kg·m/(A²·s²); n is turn density, measured in 1/m; I is current, measured in A.

How is the Magnetic Field (Solenoid) formula derived?

From Ampere's law with rectangular path. The result is B = μ₀nI.