E = hf From this equation, it is clear that the energy of a photon is directly proportional to its frequency and inversely proportional to its wavelength. Thus as frequency increases (with a corresponding decrease in wavelength), the photon energy increases and visa versa.