Question: how to calculate frequency and wavelength of a photon?
Answer: The energy E, frequency f, and wavelength λ of a Photon are related as follows: E=hf=hc/λ, where c is the speed of light and h is Planck's constant. So, given any one, the other two can be easily calculated. (This is assuming the photon is propagating in a vacuum.