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 →
| Light | Wavelength | Frequency | Energy |
|---|---|---|---|
| Infrared (fiber optics) | 1550 nm | 193.4 THz | 0.800 eV |
| Near infrared | 850 nm | 352.7 THz | 1.459 eV |
| Red | 700 nm | 428.3 THz | 1.771 eV |
| Green | 532 nm | 563.5 THz | 2.331 eV |
| Violet | 400 nm | 749.5 THz | 3.100 eV |
| UV-C | 254 nm | 1180.3 THz | 4.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
- Hydrogen Atom Energy Levels Calculator
- Capacitor Energy and Discharge Calculator
- Wavelength to Frequency Calculator
- Mass-Energy Equivalence Calculator
- Infinite Square Well Energy Calculator
- Quantum Tunneling Probability Calculator
- Schrödinger Wave Function Calculator
- Heisenberg Uncertainty Principle Calculator
Sources & references
Think a result is wrong? Report a problem with this calculator.