The photon energy is equal to

We also know that the energy of a photon is equal to

where h is the Planck constant and f is the photon frequency. By re-arranging this equation, we can find the photon frequency:

And now we can find its wavelength by using the relationship between frequency, wavelength and a speed of a photon (which is the speed of light, c):
