Energy to Wavelength Calculator — Both Directions
A photon’s energy and wavelength are two names for one and the same quantity, joined by E = hc ÷ λ. This calculator converts in both directions: enter a wavelength to get the energy, or enter an energy in electron-volts to get the wavelength.
Planck's Exchange Rate
Light arrives in quanta whose energy is set by frequency alone, E = hf = hc ÷ λ, and the constant of the exchange — hc = 1,239.84 eV·nm — is the most useful number in photon science: divide it by any wavelength in nanometres and the energy falls out in electron-volts, the units atoms transact in. The visible band maps to 1.65–3.1 eV (700–400 nm), which is no coincidence of biology: those are the energies of outer-electron transitions in the molecules life is built from (the Rydberg page's ledger), so evolution's eyes opened on the chemically interesting slice. Beyond it, ultraviolet photons (over 3 eV) start breaking bonds, X-rays (keV) eject inner electrons entirely, and radio photons (µeV) can only nudge populations between near-identical levels — which is why radio needs enormous photon fluxes to be heard and a single gamma photon can wreck a cell. The calculator runs the exchange in both directions because the hub lists both questions; they are one relation, one page, honestly folded. The number 1,239.84 deserves its mnemonic status in the reader's kit: with it, any wavelength becomes an energy in your head to two figures — 620 nm is 2 eV, 310 nm is 4 eV, 1,240 nm is 1 eV — and the whole electromagnetic spectrum becomes a price list whose currency is the electron-volt, readable at a glance in the laboratory, at the telescope, or over a datasheet. Fluency in this one division is most of what "photon literacy" means in practice.
Worked Example: Green Light at 500 nm
The default wavelength returns E = 1,239.84 ÷ 500 = 2.480 eV = 3.97×10⁻¹⁹ J, at a frequency of 6.00×10¹⁴ Hz. Read the joule figure carefully, because it teaches the photon concept's humility: a single green photon carries 0.4 zeptojoules, and the watt of light a bright lamp pours out is a flux of some 10¹⁸ photons per second. Chemistry feels photons one at a time (a photochemical reaction fires per photon absorbed — the Stark–Einstein law), so the per-photon energy, not the wattage, decides what a light can do: a 254 nm germicidal photon at 4.88 eV breaks bonds a 2.48 eV green photon cannot touch at any intensity. Run the reverse conversion at 1 eV and the calculator returns 1,239.84 nm — the near-infrared boundary where semiconductor bandgaps (the LED page's territory) conduct their business.
The Photoelectric Effect: Where the Formula Was Proven
Einstein's 1905 paper — the one the Nobel citation names — is this equation pointed at a metal surface: electrons are ejected only if hf exceeds the metal's work function, with the excess as kinetic energy, and no intensity of red light (below threshold) frees any at all, while faint ultraviolet frees them instantly. The calculator's arithmetic is that argument's: set your metal's work function (sodium 2.36 eV), convert to the threshold wavelength (525 nm), and every longer wavelength is disarmed regardless of brightness. Millikan spent a decade trying to disprove the relation and ended by measuring h to 0.5% with it — the experimentalist's homage. The work functions his experiment tabulated remain the design constants of photocathodes and electron multipliers, and the threshold arithmetic he verified is run daily, in this page's form, by every ultraviolet-sensor datasheet's author. Every solar cell, photodiode and camera sensor since is the effect engineered, and its design starts where this page starts.
The LED Engineer's Daily Division
Semiconductor lighting runs on this relation read at the bandgap: a material emitting at 450 nm has a gap of 1239.84 ÷ 450 = 2.76 eV (gallium nitride's neighbourhood, the blue LED that completed the white-light revolution and took the 2014 Nobel), while silicon's 1.12 eV gap answers to 1,107 nm — transparent to its own band-edge light, the fact that sets solar-cell physics' central compromise (photons below the gap pass through unharvested, photons above it waste their excess as heat, and the Shockley–Queisser limit that results is this page's division applied to the sun's whole spectrum). The calculator is the first tool opened in every photonics design review for a reason.
The Microwave Oven's Photon Poverty
Run the oven's wavelength — 12.2 cm, or 122,000,000 nm — through the calculator and the photon energy returns as about 0.00001 eV: a hundred thousand times too feeble to break any chemical bond, which is why microwave radiation is called non-ionising with a clear conscience and why the oven cooks by bulk dielectric heating (billions of feeble photons jostling water molecules rotationally) rather than by photochemistry. The same division acquits radio and indicts gamma rays at the other end of the spectrum, whose MeV photons ionise wholesale. One formula, the whole electromagnetic spectrum's safety dossier, sorted by a single reciprocal — the calculator is, among its other jobs, a radiation-literacy machine.
Related Tools
More from the Physics Calculators hub: the Rydberg Equation Calculator — where these photon energies come from in hydrogen — and the Wavenumber Calculator, for the spectroscopist's reciprocal dialect of the same quantity.
Frequently Asked Questions
Why quote photon energy in electron-volts?
Because atoms invoice in eV: ionising hydrogen costs 13.6 eV, chemical bonds run 1–10 eV, semiconductor bandgaps 0.7–3 eV — so a photon's eV figure immediately tells a chemist or engineer which transactions it can fund, where its joules figure (10⁻¹⁹ and company) is unreadable at a glance. The conversion is exact (the eV is defined through the elementary charge: 1 eV = 1.602×10⁻¹⁹ J), and the calculator shows both — the physicist's receipt and the atom's currency — because different readers audit in different denominations.
Is a brighter light's photons individually stronger?
No — brightness is photon count per second; each photon's energy is fixed by its wavelength alone. A blinding red spotlight's photons are each weaker than a dim violet lamp's. The confusion is the pre-1905 world's, and it cost classical physics its account of the photoelectric effect: intensity raised the electron count but never their energy, a fact explicable only when energy moved in hf-sized packets. The calculator's per-photon figures are the quantum world's ground rule — everything photochemical, photovoltaic or photographic is downstream of it.
What wavelength is a thermal photon at room temperature?
Wien's law (a sibling relation worth its own page someday) puts the blackbody peak for 300 K near 9.7 µm — photon energy about 0.13 eV, mid-infrared — which is why thermal cameras work at 8–14 µm and why room-temperature objects glow invisibly to eyes tuned for 2.5 eV chemistry. Run 9,700 nm through the calculator for the figure. The exercise links the hub's heat pages to its light pages: temperature, through the peak wavelength, quotes a photon energy, and the two families of calculator are one physics.
Can matter particles use this conversion?
Yes, through de Broglie's inversion (λ = h ÷ p), matter waves enter the same ledger with momentum in place of energy's simple form — electrons in a microscope at 100 keV carry λ ≈ 3.7 pm, finer than atomic spacings, which is why electron microscopes out-resolve light ones. The calculator is photons-only (its E–λ relation is the photon's, E = pc), and this FAQ marks the border: the matter-wave conversion needs the particle's mass and kinetic energy handled properly, a fuller treatment than one input field can honestly offer.
Why 1,240 and not some rounder constant?
Because hc's value in these units is what experiment says it is: h (exact since the 2019 SI redefinition, 6.62607015×10⁻³⁴ J·s), c (exact, 299,792,458 m/s) and the eV's definition combine to 1,239.84 eV·nm. The near-roundness is a pleasant accident of the nanometre and the eV being human-sized units. Textbooks quote 1,240 for the numerator; the calculator keeps the extra digits because spectroscopists' measurements (the Rydberg page's lines to 0.1 nm) can tell the difference, and a reference site's constants should be as exact as its SI allows.
How many photons does a laser pointer emit per second?
A 1 mW red pointer at 650 nm: each photon carries 1.91 eV = 3.06×10⁻¹⁹ J (run 650 through the calculator), so the beam is 0.001 ÷ 3.06×10⁻¹⁹ ≈ 3.3×10¹⁵ photons per second — three quadrillion, a number that explains both why photon statistics feel continuous (the shot noise averages out) and why single-photon detectors are remarkable instruments. The arithmetic is the calculator's backwards: total power divided by per-photon energy, the census form of the same exchange rate, and the first computation in any quantum-optics experiment's notebook.
Who established E = hf?
Planck introduced the quantum of action in 1900 as a desperate device to fit the blackbody spectrum — intending it, at first, as a property of the emitters rather than of light itself; Einstein took the step he shrank from in 1905, proposing light itself arrives in hf packets, and the photoelectric data (plus Compton scattering in 1923, photons bouncing off electrons with the momentum the relation requires) made it undeniable. The calculator's division is thus the founding equation of quantum mechanics, doing quiet service in photonics a century on.