The Biot–Savart law: magnetic fields from currents
Every electric current makes a magnetic field. The Biot–Savart law (said "bee-oh sah-VAR") tells you how strong that field is and which way it points, for any shape of wire.
The law
A tiny piece of wire (a short length of wire, pointing the way the current flows) carrying current creates a small magnetic field at a point a distance away:
- : the permeability of free space
- : current, in amperes (A)
- : distance from the wire piece to the point (m)
- : unit vector pointing from the wire piece to the point
To get the total field, you add up (integrate) the contributions from every piece of the wire. Like gravity, the field from each piece falls off as . Unlike gravity, the cross product means the field wraps around the current instead of pointing toward it.
Which way does the field point?
Use the right-hand rule: point your right thumb along the current, and your fingers curl the way the magnetic field circles the wire.
Results you'll use most
Doing the integral for common shapes gives formulas you can use directly. These give the field's magnitude , and the right-hand rule gives its direction.
Long straight wire
Here is the perpendicular distance from the wire. The field gets weaker as , not , because the wire is long.
Center of a circular loop
For a coil of tightly wound turns, multiply by .
Inside a long solenoid
where is the number of turns per metre. (This one usually comes from Ampère's law, which gives the same answer more easily for very symmetric shapes.)
Worked example: field near a wire and inside a loop
A long straight wire carries . What's the magnetic field from it? And if the same current flows around a single loop of radius , what's the field at its center?
- 1
- 2
The wire's field is about , or . That's about the same as Earth's magnetic field (roughly 25 to 65 ), which is why a compass near a current-carrying wire swings. The loop gives about at its center.
What is a tesla in base units?
Newtonpad shows the answer above as . That's exactly a tesla. From the magnetic force on a moving charge, , so . Seeing the base units is a useful check: if your answer came out in anything else, something in the setup went wrong.
Common mistakes
- Using for a loop or leaving it out for a wire. Wire: . Loop center: .
- Distances in centimetres. Convert to metres: 2 cm is 0.02 m.
- Wrong value of . It's , not . That is , which appears in the full Biot–Savart law.
- Using for the radius in Newtonpad. is the gas constant there, so use a lowercase .
Try your own numbers
Open the example, double the distance from the wire, and watch the field drop by half. Newtonpad already has built in, so you can type it straight into your equations.
More guides
- Projectile motionRange, peak height and time of flight, and why 45° goes farthest.
- Newton's second law (F = ma)Net force, free-body diagrams, friction and inclines.
- Kinematic equationsThe four constant-acceleration equations and how to pick one.
- Kinetic and potential energy½mv², mgh, and energy conservation on a roller coaster.