Skip to content
LoveToCalc

Definition — what does that mean?

Photon energy from wavelength

The shorter the wavelength, the more energy — and in the right units it is mental arithmetic.

In Swedish: Fotonenergi ur våglängd

Photon energy from wavelength

The relation

E=hcλ

The same photon energy, from the wavelength instead of the frequency. The shorter the wave, the more energy it carries.

Solve for

E≈3.973 × 10⁻¹⁹

E is approximately (6.626 times 10 to the power of minus 34 times 299,792,458) divided by 5 times 10 to the power of minus 7, is approximately 1.986 times 10 to the power of minus 25 divided by 5 times 10 to the power of minus 7, is approximately 3.973 times 10 to the power of minus 19

Working3 steps

The formula

λ (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:

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

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.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
hEλc3.973 × 10⁻¹⁹·5 × 10⁻⁷299,792,4586.626 × 10⁻³⁴
cEλh3.973 × 10⁻¹⁹·5 × 10⁻⁷6.626 × 10⁻³⁴299,792,458
λhcE6.626 × 10⁻³⁴·299,792,4583.973 × 10⁻¹⁹5 × 10⁻⁷
Ehcλ6.626 × 10⁻³⁴·299,792,4585 × 10⁻⁷3.973 × 10⁻¹⁹

The electromagnetic spectrum

Table

The electromagnetic spectrum
RadiationShortest wavelength (m)Longest wavelength (m)Lowest frequency (Hz)Highest frequency (Hz)
Radio waves0.1No limitNo limit3,000,000,000
Microwaves0.0010.13,000,000,000300,000,000,000
Infrared7 × 10⁻⁷0.001300,000,000,0004 × 10¹⁴
Visible light4 × 10⁻⁷7 × 10⁻⁷4 × 10¹⁴7.5 × 10¹⁴
Ultraviolet1 × 10⁻⁸4 × 10⁻⁷7.5 × 10¹⁴3 × 10¹⁶
X-rays1 × 10⁻¹¹1 × 10⁻⁸3 × 10¹⁶3 × 10¹⁹
Gamma raysNo limit1 × 10⁻¹¹3 × 10¹⁹No limit

Sources

(1)

Last reviewed October 6, 2026 ·How pages are reviewed

Modern physicsAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.