A nuclear piping calculation program is developed, that can use a variety of codes for nuclear piping stress analysis and evaluation. This paper introduces the principle of the program. Taking the piping of a nuclear power station as an example, the stress analysis and evaluation is done using RCC-M and ASME codes, and the results are compared with SYSPIPE and PIPESTRESS respectively. The results show that the program calculation result is correct, and the precision meet the requirements.