A method has been proposed for determining interfacial free energy from the data of molecular dynamics simulation. The method is based on the thermodynamic integration procedure and is distinguished by applicability to both planar interfaces and those characterized by a high curvature. The workability of the method has been demonstrated by the example of determining the surface tension for critical nuclei of water droplets upon condensation of water vapor. The calculation has been performed at temperatures of 273–373 K and a pressure of 1 atm, thus making it possible to determine the temperature dependence of the surface tension for water droplets and compare the results obtained with experimental data and the simulation results for a “planar” vapor–liquid interface.