# If photons are deflected by a strong gravitational field, then how come photons do not have mass? [duplicate]

It has been proved and showed through experiments that light can be bent by the Sun or any other body with considerable mass. Also light is nothing but photons. So can these photons be attracted by massive bodies if they have no mass?

• This has been adressed ad-nauseum. Photons have energy, which is "relativistic mass" (meaning just energy divided by c^2 so that it gets units of mass) and "relativistic mass" is the source of gravity, not "rest mass". The rest mass is zero, but the energy is not, and energy is the source of gravity. There are at least two other questions here about this, but I don't remember which. Dec 30, 2011 at 13:33
• If photons have no mass, how can they have momentum? and Explain how (or if) a box full of photons would weigh more due to massless photons both go to the same basic point. The question is well answered by accepting that the mathematics really represent how the world works and not trying to cram the situation on to a intuition based on a less complete theory. Dec 30, 2011 at 14:47

By Einstein's special theory of relativity, the energy and relativistic mass of a body are related by $E=mc^2$. This works both ways. A massive body has energy, and a body with energy has mass. A photon has energy $h\nu$, so it has (relativistic) mass $\frac{h\nu}{c^2}$. Note that it still has 0 rest mass--rest mass is $\frac{E\sqrt{1-v^2/c^2}}{c^2}$. It will be deflected by gravity, but only a tiny bit (due to its tiny mass). And no, in General Relativity, acceleration due to gravity is not independent of mass as Galileo thought.