λ (lambda) is the wavelength in metres, h Planck’s constant, c the speed of light and E the
photon’s energy in joules.
It is photon energy E = hf with the frequency
swapped out: wave speed gives c = f · λ, so f = c / λ. The
formula says the same thing, but light is usually described by its wavelength.
The shortcut: 1240 divided by the wavelength
The product h · c is a constant. In electronvolts and nanometres it is almost exactly 1240:
- E (in eV) ≈ 1240 / λ (in nm)
| Light |
Wavelength |
Energy |
| Infrared (remote control) |
940 nm |
1.3 eV |
| Red |
700 nm |
1.8 eV |
| Green |
530 nm |
2.3 eV |
| Blue |
450 nm |
2.8 eV |
| Violet |
400 nm |
3.1 eV |
| UV-B |
300 nm |
4.1 eV |
That covers nearly every problem about visible light, without a calculator.
Worked examples
Green light at full precision. λ = 500 nm = 5 · 10⁻⁷ m gives
E = 6.626 · 10⁻³⁴ · 2.998 · 10⁸ / 5 · 10⁻⁷ = 3.97 · 10⁻¹⁹ J. The shortcut gives 1240 / 500 = 2.48 eV,
and 2.48 · 1.602 · 10⁻¹⁹ = 3.97 · 10⁻¹⁹ J. The same answer.
What wavelength has a 2 eV photon? λ = 1240 / 2 = 620 nm, orange.
An LED. A blue LED emits at 450 nm. Each photon carries 1240 / 450 ≈ 2.8 eV, which is why a blue LED
needs at least around 2.8 V to light, while a red one manages on about 2 V.
Common mistakes
- Putting nanometres into the full formula. With h and c in SI units, the wavelength has to be in
metres. 500 nm is 5 · 10⁻⁷ m, not 500.
- Using the shortcut and answering in joules. 1240 / λ gives electronvolts. Multiply by
1.602 · 10⁻¹⁹ for joules.
- Thinking a longer wavelength means more energy. It is the reverse: energy is inversely proportional
to wavelength. Double the wavelength, half the energy.
Frequently asked questions
Why exactly 1240?
h · c = 1.986 · 10⁻²⁵ J·m. Divided by 1.602 · 10⁻¹⁹ J per eV that is 1.240 · 10⁻⁶ eV·m, which is
1240 eV·nm. The number is not a new constant, just h and c in practical units.
Does the formula work in water or glass?
Use the wavelength in vacuum. Light slows down in glass and its wavelength shrinks, but the frequency,
and with it the photon’s energy, stays the same. Tables give the vacuum wavelength.