In this study we present a new approach for computing the partial atomic charge derived from the wavefunctions of molecules. This charge, which we call the "y-charge", was calculated by taking into account the energy level and orbital populations in each molecular orbital (MO). The charge calculations were performed in the software, which was developed by us, developed using the C# programming language. Partial atomic charges cannot be calculated directly from quantum mechanics. According to a partitioning function, the electron density of constituent molecular atoms depends on the electrostatic attraction field of the nucleus. Taking into account the Boltzmann population of each MO as a function of its energy and temperature we obtain a formula of partial charges