I am planning to build a coil winding machine.

I need to know how to calculate how much torque I need to drive the bobbin and from there what stepper motor I should buy. I do not want to pay / assemble a motor bulkier than necessary.

How do I calculate that?