Skip to content
LoveToCalc

Theorem — what does that mean?

Ampère's law: field inside a wire

Inside a long straight wire carrying a steady current, the field grows from zero at the axis to its largest value at the surface.

In Swedish: Ampères lag: fält inuti en tråd

Ampère's law: field inside a wire

The relation

B=μ₀Ir2πR²

Inside a long straight wire carrying a current spread evenly over its cross-section, the field grows in proportion to the distance from the axis: μ₀ I r divided by 2π R². It holds for r up to the wire radius R.

Solve for

B≈3.75 × 10⁻⁴T

B is approximately ((1.257 times 10 to the power of minus 6 times 10) times 0.003) divided by ((2 times π) times 0.004 squared), is approximately (1.257 times 10 to the power of minus 5 times 0.003) divided by (6.2832 times 1.6 times 10 to the power of minus 5), is approximately 3.77 times 10 to the power of minus 8 divided by 1.005 times 10 to the power of minus 4, is approximately 3.75 times 10 to the power of minus 4 T

Working4 steps

The formula

μ₀ is 1.256 637 061 27 × 10⁻⁶ N/A² (CODATA 2022), I the total current, R the radius of the wire, r the distance from its axis and B the flux density, in tesla. A wire of radius 4 mm carrying 10 A, at r = 3 mm:

B = 1.2566 × 10⁻⁶ · 10 · 0.003 / (2π · 0.004²) = 3.75 × 10⁻⁴ T, 375 µT.

Holds when the current is spread evenly over the cross-section, which a steady direct current in a uniform wire does; a high-frequency alternating current crowds towards the surface and the formula does not apply. A circle of radius r encloses only the fraction r²/R² of the current, and Ampère’s law gives the rest.

Inside and outside

Inside the wire B grows in proportion to r. At the surface r = R it reaches μ₀I/(2πR), which is 500 µT for this wire and the value from the straight wire formula. Outside, B falls as 1/r.

r B
1 mm 125 µT
3 mm 375 µT
4 mm (surface) 500 µT
8 mm (outside, straight-wire formula) 250 µT

A second example

At r = R/2 the field is half the surface value: 10 A in a wire of radius 2 mm gives 0.5 mT at 1 mm and 1 mT at the surface.

Common mistakes

Questions people ask

What about a hollow tube? Inside a hollow tube carrying current on its wall, no current is enclosed and the field is zero; the formula above is for a solid wire.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
μ₀2πR²BIr2π·0.004²·3.75 × 10⁻⁴10·0.0031.257 × 10⁻⁶
I2πR²Bμ₀r2π·0.004²·3.75 × 10⁻⁴1.257 × 10⁻⁶·0.00310 A
r2πR²Bμ₀I2π·0.004²·3.75 × 10⁻⁴1.257 × 10⁻⁶·100.003 m
Rμ₀Ir2πB1.257 × 10⁻⁶·10·0.0032π·3.75 × 10⁻⁴0.004 m
Bμ₀Ir2πR²1.257 × 10⁻⁶·10·0.0032π·0.004²3.75 × 10⁻⁴ T

Last reviewed October 11, 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.