Convert photon energy to wavelength, such as eV to nm, or wavelength back to energy in eV and joules using E = hc/λ, with the frequency shown too.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Wavelength and frequency from energy | Converts a photon energy to its wavelength in vacuum and its frequency | Requires the photon energy in J, kJ, cal or eV |
| Energy and frequency from wavelength | Converts a vacuum wavelength to photon energy and frequency | Requires the wavelength in m, cm, nm or Å |
| Wavelength and energy from frequency | Converts a frequency to vacuum wavelength and photon energy | Requires the frequency in Hz, kHz, MHz or GHz |
| Check two or three known values | Tests whether an energy, a wavelength and a frequency describe the same photon | Requires at least two of the three values |
Every result shows the wavelength in nm, the energy in eV and in joules, and the frequency in Hz. The calculation details repeat each value in the other units: kJ and cal for energy, m, cm and Å for wavelength, and kHz, MHz and GHz for frequency.
Energy to Wavelength Formulas
| λ | Wavelength of the photon in vacuum (m) |
| h | Planck constant, exactly 6.62607015 × 10−34 J·s [2] |
| c | Speed of light in vacuum, exactly 299,792,458 m/s [3] |
| E | Photon energy (J) |
The formula joins two relations for light: energy equals the Planck constant times frequency, and wavelength equals the speed of light divided by frequency [1]. One electronvolt is exactly 1.602176634 × 10−19 J [4], so with energy in eV and wavelength in nm the formula becomes λ = 1,239.841984 ÷ E.
Wavelength and frequency from energy
The energy is converted to joules and divided by the Planck constant to get the frequency f, and the wavelength is c ÷ f. A 2 eV photon has a frequency of 4.83598 × 1014 Hz and a wavelength of 619.921 nm.
Energy in eV to Wavelength in nm
| Energy (eV) | Wavelength (nm) |
|---|---|
| 0.5 | 2,479.684 |
| 0.8 | 1,549.802 |
| 1 | 1,239.842 |
| 1.24 | 999.873 |
| 1.55 | 799.898 |
| 1.6 | 774.901 |
| 1.8 | 688.801 |
| 2 | 619.921 |
| 2.2 | 563.565 |
| 2.33 | 532.121 |
| 2.5 | 495.937 |
| 2.7 | 459.201 |
| 3 | 413.281 |
| 3.1 | 399.949 |
| 3.5 | 354.241 |
| 4 | 309.960 |
| 4.66 | 266.061 |
| 5 | 247.968 |
| 6.2 | 199.975 |
| 10 | 123.984 |
Each row is 1,239.841984 divided by the energy in eV. The same table read right to left converts nm to eV.
Energy and frequency from wavelength
This is the main formula solved for energy. Green laser light at 532 nm carries 3.73392 × 10−19 J per photon, which is 2.33053 eV, at 5.6352 × 1014 Hz.
Wavelength and energy from frequency
The wavelength is λ = c ÷ f [1]. A frequency of 5 × 1014 Hz gives 599.585 nm and 2.067834 eV.
Check two or three known values
The calculator works out the photon from one entered value, using the frequency first, then the energy, then the wavelength, and compares every entered value with it. Values that agree within one part per million are reported as Consistent. Values that differ by more are rejected with a message to check the numbers and units: 2 eV with 619.921 nm passes, and 2 eV with 600 nm does not.
Limits of This Estimate
- The wavelength is the vacuum wavelength. Inside glass, water or another material the wavelength is shorter by the refractive index, while the frequency and energy stay the same.
- The formulas are for photons. The wavelength of an electron or another particle with mass follows a different relation.
- The energy is for one photon. A calorie here is the thermochemical calorie of 4.184 J.
Sources
- NASA Goddard Space Flight Center, Imagine the Universe, The Electromagnetic Spectrum: energy equals the Planck constant times frequency, and wavelength equals the speed of light divided by frequency
- NIST, CODATA Value: Planck constant: exact value of h
- NIST, CODATA Value: speed of light in vacuum: exact value of c
- NIST, CODATA Value: electron volt: exact value of 1 eV in joules

