The Biot-Savart law describes how electric currents generate magnetic fields. It gives you a mathematical way to calculate the strength and direction of the magnetic field produced by any current-carrying conductor, making it one of the core tools in electromagnetism.
This law connects electricity and magnetism by showing how moving charges create magnetic fields. You'll need it to understand electromagnetic devices, and it serves as a building block for Maxwell's equations.
Biot-Savart Law Fundamentals
The Biot-Savart law tells you exactly how to compute the magnetic field at any point in space due to a current flowing through a wire. It uses vector calculus to relate each tiny segment of current to the magnetic field it produces, then adds up all those contributions.
Definition and Formulation
The law expresses the magnetic field at a point as an integral over all the small current elements along a conductor:
Here's what each piece means:
- is the current through the conductor
- is a tiny vector segment of the wire, pointing in the direction of current flow
- is the unit vector pointing from the current element to the field point (where you're calculating )
- is the distance between the current element and the field point
- is the permeability of free space
The cross product is what makes the magnetic field perpendicular to both the current direction and the line connecting the current element to the field point. This is why magnetic field lines curl around wires rather than pointing radially outward like electric field lines.
Historical Context
- Jean-Baptiste Biot and Félix Savart developed this law in 1820, shortly after Hans Christian Oersted discovered that electric currents deflect compass needles.
- Their work predated Maxwell's unified electromagnetic theory by several decades.
- It was part of a wave of 19th-century discoveries linking electricity and magnetism.
Vector Nature of the Law
The Biot-Savart law is inherently a vector equation, so direction matters just as much as magnitude.
- Use the right-hand rule to find the field direction: point your thumb in the direction of current, and your fingers curl in the direction of the magnetic field.
- The superposition principle applies. If you have multiple current sources, calculate the field from each one separately and add them as vectors.
- For complex wire geometries, you'll need to set up and evaluate vector integrals, which often means choosing smart coordinates.
Magnetic Field Calculations
The real power of the Biot-Savart law is that it lets you calculate the magnetic field for any current configuration, as long as you can set up the integral. Symmetry and good coordinate choices make this much easier.
Point Charges vs. Current Elements
It helps to compare electric and magnetic fields side by side:
- A stationary point charge produces a radial electric field (Coulomb's law). The field lines point straight outward (or inward).
- A current element (moving charge) produces a magnetic field that circulates around the current. The field lines form closed loops.
- Both fields fall off as , but their geometries are fundamentally different.
Finite vs. Infinite Wire Segments
For a finite wire segment, you integrate the Biot-Savart law over the actual length of the wire. This integral depends on the angles subtended by the endpoints of the wire as seen from the field point.
For an infinite straight wire, the integration simplifies to a clean result:
where is the perpendicular distance from the wire. The field lines form concentric circles around the wire, with direction given by the right-hand rule. This is one of the most commonly used results from the Biot-Savart law.
Circular Current Loops
A circular loop of current produces a field that looks like a magnetic dipole (similar to a bar magnet). Along the axis of a loop with radius , the field at a distance from the center is:
At the center of the loop (), this simplifies to . Circular loops are the building blocks for solenoids and many electromagnetic devices.
Applications of Biot-Savart Law
Magnetic Fields of Common Configurations
- Straight wire: Circular field lines that decrease in strength as
- Circular loop: Dipole-like field, strongest at the center and along the axis
- Solenoid (helical coil): Nearly uniform field inside, weak dipole-like field outside
- Toroid (donut-shaped coil): Magnetic field confined almost entirely within the toroid, with negligible field outside
Helmholtz Coils
Helmholtz coils are two identical circular coils, each with turns and radius , placed exactly one radius apart (separation = ). This specific spacing produces a highly uniform magnetic field in the central region between the coils.
The field at the midpoint is:
These are widely used in labs when you need a known, uniform magnetic field for calibration or experiments.

Solenoids and Toroids
A solenoid is a tightly wound coil of wire. Inside a long solenoid, the field is approximately uniform and given by:
where is the number of turns per unit length. This is one of the simplest ways to create a strong, uniform field.
A toroid is a solenoid bent into a circle. The field inside is:
where is the total number of turns and is the distance from the central axis of the toroid. The field varies with inside the toroid but is essentially zero outside it.
Relationship to Other Laws
Ampère's Law vs. Biot-Savart Law
Both laws let you calculate magnetic fields from currents, but they're suited to different situations:
- Ampère's law () relates the circulation of the magnetic field around a closed loop to the enclosed current. It's most useful when the geometry has high symmetry (infinite wires, solenoids, toroids).
- Biot-Savart law directly calculates the field contribution from each current element. It works for any current configuration, but the integrals can get complicated.
If you have nice symmetry, reach for Ampère's law. If the geometry is irregular, Biot-Savart is your tool.
Connection to Maxwell's Equations
The Biot-Savart law can be derived from the Ampère-Maxwell equation (one of Maxwell's four equations) under magnetostatic conditions. It's fully consistent with the rest of Maxwell's framework, but it only applies when currents are steady and fields aren't changing with time.
Limitations and Assumptions
Steady Currents
The Biot-Savart law assumes that currents are constant in time. It does not account for:
- Time-varying currents that produce changing magnetic fields
- Electromagnetic radiation effects
- Retardation (the finite speed at which field changes propagate)
For slowly varying currents, the law still gives good approximations. But for AC circuits at high frequencies or radiating systems, you need the full Maxwell's equations.
Magnetostatic Conditions
The law also assumes no time-varying electric fields are present. This means it ignores the displacement current term that Maxwell added to Ampère's law. The magnetostatic approximation holds when the system's characteristic size is much smaller than the wavelength of any electromagnetic waves at the frequencies involved.
Experimental Verification
Historical Experiments
- Oersted (1820): Observed that a compass needle deflects near a current-carrying wire, establishing the link between electricity and magnetism.
- Ampère (1820s): Measured forces between parallel current-carrying wires, quantifying the magnetic interaction.
- Faraday (1831): Demonstrated electromagnetic induction, showing that changing magnetic fields produce electric fields.
- Weber and Kohlrausch (1856): Measured the ratio of electrostatic to electromagnetic units, finding it equaled the speed of light.
Methods of Measurement
- Hall effect sensors detect magnetic fields by measuring the voltage produced when charge carriers in a conductor are deflected.
- Fluxgate magnetometers measure field-induced changes in the magnetization of a core material.
- SQUIDs (Superconducting Quantum Interference Devices) offer extremely sensitive magnetic field detection.
- Nuclear magnetic resonance techniques provide high-precision field measurements.

Mathematical Techniques
Vector Calculus in Biot-Savart Law
The cross product is the central operation. Beyond that, you'll encounter:
- The curl operator, which relates current density to the magnetic field ()
- Stokes' theorem, which converts line integrals of into surface integrals of current density (this is how you get Ampère's law from the differential form)
- The divergence theorem, used to convert between volume and surface integrals
Integration Strategies
- Break the current distribution into infinitesimal elements .
- Write out and in terms of a single integration variable (often an angle or position along the wire).
- Choose coordinates that match the symmetry: cylindrical coordinates for straight wires, spherical for dipole-like fields.
- Integrate over the entire current distribution.
- Use the superposition principle to add contributions from separate current sources.
Symmetry Considerations
Symmetry is your best friend for simplifying these problems:
- If the current distribution has axial symmetry, the field can only depend on the distance from the axis.
- For highly symmetric cases (infinite wire, infinite solenoid), Ampère's law often gives the answer faster than Biot-Savart.
- Multipole expansions approximate the field far from a localized current distribution as a series of dipole, quadrupole, and higher-order terms.
Technological Applications
Magnetic Resonance Imaging (MRI)
MRI machines use superconducting coils to generate strong, uniform magnetic fields (typically 1.5 T or 3 T). The Biot-Savart law is used in the design of both the main magnet and the gradient coils that provide spatial encoding. Active shielding coils, also designed using these principles, minimize stray fields outside the machine.
Particle Accelerators
Bending magnets and focusing quadrupoles in accelerators like synchrotrons are designed using the Biot-Savart law. These magnets must produce precisely shaped fields to steer and focus charged particle beams traveling at near-light speeds.
Electromagnetic Devices
- Electric motors rely on forces between current-carrying conductors and magnetic fields.
- Generators use Faraday's law to induce currents in conductors moving through magnetic fields, but the fields themselves are designed using Biot-Savart principles.
- Transformers use changing magnetic fields to transfer power between circuits.
- Magnetic levitation systems use repulsive forces between current loops and induced currents.
Advanced Concepts
Biot-Savart Law in Different Media
In materials other than vacuum, you replace with the material's magnetic permeability . In ferromagnetic materials (like iron), can be thousands of times larger than , which is why iron cores dramatically strengthen electromagnets.
At interfaces between different media, the magnetic field components satisfy boundary conditions that determine how field lines bend when crossing the boundary.
Relativistic Considerations
One of the deeper insights in physics is that magnetic fields are a relativistic effect of electric fields. When charges move, length contraction and time dilation alter how electric fields appear to observers in different reference frames. What looks like a purely electric force in one frame can appear as a magnetic force in another. The Biot-Savart law captures this relationship in the non-relativistic limit.