(N/A) The torque $\vec{\tau}$ acting on a current-carrying loop placed in a uniform magnetic field $\vec{B}$ is given by the vector product of the magnetic dipole moment $\vec{m}$ and the magnetic field $\vec{B}$.
Mathematically,$\vec{\tau} = \vec{m} \times \vec{B}$.
If $\theta$ is the angle between the magnetic dipole moment vector $\vec{m}$ (which is perpendicular to the plane of the loop) and the magnetic field $\vec{B}$,the magnitude of the torque is given by $\tau = mB \sin \theta$.
If $\theta$ is defined as the angle between the plane of the loop and the magnetic field,the torque is given by $\tau = mB \cos \theta$.