Skip to content
Calc.

Photon Energy and Frequency Calculator

Convert between a photon's wavelength, frequency and energy (eV or joules) with E = hν = hc/λ, including a refractive-index correction for wavelengths measured in glass or water.

Last updated: October 2026

Photon Energy

2.48 eV

Formula below · 3 sources (physics.nist.gov, NIST, openstax.org) · Updated Oct 2026

Compare with similar

About this calculator

A photon's energy is set by its frequency:

E = h × ν = h × c ÷ λ

h = 6.62607015 × 10⁻³⁴ J·s (Planck constant) and c = 299,792,458 m/s (speed of light) are exact by definition in the SI, as is the electron-volt conversion 1 eV = 1.602176634 × 10⁻¹⁹ J. A handy shortcut: E (eV) ≈ 1239.84 ÷ λ (nm).

With the default, a 500 nm (green) photon has ν = c ÷ λ = 599.6 THz and E = 1239.84 ÷ 500 = 2.48 eV, or 3.97 × 10⁻¹⁹ J.

Light slows down in glass or water, and its wavelength shrinks by the refractive index n, but its frequency and energy do not change. If you measured the wavelength inside a material, enter that material's refractive index; the calculator converts to the vacuum wavelength n × λ first. For wavelengths in air, n = 1 is accurate to about 0.03%.

Visible light runs from about 400 nm (violet, 3.1 eV) to about 750 nm (red, 1.65 eV). Shorter wavelengths, ultraviolet and X-rays, carry more energy per photon.

Photon wavelength, frequency and energy (in vacuum)

Scroll sideways to see all columns →

LightWavelengthFrequencyEnergy
Infrared (fiber optics)1550 nm193.4 THz0.800 eV
Near infrared850 nm352.7 THz1.459 eV
Red700 nm428.3 THz1.771 eV
Green532 nm563.5 THz2.331 eV
Violet400 nm749.5 THz3.100 eV
UV-C254 nm1180.3 THz4.881 eV

How to use

Choose whether you know the wavelength or the frequency, enter it, and choose how to show the result. Example 1 (defaults): 500 nm in vacuum to eV gives 2.48 eV. Choose joules to get 3.97 × 10⁻¹⁹ J, or THz to get 599.6 THz. Example 2: a 650 nm red laser pointer. 1239.84 ÷ 650 = 1.91 eV. Example 3: a wavelength of 500 nm measured inside glass with n = 1.5. Vacuum wavelength 750 nm, so E = 1239.84 ÷ 750 = 1.65 eV. Example 4: a frequency of 1,000 THz (1 PHz). E = 6.62607015 × 10⁻³⁴ × 10¹⁵ ÷ 1.602176634 × 10⁻¹⁹ = 4.14 eV, an ultraviolet photon; its vacuum wavelength is 299.8 nm.

Frequently asked questions

How do I convert wavelength to photon energy?

Use E = hc ÷ λ. In convenient units, E in eV = 1239.84 ÷ wavelength in nm. A 400 nm violet photon has 3.10 eV; a 700 nm red photon has 1.77 eV.

How do I convert frequency to energy?

Multiply by Planck's constant: E = hν. 1 THz corresponds to about 4.136 × 10⁻³ eV, so 600 THz is about 2.48 eV.

Does a photon lose energy when it enters glass?

No. Its speed and wavelength drop by the refractive index, but its frequency, and so its energy, stays the same. That is why the calculator multiplies an in-material wavelength by n before using E = hc/λ.

What is an electron-volt?

The energy an electron gains crossing a potential difference of 1 volt: exactly 1.602176634 × 10⁻¹⁹ J. It is a convenient size for photons and atomic energies; visible photons carry about 1.65 to 3.1 eV.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.