Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Physics
  3. /Magnetism Calculators
  4. /Biot-Savart Law Calculator

Biot-Savart Law Calculator

Last updated: April 5, 2026

The Biot-Savart Law Calculator computes the magnetic field contribution dB from a current-carrying conductor element. The foundational electromagnetism tool for determining magnetic fields from arbitrary current geometries — used in electric motor design, MRI coil engineering, and PCB EMI analysis.

Calculator

Results

Magnetic Field Contribution

0.000002

T

Magnetic Field Contribution

2

uT

Magnetic Field Contribution

0.02

G

Infinite Straight Wire Field

0.00002

T

Infinite Straight Wire Field

20

uT

Angular Factor

1

Geometry Factor dl/r^2

4

1/m

Results

Magnetic Field Contribution

0.000002

T

Magnetic Field Contribution

2

uT

Magnetic Field Contribution

0.02

G

Infinite Straight Wire Field

0.00002

T

Infinite Straight Wire Field

20

uT

Angular Factor

1

Geometry Factor dl/r^2

4

1/m

In This Guide

  1. 01The Biot-Savart Law Formula
  2. 02Key Integrated Results from the Biot-Savart Law
  3. 03Applications: Motors, Transformers, and MRI
  4. 04Biot-Savart vs. Ampere's Law: When to Use Each

Every electromagnet, electric motor, MRI coil, and magnetic field sensor ultimately traces its design to the Biot-Savart Law — the equation that calculates the magnetic field contribution from each infinitesimal element of a current-carrying conductor. While Ampere's Law is simpler when geometric symmetry exists, the Biot-Savart Law is the general tool for calculating magnetic fields from any current distribution without symmetry constraints. The Biot-Savart calculator computes the differential field element dB from your conductor element specifications.

The Biot-Savart Law Formula

The differential magnetic field dB produced by a current element I dl at a field point located distance r away, where θ is the angle between the current element direction and the displacement vector r̂:

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

where μ₀ = 4π × 10⁻⁷ T·m/A (permeability of free space), I = current (amperes), dl = length of conductor element (meters), r = distance from element to field point (meters), θ = angle between the conductor element direction and the displacement vector from element to field point. Units of dB: tesla (T). The direction of dB is perpendicular to both the current direction and the displacement vector, given by the right-hand rule (or cross product dl × r̂). Use this online calculator for any current element configuration. The magnetic field calculator applies Ampere's Law for symmetric configurations.

Key Integrated Results from the Biot-Savart Law

By integrating the Biot-Savart differential over complete conductor geometries, standard results emerge:

  • Infinite straight wire: B = μ₀I / (2πr), where r is perpendicular distance from wire — derived by integrating over all elements from −∞ to +∞
  • Finite wire, at point perpendicular to midpoint: B = μ₀I(sin α₁ + sin α₂) / (4πr), where α₁ and α₂ are angles to the ends
  • Circular current loop, on axis at distance x from center: B = μ₀IR² / (2(R² + x²)^(3/2)), where R is loop radius; at center (x=0): B = μ₀I/(2R)
  • Solenoid (n turns per meter, length L >> radius): B ≈ μ₀nI inside the solenoid — the basis for electromagnet design

Applications: Motors, Transformers, and MRI

Biot-Savart calculations underlie the design of:

  • Electric motors: the torque on a current-carrying coil in an external magnetic field; optimizing coil geometry for maximum torque-to-current ratio requires integrating Biot-Savart over the coil geometry
  • MRI gradient coils: the spatial encoding gradients in MRI scanners require precisely shaped magnetic fields (linear gradient in a specific direction); Biot-Savart integration over optimized coil geometries is used to design gradient coils with the required field homogeneity specifications
  • Printed circuit board design: current-carrying PCB traces produce magnetic fields that can interfere with nearby sensitive components; Biot-Savart calculations predict EMI from trace geometry

The magnetic force calculator and magnetism calculators provide complementary electromagnetic design tools.

Biot-Savart vs. Ampere's Law: When to Use Each

Both laws describe magnetic fields from currents, but apply in different situations. Ampere's Law (∮B·dl = μ₀I_enc) is a closed-form integral equation valid for all static fields, but only practically useful when the magnetic field has the same magnitude along an Amperian loop by symmetry — infinite solenoids, infinite wires, toroidal coils. The Biot-Savart Law applies to any geometry without symmetry requirements, but requires evaluating a volume or line integral that may be complex. The analogy is exact to Coulomb's Law vs. Gauss's Law in electrostatics: Gauss's Law is far simpler for symmetric charge distributions; Coulomb's Law handles any distribution. For finite wires, current loops of arbitrary shape, or real electromagnet coils, Biot-Savart is typically the only practical approach.

Visual Analysis

How It Works

Enter the current I (amperes), conductor element length dl (meters), distance r from the element to the field point (meters), and angle θ between the current direction and the displacement vector (degrees). The calculator computes dB = (μ₀/4π) × I × dl × sin(θ) / r², with μ₀ = 4π × 10⁻⁷ T·m/A. The result gives the magnitude of the magnetic field contribution; direction is perpendicular to both the current direction and displacement vector (right-hand rule).

Understanding Your Results

dB is the magnetic field contribution from the specified wire element at the given distance and angle. For a complete conductor, you would integrate (sum) such contributions over the entire wire length. B for Infinite Wire provides the exact analytical result for a straight infinite wire at perpendicular distance $$r$$, useful as a benchmark. The field in Gauss is also shown (1 T = 10,000 Gauss) for laboratory-scale applications where Gauss is a more convenient unit.

Worked Examples

Wire Segment at 5 cm Distance

Inputs

I5
dl0.01
r0.05
theta90

Results

dB0.000002
dB gauss0.02
B infinite wire0.00002

A 1 cm segment carrying 5 A produces dB = 2 μT at 5 cm (θ = 90°). The infinite wire formula gives B = 20 μT at the same distance.

Large Current at Close Range

Inputs

I100
dl0.005
r0.01
theta90

Results

dB0.0005
dB gauss5
B infinite wire0.002

A 100 A current at 1 cm distance: dB = 0.5 mT from a 5 mm element. The infinite wire field is 2 mT — quite strong and easily measured.

Frequently Asked Questions

The Biot-Savart law gives the magnetic field contribution dB from an infinitesimal current element I dl: dB = (μ₀/4π) × I dl × r̂ / r², where r̂ is the unit vector from the current element to the field point. It is the magnetic analog of Coulomb's law for electric fields. Use the Biot-Savart law when: the current geometry lacks sufficient symmetry for Ampere's law; you need the field at a specific point from a finite wire or loop; designing magnets or coils with specific field requirements. Ampere's law is simpler for infinite wires, solenoids, and toroids but requires high symmetry. For all other geometries — L-shaped conductors, rectangular loops, PCB traces — Biot-Savart is the practical tool.
The sin θ factor in the Biot-Savart law reaches its maximum value of 1 when θ = 90° — when the displacement vector from the current element to the field point is perpendicular to the current direction. This geometric maximum makes physical sense: the magnetic field from a current element is purely transverse (perpendicular to the current); a field point directly to the side of the current element (θ = 90°) experiences maximum field because the cross-product dl × r̂ is at its maximum. When θ = 0° or 180° (the field point is directly ahead of or behind the current element along its direction), sin θ = 0 and dB = 0 — the current element contributes zero field to these points, which explains why the field along the axis of a long straight wire is zero at points on the wire's extended line.
Ampere's law (∮B·dl = μ₀I_enc over a closed Amperian loop) is not a separate physical law but a consequence of the Biot-Savart law that emerges when integrated over all current sources. They are equivalent formulations of magnetostatics, just as Coulomb's law and Gauss's law are equivalent in electrostatics. Ampere's law is simpler when the system has high symmetry (the field has constant magnitude along a path), making the line integral trivial. For an infinite straight wire: Ampere's law gives B = μ₀I/(2πr) in one step; arriving at the same result from Biot-Savart requires a definite integral over the infinite wire. For no-symmetry geometries, Ampere's law provides no computational advantage — Biot-Savart integration is the only approach.
For a circular loop of radius R carrying current I, every element dl is at distance R from the center, and the angle between dl and the displacement vector r̂ is always 90° (the displacement vector points radially inward, perpendicular to the tangential current direction). Therefore sin θ = 1 for every element, and the total field at the center: B = (μ₀/4π) × I × (2πR) × sin(90°) / R² = μ₀I/(2R). For a 1 A current in a 10 cm loop: B = 4π × 10⁻⁷ × 1 / (2 × 0.1) = 6.28 × 10⁻⁶ T = 6.28 μT. This is approximately 100× weaker than Earth's magnetic field. MRI scanner main coils generate 1–7 T by using superconducting coils with thousands of turns and very high currents.
The factor μ₀/(4π) = 10⁻⁷ T·m/A appears in the Biot-Savart law as the magnetic coupling constant in SI units. μ₀ = 4π × 10⁻⁷ T·m/A is the permeability of free space, defining the strength of magnetic fields produced by currents in vacuum. The 4π factor arises from the spherical geometry of field propagation (as in Coulomb's law with ε₀), producing a 'rationalized' SI system where factors of 4π appear explicitly in the laws rather than being hidden in the constants. In Gaussian units (older system still used in some physics), the factor is 1/c² (where c = speed of light), highlighting the electromagnetic/magnetic field unification. The 2019 SI redefinition changed μ₀ from its exact value of 4π × 10⁻⁷ to an experimentally determined near-exact value — a change of less than 1 ppm with no practical significance.
The Biot-Savart law in the form described here is strictly valid only for static (DC) currents in magnetostatics. For time-varying currents, the full Maxwell equations are required, and the Biot-Savart law is replaced by the Jefimenko equations (the time-retarded potentials version). Practically: for currents varying slowly compared to the time for electromagnetic fields to propagate across the system (quasi-static approximation — valid when the system size L << c/f, where c is the speed of light and f is the frequency), the static Biot-Savart law gives an excellent approximation. For a 60 Hz power system with L = 1 m: c/f = 5,000 km >> 1 m — the quasi-static approximation is perfectly valid. For GHz-frequency RF circuits where L approaches λ/10, full electromagnetic wave analysis is required.

Sources & Methodology

Griffiths, D.J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press. Hayt, W.H., Buck, J.A. (2019). Engineering Electromagnetics, 9th ed. McGraw-Hill. Jackson, J.D. (1999). Classical Electrodynamics, 3rd ed. Wiley.

How helpful was this calculator?

5.0/5 (1 rating)

Related Calculators

Horsepower Calculator

Work, Energy & Power Calculators

Power-to-Weight Ratio Calculator

Work, Energy & Power Calculators

Heat Transfer Calculator

Heat & Temperature Calculators

Specific Heat Calculator

Heat & Temperature Calculators