Magnetic Field Around a Current-Carrying Wire
Problem
Show the circular magnetic field lines around a long straight wire carrying current.
Explanation
A long straight wire carrying current 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 from the wire is:
where is the permeability of free space. Notice this is a falloff — slower than the of an electric field, because the wire extends infinitely along its length.
Step-by-Step Solution
Given: A wire carrying .
Find: The magnetic field magnitude at distances , , and .
Step 1 — At (1 cm).
The 's cancel:
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 (10 cm).
The distance grew by 10×, so the field shrinks by 10×:
Step 3 — At .
Another factor of 10:
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 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 parallel to the first at distance , the second wire feels a force per unit length:
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 of force between two parallel wires 1 m apart.
Answer: A wire carrying 10 A produces magnetic fields:
- 1 cm away: (0.2 mT, ~4× Earth's field)
- 10 cm away:
- 1 m away:
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 .
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
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.