Science · 81 calculators
Photon Energy Calculator
A photon's energy tells you how much energy one quantum of light carries, and it depends on just one property: the wavelength. The relation E = hc/λ says that shorter wavelengths carry more energy, so an ultraviolet photon outranks an infrared one. This page explains where the constant comes from, why the wavelength must be in nanometres when the answer is wanted in electronvolts, and works through three examples.
Last updated
Photon energy
2.4797
- Energy at half the wavelength
- 4.9594
- Wavelength from the energy
- 500
- Photons needed for 10 eV
- 4.0328
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
The formula this calculator uses
E = hc/λ → E(eV) = 1239.8419843320026 / λ(nm)
- E
- Energy of a single photon
- h
- Planck constant
- c
- Speed of light in vacuum
- λ
- Wavelength of the light, in nanometres when E is in electronvolts
How to check the result by hand
- 1
Express the wavelength in nanometres
Take the vacuum wavelength and write it in nanometres before doing anything else. A wavelength of 500 nanometres is five times ten to the power minus seven metres, but the electronvolt form of the formula requires the number 500. Converting first prevents a factor of a billion error that no later arithmetic can repair.
- 2
Recall the combined constant and its origin
The product hc is 1239.8419843320026 electronvolt nanometres, built from the exactly defined Planck constant and speed of light together with the electronvolt conversion. CODATA publishes the underlying constants, and the calculator stores the product as a fixed helper. There is no need to rederive it for each calculation.
- 3
Divide the constant by the wavelength
Compute 1239.8419843320026 divided by 500 to get 2.479683968664005 electronvolts. Write the unit beside the answer, because the same number in joules would be about 3.97 times ten to the power minus 19. This ratio is the whole calculation; everything else on the page is a rearrangement or a sanity check of it.
- 4
Check the inverse relationship
Halve the wavelength to 250 nanometres and the energy doubles to about 4.96 electronvolts; double it to 1000 nanometres and the energy halves to about 1.24. Dividing the constant by the energy you just found should return the original 500 nanometres. If any of these relationships fails, a unit or a decimal place is wrong.
- 5
Run the calculation backwards or count photons
To recover a wavelength from an energy, divide the same constant by that energy. To find how many photons make a chosen total energy, divide the total by the energy per photon; the calculator uses 10 electronvolts and 500 nanometres, giving about 4.03 photons. Treat that last figure as an average, since real photons arrive as whole quanta.
Common Questions
How does the Photon Energy Calculator work?
Divide the combined constant hc, written in electronvolt nanometres, by the wavelength in nanometres. At 500 nm the photon energy is about 2.48 eV, and halving the wavelength to 250 nm doubles it to about 4.96 eV. The same constant run backwards turns an energy in electronvolts back into a wavelength in nanometres.
What do I need to enter in the Photon Energy Calculator?
It takes 1 inputs: Wavelength (nm). Fields that expect a unit say so next to the label.
Where does Photon energy come from?
It comes from E = h c / λ — multiply the Planck constant by the speed of light and divide by the wavelength. Because wavelength is in the denominator, halving it doubles the energy. This is the general form before any choice of units is made.
What is the most common mistake with the Photon Energy Calculator?
Entering the wavelength in metres with the electronvolt constant. The 1239.84 electronvolt nanometre constant requires 500 for a 500 nanometre photon. Entering five times ten to the power minus seven instead produces an answer larger by a factor of a billion. Convert to nanometres first, or switch to joule metres and SI units throughout.
For worked examples, common mistakes and the limits of this formula, read the full How To Calculate The Photon Energy page.
