A proton's electrical charge is equal in magnitude but opposite in sign to that of an electron.