Biot-Savart Law Calculator
Calculate magnetic fields from current-carrying conductors
About the Biot-Savart Law
The Biot-Savart law describes the magnetic field generated by a steady electric current. It is fundamental to understanding electromagnets, motors, and inductors.
Key Formulas:
- dB = (μ₀/4π)(Idl × r̂)/r²
- Straight wire: B = μ₀I/(2πr)
- Loop center: B = μ₀NI/(2R)
- Solenoid: B = μ₀NI/L
Constants:
- μ₀ = 4π × 10⁻⁷ T·m/A
- 1 Tesla = 10,000 Gauss
What Is the Biot-Savart Law?
The Biot-Savart law is the fundamental equation of magnetostatics, describing the magnetic field dB generated by an infinitesimal current element I·dl at a point in space. Discovered by Jean-Baptiste Biot and Félix Savart in 1820, it is the magnetic analog of Coulomb's law in electrostatics. The law states that dB = (μ₀/4π)(I·dl × r̂)/r² — the field is perpendicular to both the current direction and the vector pointing from the current element to the observation point, and its magnitude decreases as 1/r².
Unlike electric fields from point charges, magnetic fields from current distributions are inherently more complex because current must flow in closed loops (no magnetic monopoles). The Biot-Savart law integrates over the entire current path to give the total field. For simple geometries — straight wires, circular loops, solenoids, and toroids — the integration yields compact analytical formulas that this calculator implements directly.
Magnetic Field Formulas for Common Geometries
Each geometry has a specific formula derived from the Biot-Savart law:
Biot-Savart Law Derived Fields
Where:
- μ₀= Permeability of free space = 4π × 10⁻⁷ T·m/A
- I= Current in Amperes
- r= Distance from wire/radius (m)
- N= Number of turns
- L= Length of solenoid (m)
- R= Radius of loop or major radius of toroid (m)
Magnetic Field Reference Values
Magnetic fields span an enormous range — roughly 18-19 orders of magnitude in everyday experience:
| Source | Field Strength | Notes |
|---|---|---|
| Earth's magnetic field | 25-65 μT (0.25-0.65 G) | Varies with latitude |
| Fridge magnet | ~5 mT (50 G) | At surface |
| Neodymium magnet | ~1.3 T (13,000 G) | Strongest permanent magnets |
| MRI scanner | 1.5-7 T | Clinical to research |
How to Use This Calculator
- Enter Current: The driving current in Amperes. This is the primary input for all geometries.
- Select Geometry: Choose Straight Wire (infinite, field decreases as 1/r), Circular Loop (with optional axis distance and turns), Solenoid (uniform field inside, length and turns), or Toroid (field confined inside the donut shape).
- Enter Dimensions: Distance from wire (mm), loop radius (mm), solenoid length and turns, or toroid major radius and turns. All dimensions are in millimeters and converted internally.
- View Results: Magnetic field in Tesla and Gauss (1 T = 10,000 G), plus geometry-specific outputs: axial field for loops, end field for solenoids, dipole moment and inductance where applicable.
Real-World Applications
The Biot-Savart law is the foundation of electromagnet design. Every solenoid, relay, transformer, and electric motor relies on magnetic fields computed from this law. MRI machines use superconducting solenoids producing 1.5-7 T fields — the field homogeneity must be better than 1 part per million over the imaging volume, requiring precise Biot-Savart calculations during coil design. The LHC's bending magnets produce 8.3 T fields using 11,850 A of current through superconducting cables.
In wireless power transfer, Biot-Savart calculations determine the magnetic coupling between transmitter and receiver coils. Electric vehicle wireless charging (operating at 85 kHz with coil separations of 10-30 cm) requires careful field design to maximize efficiency while meeting safety limits for human exposure to magnetic fields. The same principle scales to milliwatts for phone chargers and to kilowatts for industrial automation.
Worked Examples
MRI Solenoid Design
Problem:
An MRI scanner solenoid has 10,000 turns over a length of 1.5 m, carrying 500 A. What is the magnetic field inside?
Solution Steps:
- 1Convert length to meters: L = 1.5 m
- 2Turns per meter: n = 10,000/1.5 = 6,667 turns/m
- 3B = μ₀nI = 4π×10⁻⁷ × 6,667 × 500 = 4.19 T
- 4In Gauss: 4.19 × 10,000 = 41,900 G
- 5Field at ends: B/2 ≈ 2.1 T
Result:
Central field = 4.19 T — a realistic clinical MRI field strength (most are 1.5-3 T, with research systems reaching 7 T).
Current Loop Magnetic Dipole
Problem:
A circular loop of radius 10 cm carries 10 A with 100 turns. Find the field at the center and the magnetic dipole moment.
Solution Steps:
- 1R = 0.1 m
- 2B_center = μ₀NI/(2R) = 4π×10⁻⁷ × 100 × 10/(2 × 0.1) = 6.283×10⁻³ T = 62.8 G
- 3Dipole moment: μ = NIA = 100 × 10 × (π × 0.01) = 31.42 A·m²
- 4Field on axis at x = 20 cm: B = μ₀NIR²/(2(R²+x²)^(3/2)) = 4π×10⁻⁷ × 100×10×0.01/(2×(0.01+0.04)^(1.5)) = 1.12×10⁻³ T
Result:
Center field = 62.8 G. The dipole moment of 31.4 A·m² is comparable to a small permanent magnet.
Power Line Magnetic Field
Problem:
A transmission line carries 1000 A. What is the magnetic field 10 m below the wire?
Solution Steps:
- 1r = 10 m
- 2B = μ₀I/(2πr) = 4π×10⁻⁷ × 1000 / (2π × 10) = 2×10⁻⁵ T = 20 μT
- 3This is comparable to Earth's magnetic field (~50 μT)
- 4At 50 m: B = 4 μT — well within typical exposure guidelines
Result:
At 10 m, B = 20 μT (0.2 G) — comparable to Earth's natural field. Regulatory limits for public exposure to power-line fields are typically 100-200 μT at 50/60 Hz.
Tips & Best Practices
- ✓1 T = 10,000 Gauss — Earth's field is ~0.5 Gauss, a fridge magnet is ~50 Gauss
- ✓The field inside an ideal solenoid is uniform — B = μ₀nI depends only on turns per unit length and current
- ✓For a toroid, the magnetic field is entirely confined inside the torus — ideal for inductors with minimal electromagnetic interference
- ✓Magnetic field from a wire decreases as 1/r — doubling the distance halves the field
- ✓The dipole moment of a current loop is μ = NIA — it determines the torque in an external magnetic field
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the Biot-Savart Law Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: University Physics
by Young & Freedman