Skip to content
Physics Medium #biot-savart#magnetic-field

Biot-Savart Law

Magnetic field from a current element - the inverse-square magnetic analog of Coulomb.

A free, animated biot-savart law you can read here or embed on any website, from Scrollchart.

Biot-Savart Law

Biot-Savart LawdB = (mu0/4pi) * I dl x r-hat / r^2 | field falls off as 1/r^2, direction from cross productwireI (current)dlrthetaPdBout of pagedB = (mu0/4pi) * I |dl| sin(theta) / r^2sin(theta) = 1 when dl perp. to r-hat (max field)0.5r0r01.5r02r02.5r03r000.250.50.75B0distance r from wire element|dB|Field magnitude vs. distance|dB| ~ 1/r^2Key quantitiesCurrent element I dlPosition vector rInduced field dBmu0 = 4pi x 10^-7 T m/ASuperposition: integrateall elements for total B.Infinite wire givesB = mu0*I / (2*pi*r).Biot-Savart (1820): integrate dB over entire circuit; Ampere\'s law is the symmetric shortcut for high-symmetry geometries

Current-carrying wire element dl with B-field contribution at point P. Cross-product geometry and 1/r^2 falloff.

Good for

  • Electromagnetism courses deriving B from first principles before Ampere's law
  • Engineering electromagnetics articles on solenoid and coil field design
  • MRI and magnetic sensor technology explainers

Source & accuracy

This biot-savart law is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Magnetic field generation from current elements

The Biot-Savart law describes how moving charges (electric current) create magnetic fields. Unlike electric fields that radiate outward from stationary charges, magnetic fields form closed loops around current paths. A straight wire carrying current creates concentric circles of magnetic field, with strength falling off inversely with distance. The law quantifies this precisely: the magnetic field at any point depends on the current magnitude, the orientation of the current element, and the square of the distance. This inverse-square relationship mirrors Coulomb's law for electric charges, revealing a deep parallel between electricity and magnetism.

Practical applications in electromagnetic devices

The Biot-Savart law forms the theoretical foundation for electromagnets, inductors, and transformers. By carefully arranging current paths (typically as coils), engineers concentrate magnetic fields in desired regions. More coils mean stronger fields, and the geometry of the coil determines the field pattern. This principle enabled the design of devices from medical MRI machines that generate massive uniform fields, to tiny inductors that filter signals in electronics. The law also explains why parallel wires carrying current in the same direction attract each other and those carrying opposite currents repel, a phenomenon that holds macroscopic current-carrying systems in equilibrium.

Embed this diagram

Add this animated biot-savart law to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated biot-savart law for any website.
Who uses it
Physics educators.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="biot-savart" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Biot-Savart Law" for my website?
Scrollchart provides "Biot-Savart Law" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a biot-savart law in WordPress or a static site?
Paste the HTML snippet from the Scrollchart diagram page into your WordPress post (in HTML/code view), your Webflow embed block, or directly into a static HTML file. No plugin is needed. The diagram loads from scrollchart.com and paints in as the reader scrolls.