The torque on a current loop with magnetic dipole moment due to a magnetic field B is given by
Electric Torque, Interaction Energy, Magnetic Dipole, Torque
References
Eisberg, R. and Resnick, R. Quantum Physics of Atoms, Molecules, Solids, Nuclei, and Particles, 2nd ed. New York: Wiley, p. 269, 1985.
Griffiths, D. J. Introduction to Electrodynamics, 3rd ed. Englewood Cliffs, NJ: Prentice Hall, p. 220, 1989.