The thiol group can be attached to gold surfaces strongly and thus can be used as a bridge for molecular wires in nanoelectronics. By using density functional theory, we have investigated the interaction between a thiol-phenyl molecule (4-4′-dimercaptodibenzene) and a gold surface with ab initio method. The frontier orbit theory and the perturbation theory are employed to determine constant of the interaction energy quantitatively, which is a parameter in describing the current-voltage properties of molecul...