The importance and necessity of energy saving in the world have been discussed for many years, but achieving a logical and transparent solution isstill one of the main challenges and problems of the world’s economy. Therapid growth of energy consumption in the last two decades has caused thesecurity of the domestic energy supply of buildings to face serious problems. In this research, first by entering parameters such as the type of materials, doors and windows, and the type of soil on the floor connected to theground, etc. in the heat and cold load calculation software (HAP Carrier) asthe design calculations and then in the second step entering the specifications inferred from the Iran’s national building code as a reference for energy saving calculations, calculations are performed and compared as the firstcriterion, and finally these two outputs are compared. The actual energyconsumption and determination of the building energy consumption indexare determined as another criterion, as well as the degree of deviation fromthe actual consumption. The results showed that the theoretical method andthe thermal and refrigeration load calculations of the Zanjan Gas Companybuilding have 6% difference in cooling load but the heating load is about34% different, which means for cooling loads, the theoretical model can beused with high accuracy but for heating loads, the national building codeneeds fundamental changes.