THE NUMORIX GUIDE
How to use the Photon Energy Calculator
Last reviewed September 14, 2026
What this calculator does
The frequency mode uses E = h*f.
Formula and method
The frequency mode uses E = h*f. The wavelength mode converts the entered wavelength from nanometers to meters and uses E = h*c/lambda. The engine uses h = 6.62607015e-34 J*s, c = 2.99792458e8 m/s, converts joules to electronvolts with 6.241509074e18 eV/J, and displays both energies in exponential notation.
Variables and inputs
Choose frequency mode and enter hertz, or choose wavelength mode and enter nanometers. The live UI keeps the other mode's stored value but calculates from the selected one; it has no explicit positive-value validation. Outputs are energy per photon in joules and electronvolts.
Worked example
For a wavelength of 550 nm, lambda = 550e-9 m and E = h*c/lambda = 3.61172e-19 J, which is about 2.25426 eV per photon. A shorter wavelength would produce a larger energy.
How to interpret the result
The result is the energy of one photon, not the total energy in a beam. Frequency and wavelength are linked by the propagation speed in the relevant medium, while photon energy increases directly with frequency and inversely with wavelength.
Common mistakes to avoid
Convert nanometers to meters before using h*c/lambda, and do not confuse electronvolts per photon with joules for a whole light source. Intensity changes the number of photons or energy flow, not the energy of each photon at a fixed frequency.
Assumptions and limitations
The wavelength calculation uses the vacuum speed of light constant and does not model refraction, dispersion, a material band structure, or a spectrum with many wavelengths. Zero or negative inputs are not guarded by the visible component and can produce nonphysical results.
Practical use and checks
The Photon Energy Calculator finds the energy of one photon from its frequency or wavelength. Enter wavelength 550 nm as a check; the result should be about 3.6117e-19 joules, or 2.2543 electronvolts per photon. A shorter wavelength should produce a larger energy, while a brighter source at the same wavelength changes the number of photons or total energy flow rather than the energy of each photon. Use nanometers in the wavelength field and let the engine convert to meters internally. The wavelength relation uses the speed of light constant, so it represents a vacuum-style calculation. In a material, frequency remains tied to the source while wavelength changes with the medium, and refractive index matters. The tool does not calculate beam intensity, photon count, power, bandwidth, absorption, detector response, or a spectrum containing multiple wavelengths. Zero or negative inputs are nonphysical and are not a substitute for a low-energy photon. Keep joules per photon distinct from total joules in a laser pulse or lamp output. For a materials or spectroscopy decision, record the medium, wavelength convention, and whether the value is per photon or per mole, since multiplying by Avogadro's number changes the scale and purpose of the result.