In physics and chemistry, ionization energy (IE) is the minimum energy required to remove the most loosely bound electron(s) (the valence electron(s)) of an isolated gaseous atom, positive ion, or molecule. The first ionization energy is quantitatively expressed as
where X is any atom or molecule, X is the resultant ion when the original atom was stripped of a single electron, and e is the removed electron. Ionization energy is positive for neutral atoms, meaning that the ionization is an endothermic process. Roughly speaking, the closer the outermost electrons are to the nucleus of the atom, the higher the atom's ionization energy.