We know,
Mass of electron = Mass of positron = 9.1 × 10−31 kg
Both are oppositely charged and annihilate each other to form a gamma photon of rest mass zero. Thus,
∆m = me + mp = 2 × 9.1 × 10−31 kg
This mass will be converted into energy of the resulting γ photon. Thus,
Eγ= ∆mc2
Eγ = 2 × 9.1 × 10−31 × 9 × 1016 J