• Foundation
  • About 14 min
  • 5 practice questions

How strong is the field? Straight wire, circular coil and solenoid

Learn how the magnetic field depends on the current and the shape of the conductor, and calculate it for a straight wire and a solenoid.

If something looks wrong, please tell us.

So far we have said that a current makes a magnetic field. Now we ask how strong it is. The answer depends on how much current flows, how far away you are, and how the wire is shaped. Bending a wire into a coil or a solenoid concentrates the field, which is why electromagnets are always made of coils.

The unit of the magnetic field

The strength of a magnetic field is measured by the magnetic flux density B, whose unit is the tesla (T). Fields of everyday magnets are small fractions of a tesla. A constant that appears in every formula below is the permeability of free space, μ₀ = 4π × 10⁻⁷ T m/A.

Three shapes, three formulae

  • Long straight wire: B = μ₀I/(2πr). The field is stronger for a larger current I and falls as the distance r from the wire increases. The field lines are circles around the wire.
  • Circular coil of N turns and radius R (at the centre): B = μ₀NI/(2R). A tight coil with many turns and a small radius has a strong field at its centre.
  • Long solenoid with n turns per metre: B = μ₀nI inside. The field is almost uniform inside and weak outside. Here n is the number of turns divided by the length of the solenoid.

In a coil or solenoid, all the turns send the field the same way through the middle, so their effects add. In a straight wire, there is nothing to add to. This is why a coil is much stronger than a wire carrying the same current.

Direction of the field of a solenoid

Look at one end of a solenoid. If the current goes round anticlockwise as you look at that end, it is a north pole. If it goes round clockwise, it is a south pole. This is the clock rule. A solenoid with an iron core inside becomes an electromagnet, and the iron multiplies the field.

Worked example 1: a straight wire

The numbers in this lesson are for practice. A long straight wire carries a current of 5 A. At a point 0.1 m from the wire, B = μ₀I/(2πr) = (4π × 10⁻⁷ × 5)/(2π × 0.1). The π cancels, leaving 2 × 10⁻⁷ × 5/0.1 = 1 × 10⁻⁵ T. If the distance is doubled to 0.2 m, the field is halved to 5 × 10⁻⁶ T. If the current is doubled instead, the field is doubled.

Worked example 2: a solenoid

A solenoid has 500 turns wound along a length of 0.25 m and carries 2 A. First find n: n = 500/0.25 = 2000 turns per metre. Then B = μ₀nI = 4π × 10⁻⁷ × 2000 × 2. Now 4π × 10⁻⁷ is about 1.2566 × 10⁻⁶, so B ≈ 1.2566 × 10⁻⁶ × 4000 = 5.03 × 10⁻³ T. Halving the current halves the field; doubling the number of turns on the same length doubles it.

Wire: B = μ₀I/2πr. Solenoid: B = μ₀nI, with n = turns per metre. μ₀ = 4π × 10⁻⁷ T m/A. Anticlockwise end = north pole, clockwise end = south pole.

— Rules to remember

Common slips

  • Using the total number of turns in place of n. Divide by the length first.
  • Forgetting that the field of a wire falls with distance, while the field inside a solenoid does not depend on position along the axis.
  • Mixing up the clock rule: anticlockwise is north.

Key takeaways

A stronger current, more turns per metre and a soft iron core all strengthen an electromagnet. A straight wire's field falls with distance, whereas a solenoid gives a strong, uniform field inside it.

Check your understanding

  1. 1. The magnetic field near a long straight wire carrying current becomes how many times as large if the distance from the wire is halved?

    1. half as large
    2. four times as large
    3. two times as large
    4. unchanged
    Show answer

    Answer: C. B = μ₀I/(2πr) is inversely proportional to r. Halving r doubles B.

  2. 2. A solenoid has 800 turns over a length of 0.4 m. The number of turns per metre is:

    1. 320
    2. 2000
    3. 0.0005
    4. 200
    Show answer

    Answer: B. n = 800/0.4 = 2000 turns per metre.

  3. 3. The unit of the magnetic flux density B is the:

    1. weber
    2. henry
    3. tesla
    4. ampere
    Show answer

    Answer: C. The tesla (T) is the unit of the magnetic flux density; one tesla is one weber per square metre.

  4. 4. The end of a solenoid at which the current flows clockwise (as you look at it) behaves as a:

    1. north pole
    2. south pole
    3. neutral point
    4. pole of changing sign
    Show answer

    Answer: B. By the clock rule, a clockwise current makes the end a south pole and an anticlockwise current a north pole.

  5. 5. A straight wire carries 10 A. The field at 0.2 m from it is (μ₀/2π = 2 × 10⁻⁷ T m/A):

    1. 10⁻⁵ T
    2. 2 × 10⁻⁵ T
    3. 4 × 10⁻⁵ T
    4. 2 × 10⁻⁶ T
    Show answer

    Answer: A. B = 2 × 10⁻⁷ × 10/0.2 = 10⁻⁵ T.

Privacy · Terms · Refunds · Delivery