Light behaves as a stream of particles, photons, and each photon carries a fixed packet of energy set by its frequency. This idea, introduced by Planck in 1900 and applied by Einstein to the photoelectric effect in 1905, explains why ultraviolet light can burn the skin while a much brighter red lamp cannot: what matters for a single interaction is the energy of each photon, not the total amount of light.
This photon energy calculator works in all three directions. Start from a wavelength in picometres, nanometres, micrometres, millimetres or metres; from a frequency in Hz up to PHz; or from an energy in eV, keV, MeV, joules or kJ per mole of photons. It returns the photon energy in electronvolts and joules, the frequency, the vacuum wavelength, the energy carried by one mole of photons (useful in photochemistry), the wavenumber in cm⁻¹ used by spectroscopists, and the part of the electromagnetic spectrum the photon belongs to, with the approximate colour for visible light.
All results use the exact constants of the 2019 SI: the Planck constant, the speed of light and the elementary charge are now fixed numbers, so there is no rounding hidden in the conversion. Values are shown with a readable prefix, from neV for radio photons to MeV for gamma rays.
How to use this calculator
- Choose what you know: Wavelength, Frequency or Energy.
- Enter the value and pick its unit. Wavelengths are vacuum wavelengths; for light measured in air the difference is under 0.03 %.
- Read the photon energy (or the wavelength when you start from an energy), then the other quantities below it.
- Open the steps to see each constant used in the calculation.
The formula
The Planck–Einstein relation links the energy of a photon to its frequency , and through to its wavelength :
with J·s and m/s, both exact. To express the energy in electronvolts, divide by C. This gives the handy shortcut
The energy of one mole of photons is with mol⁻¹, and the wavenumber is .
Worked example
Green light at 500 nm. = 3.9729 × 10⁻¹⁹ J, that is 2.4797 eV (check: ). Its frequency is 599.58 THz and a mole of such photons carries 239.3 kJ.
Across the visible range. Red light at 650 nm carries 1.91 eV per photon, violet light at 400 nm 3.1 eV: shorter wavelength, more energy.
A microwave oven. At 2.45 GHz each photon has only 10.13 µeV, around a million times less than visible light.
An X-ray. A photon of 8 keV has a wavelength of about 155 pm, comparable to the spacing of atoms in a crystal.
Wavelength and energy: an inverse relationship
Because , photon energy is inversely proportional to wavelength: halve the wavelength and each photon carries twice the energy. The table gives approximate boundaries of the electromagnetic spectrum (conventions vary slightly between textbooks).
| Band | Wavelength | Photon energy |
|---|---|---|
| Radio | above 1 m | below 1.24 µeV |
| Microwaves | 1 mm – 1 m | 1.24 µeV – 1.24 meV |
| Infrared | 780 nm – 1 mm | 1.24 meV – 1.59 eV |
| Visible | 380 – 780 nm | 1.59 – 3.26 eV |
| Ultraviolet | 10 – 380 nm | 3.26 – 124 eV |
| X-rays | 10 pm – 10 nm | 124 eV – 124 keV |
| Gamma rays | below 10 pm | above 124 keV |
Visible photons have energies of a few electronvolts, the same scale as the energy of chemical bonds and of electrons in atoms. That is why visible light drives photosynthesis and vision, why ultraviolet photons can break molecules in the skin, and why X-rays and gamma rays are ionising.
Photon energy in practice
In the photoelectric effect, a metal emits electrons only if each photon's energy exceeds the metal's work function, whatever the intensity of the light. In LEDs and solar cells, the photon energy matches the band gap of the semiconductor, so the colour of an LED tells you its band gap. In chemistry, the energy per mole of photons is compared with bond energies in kJ/mol to decide whether light can trigger a reaction. In astronomy and medicine, X-ray and gamma photons are usually described by their energy in keV or MeV rather than by their wavelength.
Frequently asked questions
How do you calculate the energy of a photon?
Multiply the Planck constant by the frequency, E = hf, or divide hc by the wavelength, E = hc/λ. For a wavelength in nanometres, E in eV is about 1239.84 divided by the wavelength: 500 nm gives about 2.48 eV.
How do I convert wavelength to energy in eV?
Use E (eV) = 1239.84 / λ (nm). For example 1000 nm gives 1.24 eV and 250 nm gives 4.96 eV. The calculator uses the exact constants, so its results are not affected by rounding the 1239.84 factor.
Does a brighter light have more energetic photons?
No. Brightness depends on how many photons arrive per second. The energy of each photon depends only on its frequency or wavelength. A dim violet lamp emits more energetic photons than a powerful red one.
What is an electronvolt?
The energy gained by an electron accelerated through 1 volt: exactly 1.602176634 × 10⁻¹⁹ J since the 2019 SI redefinition. It is convenient at the atomic scale, where energies in joules would need tiny powers of ten.
Why give the energy per mole of photons?
Chemists compare light with bond energies expressed in kJ/mol. Multiplying the photon energy by the Avogadro constant gives the energy delivered by one mole of photons, called an einstein: about 239 kJ for 500 nm light.
Sources
- NIST CODATA — Planck constant h (exact)
- NIST CODATA — Elementary charge e (1 eV = 1.602176634 × 10⁻¹⁹ J)
- NIST CODATA — Avogadro constant
- BIPM — SI Brochure, 9th edition (2019 redefinition, exact h, e, c, N_A)
- OpenStax University Physics Vol. 3 — 6.2 Photoelectric Effect (E = hf)
- OpenStax University Physics Vol. 2 — 16.5 The Electromagnetic Spectrum
Last updated: