Energy & Wavelength Converter

Type in any field and all the others update. It converts photon wavelength, wavenumber, and frequency to energy per particle, molar energy, and temperature equivalent, using the CODATA 2022 constants. Use it for nm to eV, eV to nm, nm to wavenumber (cm⁻¹), and kJ/mol to eV conversions.

Key terms
Photon energy
The energy carried by one particle of light. It rises as the wavelength gets shorter: a 1240 nm photon carries 1 eV, a 620 nm photon 2 eV.
Electronvolt (eV)
The energy an electron gains across 1 volt, 1.602 × 10⁻¹⁹ J. Visible photons carry about 1.8 to 3.1 eV (700 to 400 nm).
Frequency
How many times per second the light wave oscillates, in terahertz (THz) or hertz. Visible light is about 430 to 750 THz.
Wavenumber
The number of wavelengths in one centimeter, in cm⁻¹: 10 000 divided by the wavelength in micrometers. It is proportional to energy and is the usual unit in infrared and Raman spectroscopy.
Vacuum and air wavelength
Light is slightly slower in air, so its wavelength there is about 0.03 % shorter. This converter uses vacuum wavelengths; many tables of visible lines list air wavelengths.
Hartree and rydberg
Atomic units of energy used in atomic physics and quantum chemistry. One hartree is 27.21 eV; one rydberg is half that, 13.61 eV, close to the energy needed to ionize a hydrogen atom.
Molar energy
Energy per mole (6.022 × 10²³ photons or molecules), in kJ/mol or kcal/mol, the way chemists quote bond and reaction energies. 1 eV per molecule is 96.49 kJ/mol.
Temperature equivalent
The temperature at which the typical thermal energy kBT equals the given energy. Room temperature, 298 K, corresponds to 25.7 meV.

Convert

Photon

nm
µm
cm⁻¹
THz
Hz

Energy per particle

eV
meV
Eh
Ry
J

Molar & thermal

kJ/mol
kcal/mol
K
Spectral region: —
Common lines (nominal vacuum wavelengths)

How it is calculated

Each field is a different way of writing the same energy \(E\). For a photon,

\[ \begin{gathered} E = h\nu = \frac{hc}{\lambda} = hc\,\tilde{\nu}, \\[4pt] \tilde{\nu}\,[\text{cm}^{-1}] = \frac{10^{7}}{\lambda\,[\text{nm}]} . \end{gathered} \]

Molar energy multiplies by Avogadro’s number, \(E_m = N_A E\). The temperature equivalent divides by Boltzmann’s constant, \(T = E/k_B\): it is the temperature at which \(k_BT\) equals the energy. Whichever field you type in is converted to an energy in joules, and every other field is computed from that energy. In the SI, \(h\), \(c\), \(e\), \(k_B\), and \(N_A\) are defining constants with exact values (BIPM), and the thermochemical calorie is exactly 4.184 J (NIST SP 811). Apart from the measured relative uncertainty of the Hartree energy, 1.1 × 10⁻¹², the only error is floating-point rounding; results are shown to 7 significant figures.

Quick reference

eVcm⁻¹kJ/molkcal/molK
1 eV18065.54496.485323.060511 604.52
1 Eh27.21139219 474.632625.500627.5095315 775.0
1 cm⁻¹1.239842 × 10⁻⁴10.01196270.002859141.438777
1 kJ/mol0.010364383.593510.239006120.272
1 kcal/mol0.0433641349.7554.1841503.2195

Useful anchors: \(hc = 1239.842\) eV·nm, so a 1240 nm photon carries about 1 eV. One wavenumber corresponds to 29.979 GHz. Thermal energy at room temperature (298.15 K) is \(k_BT \approx 207.2\) cm⁻¹ = 25.69 meV = 2.479 kJ/mol.

Worked example

The default input is the 1064 nm Nd:YAG line. Its wavenumber is \(\tilde\nu = 10^7/1064 = 9398.496\) cm⁻¹ and its frequency \(\nu = c/\lambda = 281.7598\) THz. The photon energy is \(E = 1239.842/1064 = 1.165265\) eV, or 1.86696 × 10⁻¹⁹ J. A mole of these photons carries 112.431 kJ (26.87165 kcal), and the temperature equivalent \(E/k_B\) is 13 522.34 K.

Why spectroscopists use wavenumbers

The wavenumber \(\tilde\nu\) is proportional to energy, unlike wavelength, so spacings between levels add and subtract linearly. A vibrational fundamental at 3000 cm⁻¹ and its overtone near 6000 cm⁻¹ sit at proportional positions, while in wavelength they appear at 3.33 µm and 1.67 µm. Fourier-transform (FTIR) spectrometers measure in wavenumber directly, because the interferogram transforms into a spectrum evenly spaced in cm⁻¹ (Griffiths and de Haseth); a grating, by contrast, disperses light by wavelength. Wavenumbers are also easy to read for chemists: 1 kcal/mol ≈ 350 cm⁻¹.

Vacuum versus air wavelengths

The converter works with vacuum wavelengths. Visible and near-IR lines are often tabulated in standard air: NIST’s Atomic Spectra Database, for example, lists lines between 200 and 2000 nm in air by default. In air \(\lambda_\text{air} = \lambda_\text{vac}/n\), with \(n - 1 \approx 2.7\text{–}2.9 \times 10^{-4}\). The difference is about 0.175 nm at 633 nm (632.991 nm in vacuum is 632.816 nm in standard air), which matters for line identification and spectrometer calibration but not for most laser-process work. For 300–1690 nm, the range Ciddor gives for it, the panel above shows the standard-air wavelength from Ciddor’s dispersion equation (15 °C, 101.325 kPa, dry, 450 ppm CO₂). The Peck and Reeder formula that NIST’s database uses (330 ppm CO₂) differs from it by less than 2 × 10⁻⁸ in \(n\) over this range, below the precision shown.

\[ \begin{aligned} (n-1)\times10^{8} &= \frac{5\,792\,105}{238.0185 - \sigma^2} \\ &\quad + \frac{167\,917}{57.362 - \sigma^2}, \\[4pt] \sigma &= 1/\lambda_\text{vac}\ [\mu\text{m}^{-1}] \end{aligned} \]

Constants used

QuantitySymbolValue
Speed of lightc299 792 458 m/s (exact)
Planck constanth6.626 070 15 × 10⁻³⁴ J·s (exact)
Elementary chargee1.602 176 634 × 10⁻¹⁹ C (exact)
Boltzmann constantkB1.380 649 × 10⁻²³ J/K (exact)
Avogadro constantNA6.022 140 76 × 10²³ mol⁻¹ (exact)
Hartree energyEh4.359 744 722 2060(48) × 10⁻¹⁸ J
Thermo­chemical caloriecal4.184 J (exact)

References

Primary sources and standards

  1. P. J. Mohr, D. B. Newell, B. N. Taylor, and E. Tiesinga, “CODATA recommended values of the fundamental physical constants: 2022,” Rev. Mod. Phys. 97, 025002 (2025), doi:10.1103/RevModPhys.97.025002 (all constants; the Hartree energy and its uncertainty). The same values are online at NIST, Fundamental Physical Constants.
  2. Bureau International des Poids et Mesures, The International System of Units (SI), 9th ed. (2019, updated 2026), doi:10.59161/AUEZ1291 (the exact defining constants h, c, e, kB, NA).
  3. A. Thompson and B. N. Taylor, Guide for the Use of the International System of Units (SI), NIST Special Publication 811 (2008), doi:10.6028/NIST.SP.811e2008, Appendix B.9 (the thermochemical calorie, exactly 4.184 J).
  4. P. E. Ciddor, “Refractive index of air: new equations for the visible and near infrared,” Appl. Opt. 35, 1566–1573 (1996), doi:10.1364/AO.35.001566 (the standard-air dispersion equation above).
  5. E. R. Peck and K. Reeder, “Dispersion of air,” J. Opt. Soc. Am. 62, 958 (1972), doi:10.1364/JOSA.62.000958 (the formula behind the air wavelengths in NIST’s Atomic Spectra Database).
  6. ISO 21348:2007, Space environment (natural and artificial) — Process for determining solar irradiances. The EUV (10–121 nm), UV-B (280–315 nm), and UV-A (315–400 nm) bands on this page follow its definitions; because ISO’s VUV (10–200 nm) and UV-C (100–280 nm) overlap EUV, this page labels 121–200 nm as VUV and 200–280 nm as UV-C. The other edges follow common photonics usage rather than ISO: X-ray below 10 nm and gamma ray below 0.01 nm (ISO: below 0.001 nm), visible 400–700 nm (ISO: 380–760 nm), NIR to 1.4 µm, SWIR to 3 µm, MWIR 3–8 µm, LWIR 8–15 µm (ISO: IR-A, IR-B, IR-C), and microwave from 1 mm to 1 m (ISO: 1 mm to 1.5 cm).
  7. P. R. Griffiths and J. A. de Haseth, Fourier Transform Infrared Spectrometry, 2nd ed., Wiley-Interscience (2007), doi:10.1002/047010631X (why FTIR spectra come out evenly spaced in wavenumber).

Textbooks

Free introductions