Skip to content
Tutorials Center
My learning

Topics

Lesson 25 of 38 · Magnetism and Magnetic Fields

Magnetic Force on Current-Carrying Wires

Learn the force on a wire in a magnetic field, the force between parallel currents, and the torque on a current loop that makes electric motors turn.

A current is just many charges moving together, so a magnetic field pushes on a wire carrying current. This is the heart of every electric motor, loudspeaker and moving-coil meter. It also explains why two parallel wires with current attract or repel each other, which for many years was how the SI unit of current was defined.

In this lesson you will find the force on a straight wire, the force between two parallel wires, and the torque on a rectangular loop.

Force on a straight wire

Consider a straight wire of length L carrying current I through a uniform field B. A segment contains charges moving at drift velocity, and each feels a magnetic force. Adding up all the forces on all the charges in the length gives:

Text
F = I L × B       magnitude:  F = B I L sin θ

Here L is a vector along the wire in the direction of the conventional (positive) current, and θ is the angle between the wire and the field. The direction is given by the same right-hand rule as before: fingers along the current, curl toward B, thumb along F.

  • If the wire is perpendicular to B, F = B I L (maximum).
  • If the wire is parallel to B, F = 0.

Worked example

A straight wire 0.20 m long carries 5.0 A perpendicular to a 0.30 T field.

F = B I L = 0.30 × 5.0 × 0.20 = 0.30 N.

If the wire makes 30° with the field, then F = 0.30 × sin 30° = 0.15 N.

Python Force on a wire at different angles

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

For a curved wire, add up the forces on small straight pieces. A useful fact: a wire of any shape between two points feels the same net force as a straight wire connecting those points, if the field is uniform.

Force between parallel wires

A long straight wire carrying current I₁ makes a magnetic field at distance d: B = μ₀ I₁ / (2π d). (The next lesson derives this.) A second parallel wire carrying I₂ sits in that field, so it feels a force per unit length:

Text
F / L = μ₀ I₁ I₂ / (2π d)

with μ₀ = 4π×10⁻⁷ T·m/A (about 1.2566×10⁻⁶ T·m/A; its value is extremely close to this in the current SI).

  • Currents in the same direction: the wires attract.
  • Currents in opposite directions: the wires repel.

By Newton's third law the two forces are equal and opposite, even if the currents differ.

Example: two wires 5.0 cm apart each carry 10 A in the same direction. Then F/L = 2×10⁻⁷ × 10 × 10 / 0.05 = 4.0×10⁻⁴ N/m. A 2 m stretch feels 8×10⁻⁴ N, tiny, but measurable.

Until 2019 the ampere was defined by this force: two infinitely long wires 1 m apart carrying 1 A would feel 2×10⁻⁷ N per meter. Since 2019 the ampere is defined by fixing the value of the elementary charge e, and μ₀ is now a measured quantity, very close to 4π×10⁻⁷.

flowchart LR
  A["Wire 1: current I1"] --> B["makes field B at wire 2"]
  B --> C["force on wire 2: B I2 L"]
  D["Wire 2: current I2"] --> E["makes field at wire 1"]
  E --> F["equal and opposite force on wire 1"]

Each wire is in the field of the other; the forces are a Newton's third law pair.

Python Force per meter between parallel wires

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Torque on a current loop

A rectangular loop with N turns, area A and current I, sitting in a uniform field, feels forces on its sides that make a torque. On the two sides perpendicular to the field the forces are equal and opposite and form a couple. The torque is

Text
τ = N I A B sin φ

where φ is the angle between the field and the normal to the loop (the line perpendicular to its plane, in the direction your right thumb points when your fingers curl along the current). The maximum torque, N I A B, occurs when the plane of the loop is parallel to the field, so the normal is at 90° to it. The torque is zero when the plane is perpendicular to the field, so the loop sits in equilibrium.

We describe the loop by its magnetic dipole moment μ = N I A, so τ = μ B sin φ.

Worked example

A coil of N = 50 turns, each with area A = 2.0×10⁻³ m², carries 0.80 A in a 0.40 T field. Maximum torque: τ = 50 × 0.80 × 2.0×10⁻³ × 0.40 = 0.032 N·m.

Python Motor torque versus coil angle

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The torque changes sign every half turn. A real DC motor therefore uses a commutator, a split ring that reverses the current each half turn, so the torque keeps pushing the same way. Moving-coil ammeters use the same effect, with a spring that provides an opposing torque, so the pointer deflection is proportional to the current.

Common mistakes

  • Confusing the angle in sin θ: for a wire it is between the wire and B; for a loop's torque φ is between the normal and B.
  • Forgetting that parallel currents in the same direction attract (opposite to the electric case of like charges).
  • Using diameters instead of distances between the wire centers for d.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. A 0.50 m wire carries 4.0 A at right angles to a 0.25 T field. What is the force?

    F = B I L = 0.25 × 4.0 × 0.50 = 0.50 N.
  2. 2. Two parallel wires carry currents in opposite directions. What do they do?

    Opposite currents repel; same-direction currents attract.
  3. 3. When is the torque on a current loop in a uniform field zero?

    τ = N I A B sin φ, which is zero when φ = 0° or 180°, i.e. the loop plane is perpendicular to the field.
  4. 4. What is the purpose of a commutator in a DC motor?

    Without it the torque would reverse every half turn and the coil would oscillate instead of rotating.

Summary

  • A wire in a field feels F = B I L sin θ; the direction follows the right-hand rule.
  • Parallel wires: F/L = μ₀ I₁ I₂ / (2π d); same-direction currents attract, opposite currents repel.
  • A loop in a field feels a torque τ = N I A B sin φ (φ between normal and field).
  • Motors use this torque with a commutator; moving-coil meters use it with a restoring spring.

Next: Magnetic Fields Produced by Currents