the energy of a photon can be computed from its frequency ν or wavelength λ. these are related to each other by planck's relation, e = hν = hc/λ, where h is the planck constant (6.626×10−34 joule-seconds). knowing either frequency or wavelength, you can compute the photon's momentum.