Magnetic Force Between Wires

Once the magnetic field has been calculated, the magnetic force expression can be used to calculate the force. The direction is obtained from the right hand rule. Note that two wires carrying current in the same direction attract each other, and they repel if the currents are opposite in direction. The calculation below applies only to long straight wires, but is at least useful for estimating forces in the ordinary circumstances of short wires. Once you have calculated the force on wire 2, of course the force on wire 1 must be exactly the same magnitude and in the opposite direction according to Newton's third law.