The kinetic energy of a photon of frequency , rest mass , having mass m while moving with velocity v is
The total energy of photon is its kinetic energy, as rest mass energy of a photon is zero. As total energy of a photon . Therefore the kinetic energy of a photon is equal to total energy rest mass energy