Field of a Straight Wire
Magnetic field around a long straight wire.
Formula
Variables
How it works
This formula gives the magnetic field strength at a distance r from a very long, straight wire carrying current I. It comes from Ampère’s law and the circular symmetry around the wire: the field lines form concentric circles, so the field is the same everywhere on a circle of radius r and falls off as 1/r. The constant μ0 sets the scale of magnetic effects in vacuum, and the direction of the field is tangential to those circles, given by the right-hand rule.
When to use it
Use it for idealized long straight conductors when you want the magnetic field at a point outside the wire, especially in electrostatics/electromagnetism problems or circuit analysis. It is appropriate when the wire length is much larger than the distance r and edge effects from the ends can be ignored.
Worked example, step by step
A long straight wire carries a current of 8.0 A. Find the magnetic field 5.0 cm from the wire. Step 1: Write the formula B = μ0 I / (2πr) Step 2: Substitute values μ0 = 4π × 10^-7 T·m/A I = 8.0 A r = 5.0 cm = 0.050 m B = (4π × 10^-7)(8.0) / (2π × 0.050) Step 3: Simplify B = (32π × 10^-7) / (0.10π) B = 320 × 10^-7 T B = 3.2 × 10^-5 T Final answer: B = 3.2 × 10^-5 T
Common mistakes to avoid
- Using the formula for a finite wire or a wire near its ends, where the long-wire approximation is not valid
- Forgetting to convert the distance r into metres before calculating
- Confusing magnetic field magnitude with direction; the field circles the wire and is not along the wire
Did You Know?
Oersted discovered by accident in 1820 that a current deflects a compass, uniting electricity and magnetism.
Share this formula
More in Electricity & Magnetism
View allCoulomb's Law
IntermediateForce between two point charges.
Electric Field
BasicForce per unit charge at a point.
Field of a Point Charge
IntermediateElectric field around a point charge.
Electric Potential
IntermediatePotential due to a point charge.
Electric Potential Energy
IntermediateEnergy of two interacting charges.
Gauss's Law
AdvancedElectric flux through a closed surface.