Force Between Parallel Current-Carrying Wires
Imagine two long, straight wires placed side by side, each carrying an electric current. You already know that a current-carrying wire creates a magnetic field around it. And you know that a wire placed in a magnetic field experiences a magnetic force. So here, each wire sits inside the magnetic field created by the other wire. That is the whole story — each wire feels a force because of the other wire's magnetic field.
The direction of that force — attraction or repulsion — depends on whether the currents flow in the same direction or opposite directions.
The Intuition
Take two wires with currents in the same direction. Use the right-hand thumb rule: for wire 1, the magnetic field lines circle around it. At the location of wire 2, that field points in a particular direction. Now apply the right-hand rule for force on a current-carrying wire (Fleming's left-hand rule works too): the current in wire 2, crossed with the field from wire 1, gives a force toward wire 1. The same reasoning from wire 2's perspective gives a force on wire 1 toward wire 2. So they attract.
If the currents are opposite, the field directions reverse, and the forces point away from each other — they repel.
A quick memory aid: Same direction → Attract; Opposite direction → Repel. This is the opposite of what you might guess from electric charges, where like charges repel. Don't mix them up.
The Precise Statement
For two long, straight, parallel wires separated by a distance d, carrying steady currents I1 and I2, the magnitude of the force per unit length on either wire is:
LF=2πdμ0I1I2
where μ0=4π×10−7N/A2 is the permeability of free space.
The force is attractive if the currents are in the same direction, repulsive if they are opposite.
Where Does This Formula Come From?
Wire 1 produces a magnetic field at the location of wire 2. The magnitude of that field is:
B1=2πdμ0I1
This field is perpendicular to wire 2. The magnetic force on a length L of wire 2 carrying current I2 in a perpendicular field B1 is:
F=I2LB1
Substitute B1:
F=I2L⋅2πdμ0I1
Divide both sides by L to get force per unit length:
LF=2πdμ0I1I2
That is the entire derivation — two simple steps: field from one wire, then force on the other.
This formula assumes the wires are infinitely long (or at least very long compared to d) and thin. It gives the force per unit length, which is constant along the wires.
The Definition of the Ampere
This effect is so fundamental that it defines the SI unit of current. One ampere is defined as the constant current which, when flowing through two infinitely long, straight, parallel wires of negligible cross-section placed one metre apart in vacuum, produces a force of exactly 2×10−7 newtons per metre of length between them. …