In order to improve the predictive ability of the error model of the ve-axis machine tool, an indirect error measurement (IEM) method of the ve-axis machine tool based on the sample test method was proposed, and the optimized design of the stepped axis sample was completed. By inversely calculating the spatial error model of the machine tool, the function analysis relationship between the sample machining error and different error terms of the machine tool was established, and then the dynamic errors of the machine tool in different machining states were obtained. The reliability and practical effects of the method was veri ed through experiments. The results showed that the proposed IEM method was in good agreement with the laser measurement method. The predictive ability of the error model of the ve-axis machine tool can be improved by using the IEM method, thereby more machining accuracy of the machine tool will be ensured.