
Photons do not have a dynamic mass. When photons are in motion, the mass is almost negligible, as velocity increses by many folds. Thus, photons only have rest mass, when they are not in motion, and that is equal to the mass of an electron = 9.31 x 10-31 kg.