In a dynamic nonequilibrium process, the effective heat of formation allows the heat of formation to be calculated as a function of concentrations of the reacting atoms. In this work, we used the effective heat of formation rule to predict the formation and size of compound phases in a nanoscale Sn-Ag-Cu lead-free solder. We calculated the formation enthalpy and effective formation enthalpy of compounds in the Sn-Ag, Sn-Cu, and Ag-Cu systems by using the Miedema model and effective heat of formation. Our results show that, considering the surface effect of the nanoparticle, the effective heat of formation rule successfully predicts the phase formation and sizes of Ag3Sn and Cu6Sn5 compounds, which agrees well with experimental data.