Linear fitting by least squares is a frequently used method of processing experimental data, usually a computer is used due to complex computing process. Origin is powerful software for data analysis and plotting, linear fitting by using it does not program, the results can be got by a simple operation. In this paper the Origin software based on the method of linear fitting is introduced by giving an example.