Skip to content
LoveToCalc

Definition — what does that mean?

Magnetic field inside a solenoid

Wind a wire into a long coil and the field inside becomes strong and uniform. It depends on the turns per metre and the current, not on the coil's width.

In Swedish: Magnetfält i en solenoid

Magnetic field inside a solenoid

The relation

B=μ₀NIl

The flux density inside a long, tightly wound coil: the permeability of free space times the turns times the current, divided by the length. More turns per metre gives a stronger field.

Solve for

B≈0.0025T

B is approximately (1.257 times 10 to the power of minus 6 times (500 times 2)) divided by 0.5, is approximately (1.257 times 10 to the power of minus 6 times 1,000) divided by 0.5, is approximately 0.0013 divided by 0.5, is approximately 0.0025 T

Working4 steps

What the formula says

B is the flux density inside the coil in tesla, N the number of turns, I the current, l the length of the coil and μ₀ the permeability of free space, 1.256 637 061 27 · 10⁻⁶ N/A² (CODATA 2022, in the table of physical constants). N / l is the number of turns per metre, and that is what matters.

Holds inside a long, air-filled coil, well away from the ends, when the coil is much longer than it is wide.

Worked examples

Why the width does not matter

Inside a long coil the fields from all the turns add up to a nearly uniform field along the axis. A wider coil has longer turns, but each is further from the middle; the two cancel.

An iron core

Filling the coil with iron multiplies the field many times, which is how an electromagnet works. The formula above is for an air-filled coil; with a core, μ₀ is multiplied by the core’s relative permeability.

Common questions

How does this connect to induction? A changing current changes B, and so the flux through the coil’s own turns. That induces an EMF, which is what a coil’s self-inductance measures.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
μ₀BlNI0.0025·0.5500·21.257 × 10⁻⁶
NBlμ₀I0.0025·0.51.257 × 10⁻⁶·2500
IBlμ₀N0.0025·0.51.257 × 10⁻⁶·5002 A
lμ₀NIB1.257 × 10⁻⁶·500·20.00250.5 m
Bμ₀NIl1.257 × 10⁻⁶·500·20.50.0025 T

Last reviewed October 6, 2026 ·How pages are reviewed

ElectricityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.