Two robot illumination channels can deliver the same optical power while supplying different numbers of photons each second. A watt measures energy per unit time. A photon is one quantum with energy determined by frequency. Connecting those descriptions requires a wavelength and a clearly defined measurement plane.
This is a bookkeeping issue before it is a camera-performance issue. The number of photons arriving at a sensor does not, by itself, establish image quality, detection probability, or the charge collected by a particular device. An explicit energy calculation makes those later assumptions easier to see.
Choose a narrowband hypothetical budget
Imagine two alternative light channels delivering 2 milliwatts at the same receiving plane. One has vacuum wavelength 500 nanometers; the other has vacuum wavelength 1,000 nanometers. Treat each as monochromatic for this calculation, with constant received power during the exposure.
The stated power is optical power actually crossing the chosen plane. It is not a lamp's electrical input power, a manufacturer's nominal rating, or a prediction after an unspecified lens and target. No real emitter, sensor, or robot was measured for this example.
NASA gives the relationships frequency = c/lambda and photon energy E = h times frequency. Combining them gives E = hc/lambda. NIST's 2022 CODATA listing supplies h = 6.62607015 times 10^-34 joule seconds and c = 299,792,458 meters per second, both exact in the SI. Rounded results below reflect arithmetic presentation, not uncertainty in those constants.
Compute energy before counting photons
Convert 500 nanometers to 5 times 10^-7 meter. Multiplying h and c, then dividing by that wavelength, gives approximately 3.972891714 times 10^-19 joule per photon.
At 1,000 nanometers, the wavelength doubles and each photon's energy halves: approximately 1.986445857 times 10^-19 joule. The lower energy belongs to each photon; it does not mean that a 2-milliwatt beam carries half the total energy per second. The stipulated powers are equal.
Photon rate is received power divided by photon energy. For 500 nanometers, 0.002 joule per second divided by 3.972891714 times 10^-19 joule gives approximately 5.034116568 times 10^15 photons per second.
For 1,000 nanometers, the same division gives approximately 1.006823314 times 10^16 photons per second. Twice as many photons, each carrying half as much energy, still deliver 0.002 joule every second.
The units provide a useful check: joules per second divided by joules per photon leaves photons per second. Multiplying power by photon energy would not produce a photon count or rate.
Exposure time turns a rate into a count
Choose an invented exposure duration of 5 milliseconds, or 0.005 second. Each channel delivers energy P times t = 0.002 times 0.005 = 10^-5 joule, also written as 10 microjoules.
Multiply each photon rate by 0.005 second. The 500-nanometer exposure contains approximately 2.517058284 times 10^13 incident photons at the receiving plane. The 1,000-nanometer exposure contains approximately 5.034116568 times 10^13.
These are expected aggregate counts implied by the ideal continuous-power model. They do not describe a specific pixel or guarantee that every incident photon creates a recorded electron. Spatial distribution, optical transmission beyond the plane, sensor spectral response, and collection efficiency remain separate inputs.
For example, assign hypothetical conversion efficiencies of 0.60 and 0.20 at the two wavelengths. Expected collected electrons would then be approximately 1.510234970 times 10^13 and 1.006823314 times 10^13 respectively. The channel with twice the incoming photons now produces fewer collected electrons under those assumed efficiencies. These invented values illustrate dependence on efficiency; they are not specifications for any detector.
Compare equal photon rates as a different experiment
Instead hold photon rate fixed at 8 times 10^14 photons per second. Required optical power is rate times energy per photon. At 500 nanometers, that is approximately 0.000317831337 watt, or 0.317831337 milliwatt.
At 1,000 nanometers, the same photon rate requires approximately 0.158915669 milliwatt. Equal photon counts and equal energy are different normalization choices. A report should say which one was matched when comparing spectral channels.
The relation can also be rearranged as photon rate = P lambda/(hc). At fixed power, photon rate grows in direct proportion to vacuum wavelength. At fixed wavelength, doubling received power doubles the modeled rate. Both statements concern the stated optical budget; neither says that longer wavelengths are universally better for machine vision.
Handle more than one wavelength explicitly
A broadband source does not have a single photon energy. Consider a deliberately simple mixture with 1 milliwatt at 500 nanometers and 1 milliwatt at 1,000 nanometers. The first component supplies approximately 2.517058284 times 10^15 photons per second; the second supplies approximately 5.034116568 times 10^15. Sum them to obtain approximately 7.551174851 times 10^15.
Although the two components carry equal power, they do not contribute equal photon counts. Two thirds of the photons in this mixture belong to the 1,000-nanometer component. Averaging wavelengths by photon count and then treating that average as an energy-weighted wavelength would mix two distinct weighting conventions.
For a continuous spectrum, divide power into narrow wavelength bands, convert each band's power to photon rate, and sum or integrate. Apply wavelength-dependent detector efficiency to those photon contributions if predicting collected charge. A nominal center wavelength alone can omit relevant spectral structure.
Record the measurement definition
A reproducible budget records wavelength convention, spectral width, received radiant power, plane or aperture, exposure duration, and any assumed efficiency. Lumens and lux introduce human visual weighting and cannot simply replace watts in this photon-energy equation. Likewise, electrical watts require an optical-conversion model before becoming received radiant watts.
The calculations here were independently checked as arithmetic. No camera library, illumination hardware, or robot experiment was run, and the example makes no product-performance claim.
Sources checked October 24, 2026: NASA, Imagine the Universe, Electromagnetic Spectrum: https://imagine.gsfc.nasa.gov/science/toolbox/emspectrum2.html
NIST, 2022 CODATA complete fundamental-constants listing: https://physics.nist.gov/cuu/Constants/Table/allascii.txt
Illustration note: An accompanying generic robot vision or sensor image is conceptual context. It is not a photograph of the assumed optical channels or evidence of their wavelength, power, or detection efficiency.