Light comes in packets called photons, and the energy of each one depends only on its wavelength. This calculator gives the energy of a photon in electronvolts and attojoules, its frequency and wavenumber, and the number of photons per second for a source of a given power, such as a laser pointer.
How the calculation works
- Photon energy E = h × c ÷ wavelength, or in electronvolts E = 1239.84 ÷ wavelength in nm
- Frequency f = c ÷ wavelength, in terahertz (c = 299,792,458 m/s)
- Wavenumber = 1 ÷ wavelength, in cm⁻¹
- Photons per second = power ÷ energy of one photon
Planck’s constant is h = 6.62607015 × 10⁻³⁴ J·s, and 1 eV = 1.602176634 × 10⁻¹⁹ J.
Example
A green laser pointer with a wavelength of 532 nm and a power of 5 mW. One photon carries 2.331 eV, or 0.3734 aJ. The frequency is 563.5 THz and the wavenumber 18,797 cm⁻¹. The beam emits 0.005 ÷ 3.734 × 10⁻¹⁹ = 1.34 × 10¹⁶ photons per second, or about 13,390 trillion.
Why it matters
The photon energy decides what light can do. A photon must carry enough energy to excite an atom, free an electron from a metal, or bridge the gap of a semiconductor. That is why a red light does not tan skin, a silicon solar cell cannot use infrared beyond 1,100 nm, and a blue LED needs a wider band gap than a red one.
Good to know
Wavelength is measured in vacuum here; in water or glass the wavelength shortens but the photon energy stays the same. A wavelength of 400 to 700 nm is visible light, shorter is ultraviolet, X-ray and gamma, longer is infrared, microwave and radio. The photon count assumes all the power is at one wavelength. This tool is for education.
Related tools
The wavelength calculator converts between frequency and wavelength, the de Broglie wavelength calculator handles particles, and the photoelectric effect calculator finds the energy of ejected electrons.