Skip to content
LoveToCalc

Definition — what does that mean?

Magnetic field around a straight conductor

A current in a wire makes a magnetic field in circles around it, strongest close by and weakening as one over the distance.

In Swedish: Magnetfält kring en rak ledare

Magnetic field around a straight conductor

The relation

B=μ₀I2πr

The flux density around a long straight wire: the permeability of free space times the current, divided by the distance around the wire's circle. Twice as far away gives half the field.

A long straight wire seen end-on, carrying the current I out of the page (the dot). A circle of radius r round it is a field line; at a point on it an arrow shows the magnetic field B, along the circle.
Solve for

B≈2 × 10⁻⁵T

B is approximately (1.257 times 10 to the power of minus 6 times 10) divided by (2 times (π times 0.1)), is approximately 1.257 times 10 to the power of minus 5 divided by (2 times 0.3142), is approximately 1.257 times 10 to the power of minus 5 divided by 0.6283, is approximately 2 times 10 to the power of minus 5 T

Working4 steps

What the formula says

B is the magnetic flux density in tesla, I the current in amperes, r the distance from the wire in metres and μ₀ the permeability of free space, 1.256 637 061 27 · 10⁻⁶ N/A² (CODATA 2022, in the table of physical constants). The 2π · r in the denominator is the circumference of the circle the field runs around.

Holds for a long, straight wire, at distances small compared with its length, in air or a vacuum.

Worked examples

Twice the distance gives half the field, and twice the current twice the field.

Which way it points

Grip the wire with your right hand, thumb along the current. Your fingers curl the way the field runs. A second wire in that field feels a force: two parallel currents in the same direction attract each other.

Common mistakes

Common questions

Is μ₀ still exactly 4π · 10⁻⁷? Not since the SI was redefined in 2019. It is now a measured value, very close to 4π · 10⁻⁷ but not exactly equal, which is why the card uses the CODATA figure.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
μ₀B·2πrI2 × 10⁻⁵·2π·0.1101.257 × 10⁻⁶
IB·2πrμ₀2 × 10⁻⁵·2π·0.11.257 × 10⁻⁶10 A
rμ₀I2πB1.257 × 10⁻⁶·102π·2 × 10⁻⁵0.1 m
Bμ₀I2πr1.257 × 10⁻⁶·102π·0.12 × 10⁻⁵ T

Last reviewed October 6, 2026 ·How pages are reviewed

ElectricityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.