
Physics II course sequence · Interactive lesson
The Biot-Savart law
Coulomb's law lets you build any electric field out of point charges. This is the magnetic counterpart, and it is stranger: each slice of current sends its field sideways, wrapping around itself. Learn to write one slice's contribution, then to add the slices up over a circuit that closes.
UPII-09.01 · Lesson 1 of 8 in this unit. Position is not a completion score.Build the model
Every scrap of current writes a field, and the recipe is a cross product.
The key idea
The Biot-Savart law gives the magnetic field contributed by a short piece of a current: its size falls as the inverse square of the distance and as sinθ, and its direction is the cross product of the element with the direction to the field point.
Example. A 2.0 mm element carrying 10 A contributes 0.80 μT at a point 5.0 cm away and broadside to it — out of the page when the current runs left to right and the point sits above it — and exactly nothing at a point straight ahead of it.
The complete physical model and assumptions
Cut a current-carrying wire into pieces short enough that the current keeps one direction along each. The Biot-Savart law says what one such piece, the current element I dl, contributes at a point a displacement r away: a vector of magnitude (μ₀/4π) I dl sinθ/r², pointing along dl × r̂, perpendicular both to the element and to the line joining it to the point. Two features carry the whole model. The inverse square is Coulomb's, inherited because this law is what Maxwell's equations reduce to for steady currents; the cross product is not, and it is why field lines curl around currents instead of radiating from them, and why nothing here plays the part of a point charge. Nothing is measurable until the pieces are added, because a steady current cannot begin or end anywhere: an isolated element is unphysical, and only the integral once around a complete circuit predicts a field you can put a probe in. That integral is the craft of the topic — choose a variable along the wire, write r, sinθ and the direction of dl × r̂ in terms of it, let symmetry kill whatever cancels, and integrate between real limits. The model stops where its assumptions do: currents steady or slow, wires thin compared with the distance, and no magnetic material adding currents of its own.
1Why the direction has to be a cross product
The electric field of a point charge points along r̂, straight out or straight in. A current's field does not, and the experiment that settled it is old: hold a compass near a straight wire and the needle sets itself across the wire, not towards it, reversing when you carry the compass to the other side. So the contribution of one element must be built from a vector that is perpendicular to the element and to the line joining it to the field point at the same time, and the cross product is the only product of two vectors that does that. Writing dB ∝ dl × r̂ then fixes everything: curl the right hand's fingers from dl round to r̂ and the thumb gives dB. Three consequences follow immediately. The field circles the element. An element sends nothing along its own line, forwards or backwards, because there dl × r̂ = 0. And moving the field point to the mirror-image position on the other side of the element's line reverses dB, which is why field lines close on themselves and no point in space acts as a magnetic source.
2The two factors that set the size
Strip the direction away and the magnitude is dB = (μ₀/4π) I dl sinθ/r², a product of three levers. It is linear in I and in dl, so doubling the current or taking twice as long a piece of wire doubles the contribution — that linearity is what lets the pieces be summed at all. It falls as 1/r², inherited from the same geometry that gives Coulomb's law its inverse square. And it carries sinθ, with θ measured at the element between dl and the line out to the field point. Put numbers on it: a 2.0 mm element carrying 10 A contributes 0.80 μT at 5.0 cm broadside, 0.40 μT at the same distance but 30° from the element's own direction, and 0.20 μT at 10 cm broadside. Distance is the sharper lever of the two — doubling r costs a factor of four, while swinging θ from 90° down to 30° costs only a factor of two.
3Setting up the integral
A real field comes from summing elements, so the skill is turning a picture into a definite integral. Fix the field point first and keep it fixed. Choose one variable that runs along the wire — a length x, an angle φ, whatever the geometry names — and write everything in it: the position of the element, the distance r to the field point, the angle θ, and the direction of dl × r̂. Then find the limits the real conductor imposes, and integrate. For a straight wire on the x axis with the field point a perpendicular distance d away, r = √(x² + d²) and sinθ = d/√(x² + d²), so the integrand becomes d dx/(x² + d²)³⁄². The substitution x = d tanα turns that into cosα dα/d, because dx = d sec²α dα and (x² + d²)³⁄² = d³ sec³α — an integral of one line. Check the dimensions of the integrand before you evaluate: (A)(m)/(m³) times μ₀/4π must come out in tesla.
4When magnitudes may be added, and when they may not
The integral is a vector integral, so before evaluating anything ask whether all the contributions point the same way. Sometimes they do. Every element of a straight wire, seen from a point off the wire, gives a dl × r̂ along the same normal, so their magnitudes add — that is why the straight-wire integral is so easy. Every element of a circular arc, seen from its centre, does the same. Often they do not, and then the honest move is to resolve dB into components and integrate each component separately, letting symmetry kill whichever sum cancels in pairs. On the axis of a circular loop, for instance, the perpendicular components from opposite elements cancel and only the axial component survives. Off that axis nothing cancels and the integral stops being elementary — it needs elliptic functions or a computer — so the working choices are numerical integration or, for the few geometries symmetric enough to allow it, Ampere's law in place of this integral altogether.
5An isolated current element is a fiction
Nothing in a laboratory is a lone current element. A steady current carries the same amperage through every cross-section of its path, so a piece of current that simply stopped at both ends would be dumping charge there at a constant rate, and the fields would no longer be static. The element contribution is therefore a bookkeeping device, not a prediction: it is not separately measurable, and two integrands that disagree element by element can still agree on every closed loop, which is exactly what happens when a term integrates to zero around a circuit. Practically, this means quoting a field as due to part of a circuit is a statement about a contribution, never about what a probe would read at that point. What you may test is the integral round the whole loop — including the leads and the return path, which beginners often draw and then forget to include.
6Where the model stops
Four assumptions sit inside the law. Currents must be steady, or slow enough that the field arrives effectively instantly: a 10 cm circuit has a light-crossing time of 0.33 ns, so at 30 MHz, where one period is 33 ns, the quasi-static picture is still good to about a per cent, and at 3 GHz it is worthless and radiation must be treated. The wire must be thin compared with the distance to the field point, otherwise the line idealisation fails and the volume form with J dV is the honest one. The medium must be empty of magnetic material, since a magnetised sample adds bound currents of its own and a linear medium replaces μ₀ by μ = μᵣ μ₀. And the moving-charge version is a low-speed limit only: the exact field of a fast charge is not a simple inverse square.
Key equations
Read the units, assumptions and limits before substituting.
The law for one current element
dB = (μ₀/4π) I dl × r̂ / r²
Magnitude and direction in a single line: dB is perpendicular to both dl and r̂, so the field wraps the element instead of pointing away from it.
dl is the element vector in m, r̂ the unit vector from element to field point, r in m, dB in TMagnitude of one element's field
dB = (μ₀/4π) I dl sinθ / r²
The working form. It vanishes at θ = 0° and 180° and peaks broadside, which is where a problem's geometry enters the arithmetic.
θ is the angle between dl and r̂, measured at the element; sinθ is dimensionless, so dB stays in TThe magnetic constant
μ₀/4π = 1.00 × 10⁻⁷ T m A⁻¹
Sets the scale, and the 10⁻⁷ makes it a head calculation: an element worth I dl = 1 mA m, seen broadside from 1 cm, contributes exactly 1 μT.
μ₀ = 1.2566 × 10⁻⁶ T m A⁻¹, measured since the 2019 SI revision and still 4π × 10⁻⁷ to nine figuresSuperposition around a closed circuit
B = (μ₀I/4π) ∮ (dl × r̂) / r²
The only form that predicts a measurable field. The contributions add as vectors, never as magnitudes.
The integral runs once round the complete circuit; r, r̂ and the direction of dl change with every elementCurrent spread through a volume
dB = (μ₀/4π) (J × r̂ / r²) dV
Use it when the conductor is too thick to pass as a line — a busbar seen from a few millimetres away, or the inside of a wire.
J is the current density in A m⁻² and dV a volume element in m³, so J dV replaces I dlField of one slowly moving charge
B = (μ₀/4π) q v × r̂ / r²
Shows where a current's field comes from: I dl is q v summed over the carriers. It fails as speeds approach c.
q in C, v in m s⁻¹, and the result holds only while v ≪ cInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Swing θ to 0° or 180° and the ring collapses to nothing, because an element sends no field along its own line. Then set θ = 90° and drag r from 3.0 cm to 6.0 cm to watch the ring shrink to a quarter.
Live results
- dB AT P
- 1083 nT
- ANGULAR FACTOR sin θ
- 0.866
- BROADSIDE MAXIMUM
- 1250 nT
- dB IF r DOUBLED
- 271 nT
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Current I: 10 A; Distance r to the field point: 4.0 cm; Angle θ from the element: 60 °
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The usual wreck is adding magnitudes. Students take the scalar form, integrate it, and forget that dB is a vector whose direction swings as the element travels along the wire. Magnitudes may be added only when every element's dl × r̂ points the same way — a straight wire seen from a point off it, the centre of a circular arc. At a right-angled bend, two elements contributing 1.7 μT each at the same point send perpendicular vectors, so the resultant is 2.4 μT, not 3.4 μT. The second error is geometric: θ is the angle between the element and the line to the field point, measured at the element, not at the field point and not from the perpendicular. For a 2.0 mm element carrying 10 A, seen from 5.0 cm at 25° to its own direction, measuring the angle from the perpendicular swaps sinθ for cosθ and returns 0.73 μT where 0.34 μT is right.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A straight wire carries 6.0 A. Take a 2.0 mm length of it as one current element. Find the magnitude of the field this element alone contributes at a point 5.0 cm from it, on a line making 35° with the element's own direction, and say which way that field points.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- The element is short against the distance, 2.0 mm against 5.0 cm, so one evaluation of dB = (μ₀/4π) I dl sinθ/r² will do rather than an integral.
- In SI: I = 6.0 A, dl = 2.0 × 10⁻³ m, r = 5.0 × 10⁻² m, θ = 35°, μ₀/4π = 1.0 × 10⁻⁷ T m A⁻¹.
- Numerator: (1.0 × 10⁻⁷)(6.0)(2.0 × 10⁻³)(sin 35°) = (1.2 × 10⁻⁹)(0.5736) = 6.88 × 10⁻¹⁰ T m².
- Divide by r² = 2.5 × 10⁻³ m²: dB = 2.75 × 10⁻⁷ T.
- Direction: dl × r̂ is normal to the plane that holds the element and the field point, so curl the right hand's fingers from dl round to r̂ and the thumb gives the side of that plane the field comes out of.
Answer. dB = 2.8 × 10⁻⁷ T, or 0.28 μT, perpendicular to the plane containing the element and the point.
MediumExample 2
A wire carrying 9.0 A travels in the +x direction along the x axis, turns a right angle at the origin and leaves along the +y axis. Treat the last 3.0 mm before the corner and the first 3.0 mm after it as two current elements, centred at x = −1.5 mm and y = +1.5 mm. Find the field the pair contributes at the point P on the z axis, 4.0 cm from the corner.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- Each element sits 1.5 mm off the axis through P, so r = √(0.0015² + 0.040²) = 0.040028 m for both — the offset lifts r by 0.07%, which matters less than the third figure.
- First element: dl = 3.0 mm along x̂ and sinθ = 0.040/0.040028 = 0.9993, so dB₁ = (1.0 × 10⁻⁷)(9.0)(3.0 × 10⁻³)(0.9993)/(0.040028)² = 1.684 × 10⁻⁶ T. Its direction, x̂ × r̂, is along −ŷ.
- Second element: the same numbers by symmetry, dB₂ = 1.684 × 10⁻⁶ T, but its direction ŷ × r̂ is along +x̂.
- The two are perpendicular, so add them as vectors: B = √(1.684² + 1.684²) μT = √2 × 1.684 μT = 2.381 × 10⁻⁶ T, along (x̂ − ŷ)/√2.
Answer. The pair contributes 2.4 μT, lying in the xy-plane 45° from +x towards −y. Adding the magnitudes would have given 3.4 μT, too large by 41%.
HardExample 3
A straight wire 12.0 cm long carries 8.00 A. Integrate the Biot-Savart law for the field at a point 3.00 cm from the wire on its perpendicular bisector, compare the result with the long-wire value μ₀I/2πd, and find how long the wire would have to be for the finite answer to come within 1% of it.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Lay the wire on the x axis with the field point at (0, d), d = 0.0300 m. The element at x has r = √(x² + d²) and sinθ = d/√(x² + d²), and every dl × r̂ points the same way out of the page, so magnitudes may be added. What comes out is this segment's contribution, with the rest of the circuit taken to be far enough away to add nothing here.
- dB = (μ₀I/4π) d dx/(x² + d²)³⁄², so B = (μ₀I d/4π) ∫ dx/(x² + d²)³⁄² from −L/2 to +L/2.
- The antiderivative is x/(d²√(x² + d²)), so between the limits the integral is (2/d²)(L/2)/√((L/2)² + d²). Call that (2/d²) sinαₘₐₓ, where α is the substitution angle with tanα = x/d, measured at the field point from the perpendicular and so not the θ of the law, and B = (μ₀I/2πd) sinαₘₐₓ.
- With L/2 = 0.0600 m and d = 0.0300 m: √(0.0600² + 0.0300²) = 0.06708 m, so sinαₘₐₓ = 0.0600/0.06708 = 0.8944.
- B = (2 × 10⁻⁷ × 8.00/0.0300)(0.8944) = (5.333 × 10⁻⁵)(0.8944) = 4.770 × 10⁻⁵ T, which is 10.6% below the long-wire 5.333 × 10⁻⁵ T.
- Within 1% needs sinαₘₐₓ ≥ 0.99, so (L/2)/d = tanαₘₐₓ ≥ 0.99/√(1 − 0.99²) = 7.02, giving L ≥ 14.0 d = 42.1 cm.
Answer. B = 4.77 × 10⁻⁵ T, or 47.7 μT, 10.6% under the long-wire estimate. The wire must reach about 42 cm, fourteen times the distance, before 'long' is worth 1%.
Quick check
Select an answer and explain it before checking.
Review & continue
The Biot-Savart law gives the magnetic field contributed by a short piece of a current: its size falls as the inverse square of the distance and as sinθ, and its direction is the cross product of the element with the direction to the field point.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.