Combining with the actual application in NC machine tool,the compensation methods that usually use to analyze the opposite clearance error was presented,and a new compensation method-machining program compensated was introduced.The principle and usage of the method,and something should be pay attention to were discussed in the paper.