3D lab · Magnetic effects

Magnetic Field Around a Straight Wire (3D)

See the circular magnetic field lines around a current-carrying wire in 3D and measure B at any distance.

Last updated: 26 October 2026

Direct answer

See the circular magnetic field lines around a current-carrying wire in 3D and measure B at any distance.

Field lines are circles around the wire. Reverse the current and every arrow flips. The field at the yellow probe falls as 1/r.

Simulation

Try it

Magnetic Field Around a Straight Wire (3D)

Magnetic effects

Drag to rotate, two fingers or right-drag to pan, scroll or pinch to zoom. The toolbar has views, cutaway, measure and “show the maths”.

What's happening? Field lines are circles around the wire. Reverse the current and every arrow flips. The field at the yellow probe falls as 1/r.
Learn more

Study this lab with

Study

Watch and try

FAQs

Frequently asked questions

What is the magnetic field due to a long straight wire?

B = μ₀I/(2πr), directed along circles around the wire by the right-hand thumb rule.

What happens to B when the distance doubles?

It halves, because B is proportional to 1/r.

<link rel="stylesheet" href="/css/concepts-lab.min.css?v=20261027b">
WA✎
Sitemap