← Glossary
Biot-Savart law: formulas, examples and activities

Biot-Savart Law

The Biot-Savart law gives the magnetic field produced at a point by an electric current. Each short piece of wire carrying the current I contributes to the field in proportion to I and to the inverse square of the distance; all these contributions are then added up. A direct consequence: at any point, the field produced by a circuit is proportional to the current flowing through it. The law is used to calculate the field of a wire, a loop or a coil.

Discover FizziQ

How to measure it in class

FizziQ’s magnetometer measures the three components of the magnetic field (Magnetometer X, Y, Z) in microteslas. Placed in front of a coil carrying a direct current, it shows that the field is proportional to the current.

Steps:

  • Connect a coil to an adjustable DC power supply, with a multimeter in series to read the current.
  • Lay the smartphone in front of the coil, its long side (Y axis) lined up with the coil’s axis, and do not move it for the whole series of readings.
  • Open the magnetometer in FizziQ and display the Y component of the field.
  • With the current off, note the reading: it is the projection of the Earth’s field and other background fields, to be subtracted from every measurement.
  • Increase the current in regular steps (0.1 A, 0.2 A, 0.3 A…) and note the field each time.
  • Plot B against I in the experiment notebook and check that you get a straight line through the origin.
  • If the readings stop rising while the current keeps increasing, the sensor is saturating: move the phone slightly away or reduce the current.

Scientific activities on this topic

  • Biot-Savart law: a coil - check that the field produced by a coil is proportional to the current, using the smartphone’s magnetometer.

Possible extension: with the current fixed, move the phone along the coil’s axis and record the field every centimetre, then compare the measured fall-off with the formula for the field on the axis of a loop.

Learn more

A little history. In July 1820, Hans Christian Ørsted published his observation that an electric current deflects a compass needle. A few months later in Paris, Jean-Baptiste Biot and Félix Savart measured the field around a long straight wire by timing the oscillations of a magnetized needle at different distances: the field is inversely proportional to the distance from the wire. Laplace then derived the general expression, valid for any current element, which is why it is sometimes called the Biot-Savart-Laplace law.

What the law says. A short element of wire of length dl carrying the current I produces, at distance r, a small field dB perpendicular both to the wire and to the direction of the point considered. Its magnitude is (µ₀ / 4π) × I × dl × sin(θ) / r², where θ is the angle between the wire and that direction. The total field is obtained by adding up (integrating) the contributions of every element of the circuit. Since I is a factor in every contribution, it is a factor in the total field: doubling the current doubles the field, wherever you measure it.

The classic cases. The calculation gives simple formulas for a few shapes. Around a long straight wire, the field falls off as 1/d. At the centre of a circular loop, it equals µ₀I / (2R). On the axis of a loop it drops quickly as you move away: far from the loop it varies as 1/z³, like the field of a magnet. A flat coil of N turns multiplies these values by N. Inside a long solenoid the field is almost uniform and equals µ₀nI, where n is the number of turns per metre; at the open end, on the axis, it is only half that.

What the smartphone actually measures. The sensor sits somewhere inside the phone, often a few centimetres from the edge, at a position that is not precisely known. In front of the coil it therefore reads a much weaker field than at the centre, and the slope of B against I is not µ₀n. The proportionality between B and I is what confirms the law, not the value of the slope. A smartphone magnetometer has a resolution of about 0.1 to 0.3 µT and, depending on the model, saturates somewhere between about 1 and 5 mT.

Orders of magnitude. Earth’s field in France: about 48 µT. Wire carrying 1 A: 20 µT at 1 cm, 4 µT at 5 cm. Teaching solenoid with 200 turns over 20 cm, carrying 1 A: 1.26 mT at the centre. MRI scanner: 1.5 to 3 T, produced by superconducting coils carrying hundreds of amperes.

Formula

Differential form of the Biot-Savart law:

dB = (µ₀ / 4π) × I × dl × sin(θ) / r²

where:

  • dB: field produced by the current element (T)
  • µ₀: vacuum permeability, µ₀ ≈ 4π × 10⁻⁷ T·m/A
  • I: current (A)
  • dl: length of the wire element (m)
  • r: distance from the element to the point considered (m)
  • θ: angle between the wire element and the direction of the point

Long straight wire, at distance d:

B = µ₀ × I / (2π × d)

Centre of a flat coil of N turns of radius R:

B = µ₀ × N × I / (2R)

On the axis of that coil, at distance z from its centre:

B(z) = µ₀ × N × I × R² / (2 × (R² + z²)^(3/2))

Inside a long solenoid with N turns over a length L:

B = µ₀ × (N / L) × I

Application examples

  • Long wire carrying 1 A: B = 2 × 10⁻⁷ × 1 / 0.01 = 2 × 10⁻⁵ T, i.e. 20 µT at 1 cm from the wire, comparable to the Earth’s field.

  • Flat coil of 100 turns, radius 5 cm, carrying 0.5 A: 628 µT at the centre, 222 µT on the axis at 5 cm, 56 µT at 10 cm and 9 µT at 20 cm. The field drops by a factor of 70 between the centre and 20 cm.

  • Solenoid with 200 turns over 20 cm: n = 1000 turns per metre, so B = 1.26 mT per ampere at the centre, and about 0.63 mT per ampere at the open end.

  • Helmholtz coils, two identical coils separated by a distance equal to their radius, produce an almost uniform field between them: they are used to calibrate magnetometers.

  • A household power cable hardly disturbs a compass: the outgoing and return currents, very close together, produce opposite fields that almost cancel.

FAQ

Q: What is the difference between the Biot-Savart law and Ampère’s law? A: Both describe the field produced by currents. The Biot-Savart law can calculate the field for any circuit by adding up contributions. Ampère’s law is quicker, but only gives the field directly in highly symmetric situations, such as an infinite wire or a long solenoid.

Q: Does the field of a coil follow a 1/d² law? A: No. The 1/r² law applies to each small current element. For a whole circuit the contributions add up, and the fall-off depends on the shape: 1/d around a long wire, 1/z³ far from a loop or coil.

Q: Why subtract the reading taken with no current? A: The magnetometer measures the total field, which includes the Earth’s field and fields from nearby objects. As long as the phone does not move, this contribution stays constant: subtracting it isolates the field of the coil.

Q: Why is my measured slope smaller than µ₀N/L? A: µ₀N/L gives the field at the centre of a long solenoid. The phone’s sensor sits outside, in front of the coil, where the field is at best half as strong and falls quickly with distance.

Q: Does the direction of the current matter? A: Yes. Reversing the current reverses the field: the measured component changes sign. The right-hand rule gives the direction of the field from the direction of the current.

Teslameter - Magnetometer - Earth’s Magnetic Field - Magnetic Field of a Magnet - Electromagnetic Induction - Linear Regression - Compass

Explore FizziQ

Discover all the science experiments you can do with your smartphone.