Due to the application of coil-shaped coils in a compressed gas flow exchanger and water pipe flow in airconditioner devices, air conditioning and refrigeration systems, both industrial and domestic, need to be optimized to improve exchange capacity of heat exchangers by reducing the pressure drop. Today, due to the reduction of fossil fuel resources and the importance of optimal use of resources, optimization of thermal, mechanical and electrical devices has gained particular importance. Compressed heat exchangers are the devices used in industries, especially oil and petrochemical ones, as well as in power plants. So, in this paper we try to optimize compressed heat exchangers. Variables of the functions or state-of-the-machine parameters are optimized in compressed heat exchangers to achieve maximum thermal efficiency. To do this, it is necessary to provide equations and functions of the compressed heat exchanger relative to the functional variables and then to formulate the parameter for the gas pressure drop of the gas flow through the blades and the heat exchange surface in relation to the heat duty. The heat transfer rate to the gas-side pressure drop is maximized by solving the binary equation system in the genetic algorithm. The results show that using optimization, the heat capacity and the efficiency of the heat exchanger improved by 15% and the pressure drop along the path significantly decreases.