How to Calculate Photon Energy with E = hf = hc/λ
A practical guide to photon energy: the Planck equation, joules versus electronvolts, and a worked 500 nm example landing at about 2.48 eV in the visible band.
How to Calculate Photon Energy with E = hf = hc/λ
A single photon carries a fixed packet of energy. That energy depends only on the light's frequency, or equivalently its wavelength, and the relationship is one short equation that runs through quantum physics, spectroscopy, and laser design. Once you know it, you can read a wavelength off a spectrometer and immediately say whether that light can excite an atom, break a chemical bond, or just warm a surface.
This guide walks through the math, shows where the awkward exponents come from, and works a green-light example end to end. If you want the numbers without the arithmetic, the photon energy calculator does both directions for you.
The Planck Relation
The energy of one photon is set by Planck's relation:
E = h·f
Here h is the Planck constant, 6.626 × 10⁻³⁴ J·s, and f is the frequency in hertz. Frequency and wavelength are tied together by the speed of light, f = c/λ, where c is 2.998 × 10⁸ m/s. Substitute that in and you get the form most people actually use, because you usually know the wavelength rather than the raw frequency:
E = h·c/λ
Notice that wavelength sits in the denominator. Energy and wavelength move in opposite directions: halve the wavelength and you double the energy. A 250 nm ultraviolet photon carries twice the energy of a 500 nm green one. This inverse law is the reason x-rays and gamma rays, with their tiny wavelengths, are ionising, while long radio waves carry almost nothing per photon.
The Planck constant is the conversion factor between the wave picture of light (frequency) and the particle picture (energy quanta). It is small, which is exactly why a single photon's energy in joules is a tiny number — and why physicists reach for a friendlier unit.
Joules Versus Electronvolts
Run E = hc/λ for visible light and you land on values like 3.97 × 10⁻¹⁹ joules. That is correct, but it is an unpleasant number to carry around: a handful of significant figures dragging an exponent near minus nineteen. So spectroscopy and quantum work switch to the electronvolt.
One electronvolt is the energy an electron gains crossing a one-volt potential, and it equals 1.602 × 10⁻¹⁹ J. To convert, divide the joule value by that constant:
E (eV) = E (J) ÷ 1.602 × 10⁻¹⁹
The payoff is readability. Visible photons come out between roughly 1.6 eV and 3.3 eV — small whole-ish numbers you can hold in your head and compare against transition energies, band gaps, and ionisation thresholds quoted in the same unit. A semiconductor band gap of 1.1 eV, a UV damage threshold near 3.3 eV: these only feel intuitive in electronvolts.
A Worked Example: 500 nm Green Light
Let's take green light at 500 nm and find its photon energy.
First, convert the wavelength to metres: 500 nm = 500 × 10⁻⁹ m = 5.00 × 10⁻⁷ m. This step trips people up constantly — plug 500 in directly and your answer is off by a billion.
Now apply E = hc/λ:
E = (6.626 × 10⁻³⁴ J·s × 2.998 × 10⁸ m/s) ÷ (5.00 × 10⁻⁷ m)
E = (1.986 × 10⁻²⁵ J·m) ÷ (5.00 × 10⁻⁷ m)
E ≈ 3.97 × 10⁻¹⁹ J
Convert to electronvolts:
E = 3.97 × 10⁻¹⁹ J ÷ 1.602 × 10⁻¹⁹ J/eV
E ≈ 2.48 eV
So a 500 nm green photon carries about 2.48 eV, which sits squarely in the middle of the visible band — between red near 1.8 eV and violet near 3.3 eV. That single number tells you a lot: it is enough to excite many electronic transitions and to be seen by the eye's photoreceptors, but well short of the ~10 eV needed to ionise most atoms.
Where This Matters: Spectroscopy and Lasers
I spend a fair amount of time cross-checking absorption peaks, and the photon-energy step is where mistakes hide. Early on I once read a 532 nm peak, mentally rounded it, and compared it against a literature transition in eV — except I had quoted the joule value as if it were electronvolts. Eighteen orders of magnitude wrong, and it took an embarrassing minute to spot. Now I let the conversion run automatically and only reason about the eV figure, which for 532 nm comes out near 2.33 eV. That habit alone has saved me from more than one wrong conclusion about whether a source could drive a transition.
The same arithmetic underpins three everyday tasks:
- Spectroscopy. Read a peak in nanometres, convert to eV, and match it against tabulated electronic or vibrational transitions. A 532 nm line lands near 2.33 eV; a 365 nm UV-LED line near 3.40 eV.
- Photochemistry. A reaction with a 3.1 eV threshold only fires if each photon clears the bar. A 365 nm LED (≈ 3.40 eV) works; a 405 nm violet diode (≈ 3.06 eV) falls just short — a gap you would never guess from the wavelengths alone.
- Laser power budgets. A 1064 nm Nd:YAG photon carries about
1.87 × 10⁻¹⁹ J. Divide your beam power in watts by that and you get photons per second, which feeds straight into detector and damage-threshold calculations.
If you want to move between frequency and wavelength before computing energy — say you have a frequency in THz and need the wavelength first — the frequency and wavelength calculator handles that conversion cleanly, and you can carry the result back here.
Common Pitfalls to Avoid
Three mistakes account for most wrong answers:
- Forgetting the metre conversion. E = hc/λ needs λ in metres. Typing 500 instead of 500 × 10⁻⁹ throws the result off by a factor of a billion. Pick the right unit and let the tool convert internally.
- Confusing joules and electronvolts.
3.97 × 10⁻¹⁹ Jand2.48 eVdescribe the same photon; they differ only by the 1.602 × 10⁻¹⁹ factor. Treat one as the other and you are off by eighteen orders of magnitude. - Mistaking one photon for a whole beam. The formula gives the energy of a single photon. A bright laser is that tiny value multiplied by an enormous photon flux. To get beam power, multiply the per-photon energy by photons per second — do not read the single-photon figure as watts.
Keep the equation, the unit, and the per-photon scope straight, and photon energy becomes one of the most dependable calculations in physics. Type a wavelength or frequency into the photon energy calculator, read both joules and eV, and check which band of the spectrum your light falls in.
Made by Toolora · Updated 2026-06-13