Abstract. In this work, we used the density gradient theory (DGT) combined with the cubic equation of state (EoS) by Peng and Robinson (PR) and the perturbed chain (PC) modification of the SAFT EoS developed by Gross and Sadowski [1]. The PR EoS is based on very simplified physical foundations, it has significant limitations in the accuracy of the predicted thermodynamic properties. On the other hand, the PC-SAFT EoS combines different intermolecular forces, e.g., hydrogen bonding, covalent bonding, Coulombic forces which makes it more accurate in predicting of the physical variables. We continued in our previous works [2,3] by solving the boundary value problem which arose by mathematical solution of the DGT formulation and including the boundary conditions. Achieving the numerical solution was rather tricky; this study describes some of the crucial developments that helped us to overcome the partial problems. The most troublesome were computations for low temperatures where we achieved great improvements compared to [3]. We applied the GT for the n-alkanes: nheptane, n-octane, n-nonane, and n-decane because of the availability of the experimental data. Comparing them with our numerical results, we observed great differences between the theories; the best results gave the combination of the GT and the PC-SAFT. However, a certain temperature drift was observed that is not satisfactorily explained by the present theories.