Photon Energy Calculator

A photon is a quantum of electromagnetic radiation. Each photon carries a discrete amount of energy given by E = hf, where h is Planck's constant (h = 6.62607015 × 10³&sup4; J·s, exact since the 2019 SI redefinition) and f is the frequency in hertz. Because the speed of light c = λ × f for EM waves in a vacuum (c = 299,792,458 m/s, exact), the formula can equally be written E = hc/λ, where λ is the wavelength. This calculator accepts input as either frequency (in Hz) or wavelength (in nanometres), and returns the photon energy in joules (J) and in electron-volts (eV, where 1 eV = 1.602176634 × 10¹&sup9; J, exact). It also shows the corresponding frequency, wavelength, and the region of the electromagnetic spectrum. Photon energy calculations are fundamental to quantum mechanics, spectroscopy, photovoltaics, laser physics, medical imaging (X-ray, PET), and astrophysics. All constants used here are the exact 2018 CODATA values from NIST.

Photon energy: -- J (-- eV)

Spectrum: --. Formula: E = hf = hc/λ. h = 6.62607015×10³&sup4; J·s (NIST 2018). As at 14 June 2026.

Enter frequency or wavelength
Wavelength in nanometres (e.g. 550 for green light)
Frequency--
Wavelength--
Energy (eV)--
Energy (joules)--
EM spectrum region--

Photon energy formulas

E = h × f = (h × c) / λ

Constants (NIST CODATA 2018, exact):
h = 6.62607015 × 10³&sup4; J·s (Planck's constant)
c = 299,792,458 m/s (speed of light in vacuum)
1 eV = 1.602176634 × 10¹&sup9; J

E (eV) = E (J) / (1.602176634 × 10¹&sup9;)

Worked example

Green light at λ = 550 nm (5.50 × 10&sup7; m):

  1. f = c / λ = 299,792,458 / (550 × 10&sup9;) = 5.45 × 10¹&sup4; Hz
  2. E = h × f = 6.626 × 10³&sup4; × 5.45 × 10¹&sup4; = 3.61 × 10¹&sup9; J
  3. E (eV) = 3.61 × 10¹&sup9; / 1.602 × 10¹&sup9; = 2.25 eV
  4. Spectrum region: Visible light

Photon energy by EM spectrum region

RegionWavelengthPhoton energy (eV)
Radio> 1 mm< 1.24 meV
Microwave1 mm to 10 cm12.4 µeV to 1.24 meV
Infrared700 nm to 1 mm1.24 meV to 1.77 eV
Visible light380 nm to 700 nm1.77 eV to 3.26 eV
Ultraviolet10 nm to 380 nm3.26 eV to 124 eV
X-ray0.01 nm to 10 nm124 eV to 124 keV
Gamma ray< 0.01 nm> 124 keV

Source: NIST CODATA; NASA EM spectrum. Photon energies are approximate midpoint estimates.

Photon energy calculator: frequently asked questions

What is a photon and how is its energy calculated?

A photon is the quantum (particle) of electromagnetic radiation. Unlike classical waves, photons carry discrete packets of energy given by E = hf, where h is Planck's constant (6.62607015 × 10⁻³⁴ J·s, exact per SI 2019) and f is the frequency in hertz. Because c = lambda × f for EM waves, this can also be written E = hc/lambda. Higher frequency (shorter wavelength) means more energy per photon: gamma-ray photons carry millions of times more energy than radio photons.

What is Planck's constant and why does it matter?

Planck's constant h = 6.62607015 × 10⁻³⁴ J·s is one of the fundamental constants of nature, set exactly since the 2019 SI redefinition. It quantifies the relationship between a photon's energy and its frequency and underlies all of quantum mechanics. Max Planck introduced it in 1900 to explain the spectrum of blackbody radiation, which classical physics could not. Without h, there would be no quantum theory, no atomic structure, no chemistry as we know it, no semiconductors, and no lasers.

What is an electron-volt (eV) and why is it used for photon energy?

An electron-volt (eV) is the energy gained by one electron when accelerated through a potential difference of 1 volt. 1 eV = 1.602176634 × 10⁻¹⁹ J (exact). Joules are extremely large compared to the energies of individual photons and electrons, so eV is a more convenient unit in atomic and optical physics. Visible light photons have energies of roughly 1.77 to 3.26 eV. X-ray photons carry 100 eV to 100 keV. Gamma-ray photons exceed 100 keV.

What is the photoelectric effect and how does photon energy relate to it?

The photoelectric effect is the emission of electrons from a metal surface when light above a threshold frequency strikes it. Einstein explained in 1905 (earning a Nobel Prize) that light behaves as photons, each carrying energy E = hf. If a photon's energy exceeds the work function of the metal (the binding energy of surface electrons), the excess energy becomes kinetic energy of the ejected electron. This was direct evidence for the particle nature of light and for quantised energy. The photoelectric effect is the operating principle behind photovoltaic solar cells and photodetectors.

Which photons have the most energy?

Energy increases with frequency (or equivalently, as wavelength decreases). Gamma-ray photons have the highest energies, with wavelengths shorter than 0.01 nm and energies above 100 keV, up to tens of GeV in cosmic-ray gamma rays. X-ray photons follow (0.01 nm to 10 nm, 100 eV to 100 keV). Ultraviolet photons carry 3.1 to 124 eV. Visible light photons carry 1.77 to 3.26 eV. Infrared and radio photons have the least energy. Cosmic high-energy gamma rays can reach energies of 10¹² eV (1 TeV), far beyond anything achievable in a particle accelerator.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology. General information only.