Dear Student,
When a current carrying conductor is kept in a magnetic field the force experienced by the conductor is given by the formula-
Force on the conductor =
Here I= current in the conductor, B = external magnetic field, L = length of the conductor.
Regards.