AP Physics 2 · Unit 12 · Magnetism and Electromagnetism
12.3 Magnetic fields of current-carrying wires
Calculate the field near a straight wire and describe the field patterns of wires, loops, and solenoids.
1/5A current-carrying wire is surrounded by circular field lines
- A current-carrying wire is surrounded by circular field lines
- The field strength falls with distance from the wire
- A loop gathers the field into a line through its center
- A solenoid creates a strong, nearly uniform field inside
- Wire shape changes where the field is strongest
- Check your recall
- Practice: 10 questions
Part 1 of 5: A current-carrying wire is surrounded by circular field lines
A compass placed beside a wire turns when the wire carries current. Moving the compass around the wire shows that the needle always points along a circle centered on the wire.
The field lines around a long straight wire are circles centered on the wire. They lie in planes perpendicular to the wire.
To find the direction, use the right-hand grip rule. Point your thumb along the direction of the current. Your curled fingers then show the way the field circles.
Key term
right-hand grip rule
The right-hand grip rule gives the field direction around a current: thumb along the current, curled fingers following the circling field.
Part 2 of 5: The field strength falls with distance from the wire
Close to the wire the field is stronger, and farther away it weakens. For a long straight wire, the strength is .
Here is the current and is the perpendicular distance from the wire. The constant is the permeability of free space.
The value of is . For a straight wire, this lets you find the field from the current and distance alone.
Doubling the current doubles the field. Doubling the distance halves it.
Worked example
Calculate the field near a wire
- Write the word equation: field = × current divided by × distance.
- Write the symbol equation: .
- Substitute: .
- Simplify: .
Answer: The field strength is .
Key term
permeability of free space
The permeability of free space is the constant relating current to the field it produces in a vacuum.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: A loop gathers the field into a line through its center
Bend a straight wire into a circular loop. The field still circles around each short piece of the wire. Inside the loop, the contributions from every piece point the same way, so they add.
Near the center, the field is roughly perpendicular to the plane of the loop. Use the grip rule again, but curl your fingers along the current. Your thumb then points along the field at the center.
One face of the loop behaves like a north pole, and the other like a south pole. A single loop therefore looks like a very short bar magnet. Far from the loop, its field pattern matches that of a bar magnet.
Part 4 of 5: A solenoid creates a strong, nearly uniform field inside
Stack many loops side by side and their fields add. A long coil of wire like this is a solenoid. Inside it, the field is strong, nearly uniform, and parallel to the axis.
Outside, the field is much weaker and looks like that of a bar magnet. One end acts as a north pole and the other as a south pole. Curl your fingers along the current to find the field direction inside.
More current or more turns per unit length gives a stronger field. An iron core strengthens it further, because its domains line up with the field.
Key term
solenoid
A solenoid is a long coil of wire with many closely spaced turns that produces a strong, nearly uniform field inside when it carries current.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: D · Worked explanation
Part 5 of 5: Wire shape changes where the field is strongest
Now compare the three shapes side by side. Each uses the same principle. Every bit of current makes a circling field, and the fields from different bits add. Shape matters because it sets how many bits of current lie near a given point.
Fields of different wire shapes
- Shape
- Straight wire
- Field pattern
- Circles around the wire
- Strongest or most uniform
- Close to the wire
- Shape
- Single loop
- Field pattern
- Passes through the loop and returns around it
- Strongest or most uniform
- At the loop’s center
- Shape
- Solenoid
- Field pattern
- Uniform inside, bar-magnet pattern outside
- Strongest or most uniform
- Inside, along the axis
A straight wire’s field spreads out in every direction around it, so it weakens quickly with distance. A solenoid concentrates the field inside its coil. That is why electromagnets use coils.
Check your recall[14 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Calculate[3 marks]
Calculate the magnetic field strength from a long straight wire carrying .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for using
- 1 mark for substituting , , and
- 1 mark for obtaining
- 2.Describe[2 marks]
Describe the pattern and direction of the magnetic field around a long straight current-carrying wire.
Show mark schemeHide mark scheme
Model answer
The field lines are circles centered on the wire, in planes perpendicular to it. The right-hand grip rule gives the direction: thumb along the current, fingers curling the way the field circles.
- 1 mark for stating that the field lines are circles centered on the wire
- 1 mark for using the right-hand grip rule to give the direction
- 3.Predict[2 marks]
Predict how the field strength changes when the distance from a straight wire triples and the current stays constant.
Show mark schemeHide mark scheme
Model answer
The field becomes one third as strong, because is inversely proportional to the distance .
- 1 mark for predicting that the field becomes one third
- 1 mark for linking this to being inversely proportional to
- 4.Describe[3 marks]
Describe the magnetic field of a solenoid inside and outside the coil.
Show mark schemeHide mark scheme
Model answer
Inside, the field is strong, nearly uniform, and parallel to the axis. Outside, it is weak and resembles the field of a bar magnet. The ends act like a north pole and a south pole.
- 1 mark for stating that the field inside is strong, nearly uniform, and parallel to the axis
- 1 mark for stating that the field outside is weak and like a bar magnet’s
- 1 mark for stating that the ends act like north and south poles
- 5.Explain[2 marks]
Explain why a single current loop behaves like a short bar magnet.
Show mark schemeHide mark scheme
Model answer
The field lines pass through the loop in one direction and return around the outside. One face then has lines leaving, like a north pole, and the other has lines entering, like a south pole.
- 1 mark for stating that the field passes through the loop and returns around the outside
- 1 mark for identifying one face as like a north pole and the other as like a south pole
- 6.Determine[2 marks]
Determine the direction of the field at a point to the right of a long vertical wire carrying current upward in the plane of the page.
Show mark schemeHide mark scheme
Model answer
The thumb points up along the current. At a point to the right, the curled fingers point into the page, so the field is into the page.
- 1 mark for applying the right-hand grip rule with the thumb along the current
- 1 mark for giving the direction as into the page

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumPredict[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardExplain[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation