magnetic actuator torque calculation
The torque is linear in the coil current and the magnet's magnetic moment, so torque = current * magnetic_moment * coil factor.

It's easy to measure the current accurately.

It's possible to track down (using your favourite search engine) an approximate formula for the field strength versus current for a coil of N turns, given the number of turns and dimensions. It's easy to measure the dimensions, it's not so easy to count the turns if you didn't wind it yourself.

It's not so easy to measure the magnetic moment of the magnet in your actuator directly, at least not in an accurate way.

With so many things being difficult to measure, it's best to simply measure the torque versus current curve for your actuator, plot the results on a graph, and fit a straight line to it for your_actuator_factor. Then use the formula torque = current * your_actuator_factor. This empirical factor sweeps up all the uncertainties / difficulties in coil dimensions, number of turns and magnetic moment.