Formula and Method for Energy to Wavelength Conversion
A photon carries energy that depends only on its frequency (or equivalently, its wavelength). Max Planck and Albert Einstein established that a photon's energy is E = hf, where h is Planck's constant and f is frequency. Since all electromagnetic waves travel at the speed of light in a vacuum, frequency and wavelength are related by f = c/λ. Combining the two gives the core relationship this calculator solves: E = hc/λ, or rearranged for wavelength, λ = hc/E.
How the calculation works
Enter the photon's energy and choose its unit. The calculator first converts that value into joules, then applies λ = hc/E using the exact SI constants h = 6.62607015 × 10⁻³⁴ J·s and c = 2.99792458 × 10⁸ m/s to get the vacuum wavelength in meters. It automatically scales the headline result into the most readable unit (picometers, nanometers, micrometers, or millimeters) and also reports the frequency (f = E/h) and the spectroscopic wavenumber (ṽ = 1/λ, in cm⁻¹), which is the reciprocal of wavelength commonly used in infrared and Raman spectroscopy.
Common mistakes
- Mixing up energy and wavelength direction: energy and wavelength are inversely related — a larger energy value always produces a shorter wavelength, never a longer one.
- Forgetting the unit prefix: eV, keV, and MeV differ by factors of 1,000, so entering "5" when you mean "5 keV" gives a wavelength 1,000 times too long.
- Ignoring the medium: this formula gives the vacuum (or air, to a close approximation) wavelength. Inside glass, water, or another medium, the physical wavelength shrinks to λ/n, where n is the refractive index, even though the photon's energy is unchanged.
Real-world applications
- Spectroscopy and chemistry convert absorption or emission energies to wavelengths to identify atomic transitions and molecular bonds.
- Astronomy converts the energy of detected photons (from radio to gamma-ray telescopes) into wavelength to classify the type of radiation and its source.
- Semiconductor and LED design uses this relationship to choose a bandgap energy that produces a target emission color (wavelength).
- Medical and industrial X-ray and gamma-ray work uses the energy-wavelength relationship to characterize radiation sources and shielding needs.