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
Magnetic Flux Density & Field Analysis
Stored magnetostatic energy per unit volume: uB = B² / (2μ)
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.
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:
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):
| Physical Quantity | Symbol | SI Unit | Value / Physical Meaning |
|---|---|---|---|
| Magnetic Flux Density | B | Tesla (T = Wb/m²) | Total magnetic field vector acting on moving charges (1 T = 10⁴ Gauss) |
| Magnetic Field Strength | H | Ampere/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 | μr | Dimensionless | Ratio of medium permeability to vacuum permeability (Air ≈ 1.00000037) |
| Radial Distance | r | Meter (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:
- 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
- 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.
Multi-Mode Percentage Calculator & Growth Suite
Calculate percentage changes, value distributions, markups, discounts, and reverse percentages instantly with dynamic step-by-step math breakdowns.
Sound Decibel (dB) Distance & Attenuation Calculator
Compute decibel attenuation (dB SPL), sound intensity, pressure in Pascals, and OSHA noise exposure limits across distances.
Ideal Gas Law (PV=nRT) Solver
Solve for Pressure, Volume, Moles, or Temperature with automatic multi-unit conversion, molecular density analysis, and van der Waals non-ideality modeling.
Thin Lens Equation, Focal Length & Magnification Optics Solver
Calculate image distance, object distance, focal length, transverse magnification, image height, and diopter optical power using the Gaussian thin lens equation.