You know the mass of the electron and you know the speed of light. Just plug those into [tex]E=mc^2[/tex]. You will have an energy value in terms of joules. Since you also know that one electronvolt is equivalent to [tex]1.602*10^-^1^9[/tex] joules, you can find the energy value in terms of electronvolts instead. Rearrange the original expression and you can reexpress the mass in terms of [tex]MeV/c^2[/tex].
It is amazing how much confusion such a deceptively simple formula can generate. First calculate the rest mass of an electron:
[tex]\begin{split*} E_e = m_ec^2 \\<br />
\ = 9.11 \times 10^{-31} \times (3.0 \times 10^8)^2 \\<br />
\ = 8.2 \times 10^{-14} \ joule \\<br />
\ = 512 \ keV \\<br />
\ = 0.512 \ MeV \\<br />
\ m_ec^2=0.512 \ MeV\end{split*}[/tex]
Now get the mass in the "strange" new units:
[tex]m_e=0.512 \ MeV/{c^2}[/tex]