You will need normal force between drill string and wellbore contact as well as the well inclination. In perfectly vertical wells, torque is negligible, however for horizontal wells have a different story as you would have significant drag component from the pipe weight. For step-by-step calculation, you may wanna check the notes that I have attached here;