An improved Wei potential energy function as a molecular potential model has not been widely reported probably due to its physical structure. In this study, the Feinberg–Horodecki (FH) equation is examined for the improved Wei energy potential function. To validate the calculations, the Feinberg–Horodecki equation is transformed into an energy equation by putting c=1, and Pn=En. Numerical results are generated for some molecules using the energy equation and the molecular spectroscopic constants for λ=-0.1,0, and 0.1. The predicted results for the energy eigenvalues are compared with the experimental data for four halogen molecules and four gallium halides. The results revealed that the negative values of λ do not produce values that align with the experimental data. It is also shown that the result obtained with λ=0 reproduces a better result for the improved Wei potential energy function than the result obtained with λ=0.1.