Fill in the details and click Calculate to see your results.
Rate this calculator
Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it:
★
★
★
★
★
📘 About the Photon Energy
Light comes in packets of energy called photons. A photon's energy depends only on its frequency: E = hf, where h is Planck's constant. Since c = fλ, this is also E = hc ÷ λ — shorter wavelengths carry more energy.
Enter a wavelength in nanometres or a frequency in hertz. The calculator gives the energy in joules and in electronvolts, the unit used in atomic physics and the photoelectric effect.
🧮 Formula
Visible light runs from about 400 nm (violet, ≈3.1 eV) to 700 nm (red, ≈1.8 eV).
✏️ Worked examples
Green light, 500 nm
You get| Photon energy (eV) | 2.47968 |
| Photon energy (J) | 3.97289e-19 |
| Frequency (Hz) | 599,585,000,000,000 |
| Wavelength (nm) | 500 |
A 500 nm photon carries 2.47968 eV (3.97289e-19 J).
Try this example →X-ray at 3 × 10¹⁸ Hz
You get| Photon energy (eV) | 12,407 |
| Photon energy (J) | 1.98782e-15 |
| Frequency (Hz) | 3e18 |
| Wavelength (nm) | 0.0999308 |
Each X-ray photon carries 12,407 eV.
Try this example →🧭 How to use this calculator
What you enter
- I know the
- ValueWavelength in nanometres, or frequency in hertz (e.g. 6e14).
What you get
- Photon energy (eV)
- Photon energy (J)
- Frequency (Hz)
- Wavelength (nm)
💡 Photon energy and the photoelectric effect
Electrons are emitted from a metal only if each photon has more energy than the metal's work function φ. The maximum kinetic energy of the emitted electrons is KE = hf − φ. This is why bright red light may emit no electrons while dim ultraviolet light does.
❓ Frequently asked questions
What is the formula for photon energy?
What is Planck's constant?
h = 6.62607015 × 10⁻³⁴ J·s, an exact value since 2019.
How do I convert joules to electronvolts?
Divide by 1.602 × 10⁻¹⁹. 1 eV = 1.602 × 10⁻¹⁹ J.
Which colour of light has the most energy per photon?
Violet, because it has the shortest wavelength of visible light.