This question already has an answer here:
As a student in a highschool physics class, my teacher has repeatedly told me that photons are massless. Yet, I have also heard from other sources that photons have momentum. If photons were to have momementum, that would mean that they have mass as according to p = mv.
Do photons really have mass?
Also, how would this mass be calculated?