The photon energy with its corresponding frequency, wavelength and distance can be determined by the main physical parameters (mass, distance, time) of the particles (electron, nucleon, molecule) as a result of their excitation, transition, vibration and rotation. The Planck's constant is interpreted which represents three main physical parameters (mass, distance, time) as a result of the physical mechanisms responsible for excited states of nuclei, atoms and molecules. As a result of equality between Planck's constant and the mentioned three physical parameters a new equation of calculating exact distance of all photons from nuclei, atoms and molecules from radio waves to gamma rays is deduced.