If we consider that a electron and a proton are at rest kept in isolation, then the energy associated with their (rest) mass is given by Einstein's mass-energy equivalence formula.
The equivalent energy of a particle at rest is given as , where, is the energy, is the rest mass of the particle and is the speed of light in vacuum.
The mass of a proton is about times the mass of an electron.