Magnetic Field Around a Current-Carrying Wire

April 12, 2026

Problem

Show the circular magnetic field lines around a long straight wire carrying current.

Explanation

A long straight wire carrying current II creates a magnetic field that forms concentric circles around the wire. The field's direction is given by the right-hand rule: point your right thumb along the current, and your fingers curl in the direction of the field.

The magnitude at distance rr from the wire is:

B=μ0I2πrB = \dfrac{\mu_0\,I}{2\pi r}

where μ0=4π×107  Tm/A\mu_0 = 4\pi \times 10^{-7}\;\text{T}\cdot\text{m/A} is the permeability of free space. Notice this is a 1/r1/r falloff — slower than the 1/r21/r^{2} of an electric field, because the wire extends infinitely along its length.

Step-by-Step Solution

Given: A wire carrying I=10  AI = 10\;\text{A}.

Find: The magnetic field magnitude at distances r=0.01  mr = 0.01\;\text{m}, 0.1  m0.1\;\text{m}, and 1  m1\;\text{m}.


Step 1 — At r=0.01  mr = 0.01\;\text{m} (1 cm).

B=μ0I2πr=(4π×107)(10)2π(0.01)B = \dfrac{\mu_0\,I}{2\pi r} = \dfrac{(4\pi \times 10^{-7})(10)}{2\pi(0.01)}

The π\pi's cancel:

=(4)(10)(107)2(0.01)= \dfrac{(4)(10)(10^{-7})}{2(0.01)}

=40×1070.02= \dfrac{40 \times 10^{-7}}{0.02}

=2×104  T=0.0002  T=2  gauss= 2 \times 10^{-4}\;\text{T} = 0.0002\;\text{T} = 2\;\text{gauss}

For comparison, Earth's magnetic field is about 0.5 gauss — so a typical wire at 1 cm produces a field 4× as strong as Earth's natural field.

Step 2 — At r=0.1  mr = 0.1\;\text{m} (10 cm).

The distance grew by 10×, so the field shrinks by 10×:

B=0.2×104  T=2×105  T=0.2  gaussB = 0.2 \times 10^{-4}\;\text{T} = 2 \times 10^{-5}\;\text{T} = 0.2\;\text{gauss}

Step 3 — At r=1  mr = 1\;\text{m}.

Another factor of 10:

B=2×106  T=0.02  gaussB = 2 \times 10^{-6}\;\text{T} = 0.02\;\text{gauss}

That's about 1/25th of Earth's field — barely detectable with sensitive instruments.

Step 4 — Determine the direction at a point above the wire.

If the current flows in the +z+z direction (out of the page in standard physics convention), point your right thumb upward. Your fingers curl counterclockwise when viewed from above.

So at a point directly to the east of the wire, the field points north. To the north of the wire, the field points west. And so on — circulating counterclockwise around the wire.

Step 5 — Force between two parallel wires.

If you put another wire carrying current II' parallel to the first at distance rr, the second wire feels a force per unit length:

F=μ0II2πr\dfrac{F}{\ell} = \dfrac{\mu_0\,I\,I'}{2\pi r}

If both currents flow in the same direction, the force is attractive. If they're antiparallel, repulsive. This is so reliable that the ampere was historically defined by it: 1 A is the current that produces 2×107  N/m2 \times 10^{-7}\;\text{N/m} of force between two parallel wires 1 m apart.


Answer: A wire carrying 10 A produces magnetic fields:

  • 1 cm away: B2×104  TB \approx 2 \times 10^{-4}\;\text{T} (0.2 mT, ~4× Earth's field)
  • 10 cm away: B2×105  TB \approx 2 \times 10^{-5}\;\text{T}
  • 1 m away: B2×106  TB \approx 2 \times 10^{-6}\;\text{T}

The field circulates counterclockwise as viewed when looking along the current direction (right-hand rule), forming concentric circles around the wire. The strength drops as 1/r1/r.

Try It

  • Adjust the current with the slider — the field grows linearly.
  • Watch the arrow direction flip when you make the current negative.
  • The concentric circles grow stronger near the wire and weaker far away.

Interactive Visualization

Parameters

10.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Magnetic Field Around a Current-Carrying Wire | MathSpin