A current-carrying conductor in an external magnetic flux density experiences a force per unit length

where is the current and is the unit vector along the current direction. In differential form:

This is the basis of every electric motor. It also explains why current-carrying wires near each other attract or repel, why railguns and loudspeakers work, and why a wire in the field of a magnet jumps when you connect a battery.

Where it comes from

This is the same physics as the Lorentz force on a single moving charge, , summed over all the carriers in a wire segment.

Take a segment of wire with cross-section , length , carrier density , drift velocity . The total moving charge is . The force on this segment:

using for the Current density. Since points along the wire, :

The lattice ions transmit this force to the bulk of the conductor — the carriers feel the force first, get nudged sideways, and drag the entire wire with them.

Total force on a finite wire

For a finite wire in a non-uniform field, integrate:

For a straight wire of length in a uniform field perpendicular to it:

This is the “BIL force” formula familiar from introductory physics.

Right-hand rule

The cross product encodes a sign rule: point fingers along the current, curl them toward , thumb points along the force. Equivalently, .

A current along in a field along produces a force along .

Reversing either the current direction or the field direction reverses the force. Reversing both leaves the force the same — important for AC motors, where current and field reverse together.

Force between two parallel wires

Two long parallel wires separated by distance , carrying currents and in the same direction.

Wire 1’s field at wire 2’s location (by Ampère’s law): , perpendicular to the connecting line.

Force per unit length on wire 2:

The force is attractive when the currents are parallel, repulsive when antiparallel. This was once the definition of the ampere: 1 A is the current that produces N/m between two wires 1 m apart in vacuum.

Torque on a current loop

A rectangular current loop in a uniform field experiences zero net force (forces on opposite sides cancel) but nonzero torque:

where is the magnetic moment ( being the loop’s vector area). The loop rotates to align with — same way a compass needle aligns with Earth’s field.

This is the working principle of DC motors: a current loop in a magnet’s field experiences torque; a commutator flips the current direction each half-rotation to keep the torque pushing in the same rotational sense. Continuous rotation results.

Versus the moving-charge form

Two related but distinct statements:

SourceForce
Single moving charge (point force, depends on )
Current-carrying conductor (force per length)

The wire form is what you use in motors and force-on-current problems; the charge form is what you use for free-particle motion (cyclotron, cathode-ray tube, mass spectrometer). They’re the same physics packaged for different applications.

Like the moving-charge magnetic force, the wire form does no work on the carriers (perpendicular to their drift velocity). The work that turns a motor shaft comes from the source maintaining the current against the back-emf — see Faraday’s law.