Thank you all for your answers and comment.
So, effectively, I was wrong and EdStainless and dgeesaman point in the right direction: determine the power on load side, then multiply by x (1.3, 1.4, 1.5...) to compensate losses in the gearbox then you have the power required for the motor.
All...