Electron affinity (EA) is the amount of energy released when an electron is attached to a neutral atom or molecule in the gaseous state: X (g) + e- → X- (g)