QuestionQuantum physics

How Do You Calculate the Energy of a Photon? E = hf

White light split into a spectrum of colors by a triangular prism
White light split into a spectrum of colors by a triangular prism. Image: PhysicsEtc (CC0), via Wikimedia Commons

The energy of a photon is E = hf, where E is the energy in joules, h is the Planck constant (6.62607015 × 10⁻³⁴ J·s) and f is the frequency in hertz. Because frequency and wavelength are linked by the speed of light, you can also write E = hc ÷ λ. A green photon with a wavelength of 500 nm carries about 3.97 × 10⁻¹⁹ J, or 2.48 eV.

Contents

The full answer

Start by finding which quantity the question gives you. If it gives the frequency, use E = h × f. If it gives the wavelength, use E = h × c ÷ λ. Both give the same result, because light always obeys c = λ × f.

E = h × f = h × c ÷ λ

Energy (J) equals the Planck constant (J·s) times the frequency (Hz), which is the same as the Planck constant times the speed of light (m/s) divided by the wavelength (m). Both h and c have exact values, so the only measured quantity in the calculation is the wavelength or frequency you are given.

Convert all units to SI before you multiply. Nanometres become metres by multiplying by 10⁻⁹, and terahertz becomes hertz by multiplying by 10¹². For a 500 nm photon, the wavelength is 5.00 × 10⁻⁷ m. First multiply h by c, which gives 1.98645 × 10⁻²⁵ J·m, and then divide by the wavelength:

E = (6.62607015 × 10⁻³⁴ × 299,792,458) ÷ (5.00 × 10⁻⁷) ≈ 3.97 × 10⁻¹⁹ J

The result is in joules. To express it in electronvolts, divide by 1.602176634 × 10⁻¹⁹ J per electronvolt. That gives 3.97 × 10⁻¹⁹ ÷ 1.602 × 10⁻¹⁹ ≈ 2.48 eV, which is the energy the question usually expects for green light.

Why the formula works

The Planck constant is the conversion factor between a photon’s frequency and its energy. Max Planck found that the energy of a radiating system changes in steps, and that each step is proportional to frequency. Einstein used the same relation for light itself, so a photon of higher frequency has proportionally more energy, while a photon of lower frequency has less.

The speed of light connects frequency and wavelength. In a vacuum, light travels 299,792,458 m/s, which equals wavelength multiplied by frequency. A given frequency therefore corresponds to exactly one wavelength, and it is convenient to use whichever one the question gives. The formula E = hc ÷ λ shows directly that energy is inversely proportional to wavelength.

The formula is the same for every photon, from radio waves to gamma rays. Only the value of f or λ changes. The full background is in the photon article, and the Planck constant itself is described on the Planck constant page.

An everyday example

Visible light is a narrow band of photon energies. Red light at 700 nm has energy 1,240 ÷ 700 ≈ 1.77 eV, and violet light at 400 nm has about 3.10 eV. The difference is why violet light can cause changes in a molecule that red light cannot, even when both beams are equally bright.

A prism shows this difference directly. White light is a mix of wavelengths, and the prism bends each wavelength by a different amount, which spreads the beam into a spectrum from red to violet. The red end carries the lowest photon energy in the visible range, and the violet end carries the highest.

Ultraviolet light, which lies just beyond violet, has shorter wavelengths and more energy per photon. This extra energy is why UV light can break chemical bonds in plastics and skin, a process explained in visible light.

Why shorter wavelengths carry more energy

Readers often ask why a shorter wavelength means more energy when a short wave seems smaller. The short wavelength is not a smaller amount of energy, but a faster rate of oscillation. Each photon of a short-wavelength wave completes its cycle more often each second, and the Planck relation turns that higher frequency directly into higher energy.

The relation also explains why the energy of a photon is always given in the same units as the constant. If the wavelength is in metres, the product h × c has units of J·m, and dividing by metres gives joules. If the wavelength is in nanometres, the shortcut E ≈ 1,240 ÷ λ gives electronvolts directly, because 1,240 eV·nm is hc in those units.

For a more detailed explanation of the eV unit and its conversions, see how to convert electronvolts to joules.

Common misconceptions

The first misconception is that brighter light has more energy per photon. Brightness is the number of photons per second, while the energy of each photon depends only on its frequency. Doubling the brightness of a 500 nm beam doubles the number of photons and leaves the energy of each one at 2.48 eV.

The second misconception is to use the wavelength in nanometres inside E = hc ÷ λ without converting it to metres. The answer will then be about a billion times too large. Converting with the factor 10⁻⁹ first avoids this error.

The third misconception is that light slows down its frequency when it enters glass. Frequency stays the same in a new medium, and it is the wavelength that becomes shorter. Because E = hf depends only on frequency, the photon’s energy does not change when it enters glass.

Frequently asked questions

What is the formula for the energy of a photon?

The energy of a photon is E = hf, where h is the Planck constant, 6.62607015 × 10⁻³⁴ J·s, and f is the frequency in hertz. Because f = c/λ, the same energy can be written as E = hc/λ.

How do you convert photon energy from joules to electronvolts?

Divide the energy in joules by 1.602176634 × 10⁻¹⁹, the number of joules in one electronvolt. For a 500 nm photon, 3.97 × 10⁻¹⁹ J divided by that value gives about 2.48 eV.

Does a photon with a shorter wavelength have more energy?

Yes. Energy is inversely proportional to wavelength, so halving the wavelength doubles the energy. Ultraviolet photons therefore carry more energy than visible photons of the same brightness.

What is the Planck constant?

The Planck constant, h, is a fundamental constant that links energy and frequency. Since 2019 its value has been fixed exactly at 6.62607015 × 10⁻³⁴ J·s in the SI system.

What is the energy of a visible light photon?

Visible photons carry about 1.77 eV at 700 nm (red) and about 3.10 eV at 400 nm (violet). These values come from the shortcut E ≈ 1,240 ÷ λ, with λ in nanometres.

Sources and further reading

  • NIST, "CODATA Fundamental Physical Constants"
  • OpenStax, "College Physics 2e"
  • OpenStax, "Chemistry 2e"

Cite this page

“How Do You Calculate the Energy of a Photon? E = hf.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-you-calculate-the-energy-of-a-photon/.

More about Photon