Biot-Savart Law Calculator

The Biot-Savart Law describes how electric current produces a magnetic field at a point in space — this calculator applies that law to find the magnetic field strength generated by a current-carrying wire element. Enter your current (I), length of current element (dL), distance from the element (r), and angle (θ), then select a wire configuration (single element, infinite straight wire, or circular current loop) to get the magnetic field in nanotesla. Secondary outputs include the field in Tesla and microtesla, the permeability of free space (μ₀), and sin(θ).

A

Electric current flowing through the wire element in amperes.

m

The infinitesimal (or finite small) length of the current-carrying wire element in meters.

m

Perpendicular distance from the current element to the point where the field is calculated.

°

Angle between the current element direction and the position vector. Use 90° for a perpendicular configuration (maximum field).

Choose the geometry for which the magnetic field is calculated.

m

Radius of the circular loop. Used only when 'Circular Current Loop' is selected.

Results

Magnetic Field (dB)

--

Magnetic Field in Tesla

--

Magnetic Field in Microtesla

--

Permeability of Free Space (μ₀)

--

sin(θ)

--

More Electrical & Electronics Tools

Frequently Asked Questions

What is the Biot-Savart Law?

The Biot-Savart Law describes the magnetic field generated by a small current-carrying element. It states that the magnetic flux density dB produced at a point is proportional to the current I, the element length dL, and the sine of the angle between the element and the position vector, and inversely proportional to the square of the distance r. Mathematically: dB = (μ₀ / 4π) × (I · dL · sinθ) / r².

What is μ₀ and what is its value?

μ₀ is the permeability of free space (vacuum permeability), a fundamental physical constant. Its value is 4π × 10⁻⁷ H/m (henries per meter), approximately 1.2566 × 10⁻⁶ H/m. It appears in the Biot-Savart Law and other electromagnetic equations to relate magnetic fields to the currents that produce them.

How do you calculate the magnetic field around a long straight wire?

For an infinitely long straight wire carrying current I, the magnetic field at a perpendicular distance d is given by B = μ₀I / (2πd). The field forms concentric circles around the wire, and its strength decreases with increasing distance. This is a simplified result derived by integrating the Biot-Savart Law along the entire wire length.

What angle gives the maximum magnetic field in the Biot-Savart Law?

The magnetic field is maximum when the angle θ between the current element (dL) and the position vector (r̂) is 90°, because sin(90°) = 1. When the current element is parallel to the position vector (θ = 0° or 180°), the field contribution is zero since sin(0°) = 0.

How is the magnetic field of a circular current loop calculated on its axis?

For a circular loop of radius a carrying current I, the magnetic field along its central axis at a distance x from the center is B = (μ₀ · I · a²) / (2 · (a² + x²)^(3/2)). At the center of the loop (x = 0), this simplifies to B = μ₀I / (2a). This result is obtained by integrating the Biot-Savart Law around the full loop.

What units is the magnetic field expressed in?

Magnetic field strength (flux density) is expressed in tesla (T) in the SI system. Practical results are often given in nanotesla (nT, 10⁻⁹ T) or microtesla (μT, 10⁻⁶ T) since fields from small current elements are typically very small. For reference, Earth's magnetic field is about 25–65 μT.

What is the difference between the Biot-Savart Law and Ampere's Law?

Both laws relate electric current to magnetic field, but they are used in different situations. The Biot-Savart Law is a general integral approach applicable to any current configuration, including finite wire segments and loops. Ampere's Law (∮ B·dL = μ₀I_enc) is more convenient for highly symmetric configurations like infinite straight wires, solenoids, and toroids, where the magnetic field has a simple geometric pattern.

Can the Biot-Savart Law be applied to a point charge in motion?

Yes. For a point charge q moving with velocity v, the analogous Biot-Savart expression gives the magnetic field as B = (μ₀ / 4π) × (q · v × r̂) / r². This is consistent with treating the moving charge as a tiny current element (I·dL = q·v). However, this applies only at non-relativistic speeds; at high speeds, special relativity must be considered.