When self-forces are involved, a typical factor of 1/2 comes into play. For example, the force on a current carrying straight wire in a magnetic induction B is BIl. If the magnetic induction B is due to the current itself then the force can be written as,
In the present case, B(I) = μ0nI and this acts on nl ampere turns per unit length, so,