If you are converting directly from watts, you simply need to divide the watts by 746 to get horsepower. If you are converting from Amps, you must include more information about the motor as described in the formula A = HP * 746 / (V* n * PF).