Photon energy is the energy carried by a single photon. The amount of energy is directly proportional to the photon's electromagnetic frequency and inversely proportional to the wavelength. The higher the photon's frequency, the higher its energy. Equivalently, the longer the photon's wavelength, the lower its energy.
Photon energy is solely a function of the photon's wavelength. Other factors, such as the intensity of the radiation, do not affect photon energy. In other words, two photons of light with the same color and therefore, same frequency, will have the same photon energy, even if one was emitted from a wax candle and the other from the Sun.
Photon energy can be represented by any unit of energy. Among the units commonly used to denote photon energy are the electronvolt (eV) and the joule (as well as its multiples, such as the microjoule). As one joule equals 6.24 × 1018 eV, the larger units may be more useful in denoting the energy of photons with higher frequency and higher energy, such as gamma rays, as opposed to lower energy photons, such as those in the radiofrequency region of the electromagnetic spectrum.
If photons are in fact massless, photon energy would not be related to mass through equivalence E = mc2. The only two observed kinds of so-called massless energetic particles are photons and gluons. [Citation Needed.] However, the claim that photons are massless is based on the crisis arising with other theories in quantum mechanics. In order for other math, such as gauge invariance and so-called "renormalization" to survive without considerable revision, photons must be kept massless in the realm of current equations.  The claim is also contested by other circles.  Photons are said to have relativistic mass (i.e. mass deriving from a material body's motion against another). Moreover, some hypotheses propose that all mass or "rest mass" might itself actually be composed of stacked relativistic mass, secondary to motion, since no material body is nor can be truly at "rest" relative to all fields. In this hypotheses, as motion becomes zero, mass also becomes zero. On the other hand, photons have motion and varying energy depending on the frequency and wavelength, suggesting that various forms of the photon each have different mass equivalence. Thus, "E = mc2" would show that mass and motion are inextricably linked and fundamentally interchangeable concepts for all matter. 
Where E is photon energy, h is the Planck constant, c is the speed of light in vacuum and λ is the photon's wavelength. As h and c are both constants, photon energy changes with direct relation to wavelength λ.
To find the photon energy in electronvolts, using the wavelength in micrometres, the equation is approximately
Therefore, the photon energy at 1 μm wavelength, the wavelength of near infrared radiation, is approximately 1.2398 eV.
Since , where f is frequency, the photon energy equation can be simplified to
This equation is known as the Planck-Einstein relation. Substituting h with its value in J⋅s and f with its value in hertz gives the photon energy in joules. Therefore, the photon energy at 1 Hz frequency is 6.62606957 × 10−34 joules or 4.135667516 × 10−15 eV.
An FM radio station transmitting at 100 MHz emits photons with an energy of about 4.1357 × 10−7 eV. This minuscule amount of energy is approximately 8 × 10−13 times the electron's mass (via mass-energy equivalence).
The highest energy gamma rays detected to date, very-high-energy gamma rays, have photon energies of 100 GeV to 100 TeV (1011 to 1014 electronvolts) or 0.016 microjoules to 0.016 millijoules. This corresponds to frequencies of 2.42 × 1025 to 2.42 × 1028 Hz.
A photon with a wavelength equal to the Planck length would have an energy of about 7.671 × 1028 eV or 1.229 × 1010 joules (12.29 gigajoules). This is roughly the amount of energy produced by the world's most powerful coal-fired power station, the Taichung Power Plant, during a period of 2.25 seconds.
During photosynthesis, specific chlorophyll molecules absorb red-light photons at a wavelength of 700 nm in the Photosystem I, corresponding to an energy of each photon of ≈ 2 eV ≈ 3 x 10−19 J ≈ 75 kBT, where kBT denotes the thermal energy. A minimum of 48 photons is needed for the synthesis of a single glucose molecule from CO2 and water (chemical potential difference 5 x 10−17 J) with a maximal energy conversion efficiency of 35%.
- "What is the mass of a photon?". http://math.ucr.edu. Retrieved 8 September 2017. External link in
- "Unifying the Photon". Retrieved 8 September 2017.
- "100 years of General Relativity—Part One". World Socialist Website. International Committee of the Fourth International. Retrieved 8 September 2017.
- "Energy of Photon". Photovoltaic Education Network, pveducation.org. Retrieved 2015-06-21.
- Andrew Liddle (27 April 2015). An Introduction to Modern Cosmology. John Wiley & Sons. p. 16. ISBN 978-1-118-69025-3.