PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewSchool

Electric Dipole Field (2D)

±q on axis: V heatmap, equipotentials, E field lines; formulas.

Launch Simulator
NewSchool

Ideal Op-Amp (feedback)

Inverting, non-inverting, buffer; sine or DC; optional rail clipping.

Launch Simulator
NewSchool

Van de Graaff Generator

Belt charges a dome; V = Q/C; stylized spark to ground when V_break is exceeded.

Launch Simulator
NewSchool

Kirchhoff's Laws (KCL & KVL)

3-node DC: junction divider + optional R∥V; hints, KCL/KVL, solved currents.

Launch Simulator
NewSchool

Plane EM Wave (vacuum)

E ⊥ B ⊥ k: sin(kz−ωt) fields, Poynting along z; ω = ck (c = 1).

Launch Simulator
NewSchool

DC Motor & Generator

Coil in B: motor V = IR + kω, generator E = kω into a load — same k, two modes.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Biot–Savart Law

Biot–Savart Law

The infinite straight wire uses the analytic azimuthal field B ∝ 1/r in the plane perpendicular to the current, with circular streamlines integrated along B. The circular loop sums many short current-element contributions to the z-component of B in the plane of the loop using the Biot–Savart cross-product rule; simulation constants absorb μ₀/(2π) and μ₀/(4π) into unity for relative plots.

Who it's for: Introductory magnetostatics after the generic magnetic-field sandbox; emphasizes explicit Biot–Savart summation for a loop.

Key terms

  • Biot–Savart law
  • magnetic field
  • steady current
  • straight wire
  • current loop

Biot–Savart

1 (rel.)
28
0.12
0.08

Wire uses the textbook infinite-wire formula in the plane perpendicular to the current. The ring integrates the Biot–Savart law over short segments (CCW current when viewed from +z); in-plane streamlines are only drawn for the wire (B lies in the x–y plane).

Shortcuts

  • •Move probe sliders to sample B at a point
  • •Ring mode sums many short current elements

Measured values

|B| at probe6.93375 (sim)
B_x-3.84615
B_y5.76923

How it works

The Biot–Savart law builds B from steady currents: an infinite straight wire has circular field lines in the perpendicular plane with magnitude B ∝ 1/r; a flat circular loop is modeled by summing many short current elements so you see how B_z varies in the plane of the loop (including the sign flip across the ring).

Key equations

dB = (μ₀/4π) I dl × r̂ / r²
Long wire: B = μ₀ I / (2π r) (tangential)
Sim units: μ₀/(2π) and μ₀/(4π) set to 1

Frequently asked questions

Why are there no field-line curves in ring mode?
In the plane of a flat loop, the modeled B field from the loop currents is perpendicular to that plane (only a z-component in this 2D slice), so there is no in-plane vector field to trace as streamlines; the heatmap shows |B_z| instead.
How does this relate to the Magnetic Field visualizer?
That page uses idealized dipole and wire models for interaction. Here the wire and loop are fixed geometries tied to textbook Biot–Savart formulas and discrete segmentation.