Photon Energy Calculator
Work out the energy of a photon from its wavelength using Planck’s relation, in both joules and electronvolts.
This calculator returns the energy of a single photon in joules and electronvolts, and it back-solves the wavelength from a known energy. At the default 500 nm — blue-green light in the middle of the visible band — the energy is 3.976 × 10⁻¹⁹ J, or 2.48 eV. That is the number that decides whether a photon can break a chemical bond or excite an electron across a band gap.
The formula
h is Planck’s constant, 6.626 × 10⁻³⁴ J·s, and c is 299,792,458 m/s. Their product hc is a fixed 1.986 × 10⁻²⁵ J·m, so photon energy is that constant divided by the wavelength in metres. Convert nanometres to metres first: 500 nm is 5 × 10⁻⁷ m.
Dividing by the elementary charge, 1.602 × 10⁻¹⁹ C, converts joules to electronvolts. The eV is the working unit in optics and semiconductors because band gaps and molecular bonds sit in the 1–10 eV range, where joules become unwieldy powers of ten.
The 1,240 shortcut
Combine the constants once and you get a rule worth memorising: E in eV = 1,240 ÷ wavelength in nm. At 500 nm that is 2.48 eV, at 700 nm 1.77 eV and at 400 nm 3.10 eV. The shortcut is accurate to better than 0.1% and removes the need for a calculator on most problems.
Worked example at the defaults
Take 500 nm. Convert to metres: 500 × 10⁻⁷ = 5 × 10⁻⁷ m. Multiply h by c: 6.626 × 10⁻³⁴ × 2.998 × 10⁸ = 1.986 × 10⁻²⁵. Divide by 5 × 10⁻⁷: 3.976 × 10⁻¹⁹ J. Divide by 1.602 × 10⁻¹⁹: 2.48 eV.
The joule figure looks small, and it is: one photon carries 3.976 × 10⁻¹⁹ J, so a 1 W beam of 500 nm light delivers 1 ÷ 3.976 × 10⁻¹⁹ = 2.52 × 10¹⁴ photons every second. A 5 mW laser pointer emits about 1.26 × 10¹⁶ photons per second, enough to be seen from a kilometre away.
- At 1,000 nm the energy halves to 1.24 eV, just below the silicon band gap
- At 250 nm it doubles to 4.96 eV, deep in the ultraviolet
- At 10 nm it reaches 124 eV, where photons start ionising inner-shell electrons
Photon energy across the spectrum
| Wavelength | Energy (eV) | Energy (J) | Region |
|---|---|---|---|
| 1,000 nm | 1.24 | 1.99 × 10⁻¹⁹ | Near infrared |
| 700 nm | 1.77 | 2.84 × 10⁻¹⁹ | Red |
| 550 nm | 2.25 | 3.61 × 10⁻¹⁹ | Green |
| 400 nm | 3.10 | 4.97 × 10⁻¹⁹ | Violet |
| 250 nm | 4.96 | 7.95 × 10⁻¹⁹ | Ultraviolet |
| 10 nm | 124 | 1.99 × 10⁻¹⁷ | Soft X-ray |
The table runs from 1.24 to 124 eV, a factor of 100 for a factor of 100 in wavelength, because the relationship is a simple inverse. Note that the visible band spans only 1.77 to 3.10 eV, a narrow window, yet that window covers every colour you see and sets the band gaps that make solar cells and LEDs work.
What moves the number
- Wavelength is inversely proportional, so halving it doubles the energy
- The medium matters: in glass the speed falls, the wavelength shortens, but the photon energy stays the same
- Intensity changes the number of photons, never the energy of each one
- The 1,240 shortcut makes mental estimates easy and is accurate to 0.1%
- Energy above roughly 10 eV means ionising radiation, with the biological effects that follow
Band gaps and the photoelectric effect
A semiconductor absorbs a photon only if its energy exceeds the band gap. Silicon’s gap is 1.12 eV, so the cutoff is 1,240 ÷ 1.12 = 1,107 nm, which is why silicon solar cells respond to the whole visible band plus the near infrared but ignore longer wavelengths entirely. Gallium arsenide at 1.42 eV cuts off at 873 nm.
Why ultraviolet damages skin
The carbon–carbon bond in DNA needs about 3.5 eV to break, which corresponds to 354 nm. Ultraviolet B at 300 nm carries 4.13 eV, comfortably above the threshold, while visible light at 500 nm carries 2.48 eV and cannot do the same damage. That single comparison explains why sunscreen matters and why visible light does not cause sunburn.
Counting photons from power
Divide the optical power by the energy per photon to get a photon rate. A 1 W, 500 nm source gives 2.52 × 10¹⁴ photons per second; the same 1 W at 1,000 nm gives twice as many, 5.03 × 10¹⁴, because each photon carries half the energy.
This is why photon-counting detectors are specified in counts per second rather than watts, and why a red laser and a blue laser of equal power deliver different numbers of photons. It also sets the quantum efficiency ceiling of a camera sensor: one photon yields at most one electron, so the signal is fundamentally a count.
Mistakes with wavelength and energy
- Leaving the wavelength in nanometres, which inflates the energy by 10⁹
- Confusing joules with electronvolts, a factor of 1.602 × 10⁻¹⁹
- Assuming photon energy changes when light enters glass, when only speed and wavelength change
- Treating a brighter beam as having more energetic photons, when it only has more of them
A sanity check on any result: 500 nm must give 2.48 eV, 1,000 nm must give 1.24 eV and 250 nm must give 4.96 eV. If your answer is 2.48 keV at 500 nm, the wavelength was likely entered in picometres rather than nanometres.
Frequently asked questions
How do I calculate photon energy?
Divide hc by the wavelength. At 500 nm, 1.986 × 10⁻²⁵ ÷ 5 × 10⁻⁷ = 3.976 × 10⁻¹⁹ J, which is 2.48 eV.
How do I convert photon energy to eV?
Divide joules by 1.602 × 10⁻¹⁹. The 500 nm photon at 3.976 × 10⁻¹⁹ J becomes 2.48 eV.
Why do shorter wavelengths carry more energy?
Energy is inversely proportional to wavelength, so halving the wavelength doubles the energy. 1,000 nm gives 1.24 eV and 500 nm gives 2.48 eV.
What is the energy of a 400 nm photon?
1,240 ÷ 400 = 3.10 eV, or 4.97 × 10⁻¹⁹ J. That is violet light, near the edge of human vision.
How many photons per second in a 1 W beam?
At 500 nm, 1 ÷ 3.976 × 10⁻¹⁹ = 2.52 × 10¹⁴ photons per second. At 1,000 nm the same power carries 5.03 × 10¹⁴.
What wavelength does a 1.12 eV silicon band gap absorb?
Up to 1,240 ÷ 1.12 = 1,107 nm. Longer wavelengths pass through, which is why silicon cells stop responding in the mid-infrared.
Does photon energy change in glass?
No. Speed and wavelength both fall by the refractive index, but their product and the photon energy stay the same, so a 2.48 eV photon is still 2.48 eV inside the glass.
What is 124 eV in wavelength?
10 nm. The 1,240 shortcut works both ways: 1,240 ÷ 124 = 10 nm, in the soft X-ray band.
Why is ultraviolet harmful but visible light not?
The DNA bond threshold is about 3.5 eV, or 354 nm. UVB at 300 nm carries 4.13 eV and clears it, while 500 nm visible light at 2.48 eV does not.
Does a brighter light have more energetic photons?
No. Brightness is photon count. Doubling the power doubles the number of 2.48 eV photons but leaves each photon at 2.48 eV.
Method and sources
- Photon energy E = hc / λ, with Planck constant h = 6.626 × 10⁻³⁴ J·s and c = 3 × 10⁸ m/s.