Five-Axis machines can generate undesirable defects such as the undercutting and overcutting errors that frequently occur in the three-axis machining process. It is therefore necessary to develop a program for NC-code generation, whereby the cutter posture is considered to decrease the occurrence of defects. In previous studies, the Easy-Impeller CAM(E-ICAM), an automatic CAM program used for the five-axis machining of impellers, was developed; however, when EICAM is used to machine an impeller, it is possible to gouge the hub and blade. Therefore, the aim of this study is the establishment of a formula for each type of endmill to minimize gouging according to the cutter posture, in consideration of several factors that affect accuracy in the machining of an impeller. This study also aimed to improve the performance and accuracy of EICAM in the manufacturing of impellers.