Skip to main content
Home/Math, Geometry & STEM Science Utilities/Biot-Savart Law Straight Wire Magnetic Field Flux Density Calculator

Biot-Savart Law Straight Wire Magnetic Field Flux Density Calculator

Calculate magnetic flux density (B), magnetic field strength (H), and radial 1/r decay around infinite, semi-infinite, and finite straight wires using the Biot-Savart Law.

Conductor Geometry & Current Setup

Conductor Boundary Geometry
Current Vector Polarity
Right-Hand Rule & Angular Geometry Vector Mapθ₁ = -90.0°, θ₂ = 90.0°
r = 5 cmI (10A)Point PB: Into Page (⊗)
μ₀ = 4π × 10⁻⁷ T·m/ASI Magnetostatics Engine

Magnetic Flux Density & Field Analysis

Magnetic Flux Density (B)
40μT
Geometry Factor: 100.0% of Infinite Limit
Magnetic Field Strength (H)
31.831A/m
Independent of Medium Permeability (μr)
Simultaneous SI & CGS Unit Conversions
Tesla (SI Base)4.000e-5 T
Millitesla0.04 mT
Microtesla40 μT
Gauss (CGS)0.4 G
Radial Magnetic Field Decay Profile (B ∝ 1/r)Unit: μT
0.5r (2.5 cm) 80 μT
1r (5.0 cm) ← Target Point P40 μT
2r (10.0 cm) 20 μT
3r (15.0 cm) 13.3333 μT
4r (20.0 cm) 10 μT
5r (25.0 cm) 8 μT
Magnetic Energy Density (uB)
6.366e-4 J/m³

Stored magnetostatic energy per unit volume: uB = B² / (2μ)

Earth Geomagnetic Benchmark
0.80× Earth's Field

Compared to ~50 μT (0.5 Gauss) mid-latitude ambient geomagnetic field

Theoretical Foundations: Biot-Savart Law & Ampere's Circuital Law

Formulated in 1820 by French physicists Jean-Baptiste Biot and Félix Savart immediately after Hans Christian Ørsted discovered that electric currents deflect magnetic compass needles, the Biot-Savart Law establishes the exact differential relationship between a steady electric current element and the magnetic flux density vector it generates in surrounding space.

dB = (μ₀ · μr · I) / (4π) · (dl × r̂) / r²

Integrating this differential vector contribution along a straight line segment of arbitrary length at perpendicular distance r yields the general finite straight-wire Biot-Savart equation in terms of the endpoint angles θ₁ and θ₂ measured from the perpendicular line passing through the observation point:

B = (μ₀ · μr · I) / (4π · r) · (sin θ₂ − sin θ₁)

When the straight conductor extends infinitely in both directions, θ₁ = −90° and θ₂ = +90°. Substituting sin(90°) − sin(−90°) = 1 − (−1) = 2 reduces the integral to the classic infinite-wire formula, which can also be derived directly from Ampere's Circuital Law (∮ B · dl = μ₀ · μr · Ienc):

Binfinite = (μ₀ · μr · I) / (2π · r)
Physical QuantitySymbolSI UnitValue / Physical Meaning
Magnetic Flux DensityBTesla (T = Wb/m²)Total magnetic field vector acting on moving charges (1 T = 10⁴ Gauss)
Magnetic Field StrengthHAmpere/meter (A/m)Magnetizing field driven solely by free current: H = B / (μ₀ · μᵣ)
Vacuum Permeabilityμ₀T·m/A (H/m)Magnetic constant of free space: 4π × 10⁻⁷ ≈ 1.256637 × 10⁻⁶ T·m/A
Relative PermeabilityμrDimensionlessRatio of medium permeability to vacuum permeability (Air ≈ 1.00000037)
Radial DistancerMeter (m)Shortest perpendicular distance from the wire axis to evaluation point P

Conductor Boundary Geometries & Finite-Length Error Analysis

In practical PCB layout, busbar design, and sensor placement, conductors have finite endpoints where current bends into vias, terminals, or perpendicular leads. Applying the infinite-wire approximation near conductor terminations overestimates magnetic flux density significantly, whereas winding the conductor into cylindrical helical coils concentrates that magnetic flux along a central bore—which you can model with our Solenoid Magnetic Field Density & Stored Magnetic Inductance Calculator or evaluate for toroidal power chokes in our Inductor Inductance, Magnetic Flux & Stored Energy Solver:

1. Finite Symmetric Segment

Measured along the perpendicular bisector of a wire of total length L, both endpoint angles have equal magnitude: θ₂ = −θ₁ = arctan(L / 2r). The field simplifies to B = (μI / 2πr) · [ (L/2) / √((L/2)² + r²) ]. When L = 2r (±45°), the field is 70.7% of the infinite-wire value.

2. Semi-Infinite Straight Lead

When the observation point lies perpendicular to one end of a very long wire (θ₁ = 0°, θ₂ = +90°), sin(90°) − sin(0°) = 1. Consequently, the magnetic flux density at the end of a semi-infinite wire is exactly half (50%) of an infinite wire: B = (μI) / (4πr).

3. Off-Center & Past-Endpoint Points

If point P lies past the physical end of a finite wire segment, both θ₁ and θ₂ carry the same algebraic sign (for example, θ₁ = +20° and θ₂ = +65°). The Biot-Savart formula remains exact, subtracting sin(20°) from sin(65°) to account for the missing conductor span.

Step-by-Step Worked Electromagnetics Calculations

Review these two worked engineering examples demonstrating unit conversion, permeability scaling, and finite-segment integration:

Example 1: High-Current PCB Trace InterferenceInfinite Limit
  • Given Parameters:
  • Current I = 12 A (DC motor driver trace)
  • Sensor Distance r = 4.0 mm = 0.004 m
  • Medium: Non-magnetic FR-4 / Air (μᵣ = 1.0)
  • 1. Apply Infinite-Wire Ampere/Biot-Savart Law:
  • B = (4π × 10⁻⁷ T·m/A × 12 A) / (2π × 0.004 m)
  • B = (2 × 10⁻⁷ × 12) / 0.004 = 6.0 × 10⁻⁴ T
  • 2. Convert to Practical Sensor Units:
  • B = 0.60 mT = 600 μT = 6.0 Gauss
  • Note: 12× stronger than Earth's magnetic field
Example 2: Finite EV Battery BusbarFinite Segment
  • Given Parameters:
  • Busbar Current I = 300 A
  • Total Straight Length L = 20 cm (L/2 = 10 cm)
  • Distance at Midpoint r = 10 cm = 0.10 m
  • 1. Compute Subtended Endpoint Angles:
  • θ₂ = arctan(10 cm / 10 cm) = +45°
  • θ₁ = −45° → sin(45°) − sin(−45°) = 1.4142
  • 2. Evaluate Finite Biot-Savart Integral:
  • B = (10⁻⁷ × 300 / 0.10) × 1.4142
  • B = 4.243 × 10⁻⁴ T = 424.3 μT (4.24 G)

Frequently Asked Questions (FAQ)

What is the Biot-Savart Law formula for a straight current-carrying wire?

For a finite straight wire carrying steady current I at perpendicular radial distance r, the Biot-Savart Law integrates to B = (μ₀ · μᵣ · I) / (4π · r) · (sin θ₂ − sin θ₁), where θ₁ and θ₂ are the angles from the perpendicular bisector to the two ends of the wire. For an infinitely long straight wire (θ₁ = −90°, θ₂ = +90°), sin θ₂ − sin θ₁ = 2, simplifying to B = (μ₀ · μᵣ · I) / (2π · r).

How do you determine the direction of the magnetic field around a straight wire?

Magnetic field lines form concentric circles centered on the wire in a plane perpendicular to the conductor. Using the Right-Hand Grip Rule, point the thumb of your right hand in the direction of conventional electric current (from positive to negative). Your fingers curl around the wire in the direction of the magnetic flux density vector B.

What is the difference between Magnetic Flux Density (B) and Magnetic Field Strength (H)?

Magnetic Flux Density (B), measured in Tesla (T) or Gauss (G), represents the total magnetic field including the magnetization response of the surrounding medium. Magnetic Field Strength (H), measured in Amperes per meter (A/m), represents the magnetizing field generated solely by free currents, independent of material permeability. They are related by B = μ₀ · μᵣ · H.

When can a finite straight wire be approximated as infinitely long?

A finite straight conductor of total length L measured at its midpoint can be approximated as infinitely long within 1% error whenever the total wire length L is at least 14 times greater than the radial distance r (L ≥ 14r, corresponding to subtended angles exceeding ±81.9°).

What is the magnetic field directly along the axis of a straight wire?

The magnetic field at any point collinear with the axis of a straight current-carrying wire is strictly zero (B = 0 T). In the differential Biot-Savart Law dB = (μ₀I / 4π) · (dl × r̂) / r², the differential length vector dl and unit displacement vector r̂ are parallel or anti-parallel, making their cross product dl × r̂ equal to zero.

How does magnetic flux density decay with distance from a straight conductor?

Unlike a point charge or magnetic dipole whose field decays as 1/r² or 1/r³, the magnetic flux density around an infinitely long straight wire decays inversely with the first power of radial distance (B ∝ 1/r). Doubling the distance from the wire reduces the magnetic flux density by half.

Related & Complementary Utilities

Explore more privacy-first client-side web tools.