I know that the torque experience by a current carrying loop in a uniform magnetic field is given by Torque $= MB$ where $M$ is the magnetic moment of the loop. In my book, the derivation was provided only for a rectangular loop and was given that it can be extended to other loops as well.
But intuitively when I try to apply this derivation for a circular coil, I get net torque is equal to $0$. Can somebody help me prove that torque experienced by a current carrying coil in uniform magnetic field is equal to $MB$.
I am currently in high school.