You can do this quite easily and efficiently using electric motor winding calculator. Fitting for both single and double layer windings, from integer-slot to fractional-slot, you can investigate everything. Additionally, there are plenty of other features of such calculators that you can use.
There’s a range of things/inputs you need to know first. It includes voltage, frequency, phases, poles, outer diameter, slot count, kind of cooling, duty cycle, airgap length and more. All these are required to help you calculate winding data of a motor for particular HP more accurately.Emetor is a well-renowned brand that offers high quality electric motor winding calculator. So check them out.