Based on characteristics and connectivity of the groups in molecules, the group contribution method and topological method was combined together, a new method was developed which can be used to calculate the density of alkyne from molecular structure.