Article

Energy to wavelength calculator

Energy to wavelength in this guide means λ = hc/E. At 2 eV the result is about 620 nm (red); at 3 eV — about 413 nm (violet). The model is a vacuum EM photon, not a sound wave. The same path powers the wavelength from photon energy calculator.

Inverse E = hc/λ: photon energy from wavelength. Mechanical waves: λ = v/f.

λ = h · c / E

The calculator uses one number: energy E in the unit you choose (eV by default). It converts that value to joules, then divides Planck’s constant times the speed of light by that energy. At 2 eV the result is about 619.9 nm. At 2.25 eV — about 551 nm. At 3 eV — about 413.3 nm. The school shortcut λ(nm) ≈ 1240/E is close to the full constants (≈ 1239.8 nm·eV). The panel also shows f = c/λ and wavenumber. This is not λ = v/f for sound.

λ = h · c / E
λ(nm) ≈ 1240 / E(eV)
example: 2 eV → ≈ 619.9 nm
example: 3 eV → ≈ 413.3 nm

Eλ (full hc)1240/EBand
2 eV≈ 619.9 nm620 nmred
2.25 eV≈ 551 nm≈ 551 nmgreen
3 eV≈ 413.3 nm≈ 413 nmviolet
1 keV≈ 1.24 nm—soft X-ray

Vacuum EM photon. It does not replace a spectral measurement or λ = v/f.

Quick comparison

ScenarioInputλNote
Red LED2 eV≈ 620 nmbaseline
Green2.25 eV≈ 551 nmmid VIS
Violet3 eV≈ 413 nmshorter wave
1 keV1000 eV≈ 1.24 nmoutside VIS

Four worked examples

You can repeat each scenario in the wavelength from photon energy calculator.

1. 2 eV → ≈ 619.9 nm

The form’s baseline (red).

  1. Choose the eV unit.
  2. Enter E = 2.
  3. λ = hc/E ≈ 619.9 nm (shortcut 1240/2 = 620 nm).
  4. A higher energy would shorten the wavelength.

2. 2.25 eV → ≈ 551 nm

Green in the visible spectrum.

  1. Keep eV.
  2. Enter E = 2.25.
  3. λ ≈ 551 nm.
  4. Shortcut 1240/2.25 ≈ 551 nm.

3. 3 eV → ≈ 413.3 nm

Violet / UV-A.

  1. Enter E = 3 eV.
  2. λ ≈ 413.3 nm.
  3. Shortcut 1240/3 ≈ 413 nm.
  4. That is still an EM photon, not sound.

4. 1 keV → ≈ 1.24 nm

Outside visible light.

  1. Choose the keV unit.
  2. Enter E = 1.
  3. λ ≈ 1.24 nm.
  4. Compare with E = hc/λ — that page takes nanometers as input.

Common mistakes with λ = hc/E

  • Mixing it with λ = v/f — there is no sound speed here.
  • Entering nm instead of eV — the inverse belongs on E = hc/λ.
  • Expecting 2 eV to give 2 nm — the result is hundreds of nanometers.
  • Forgetting the unit — 1 keV is not the same as 1 eV.
  • Treating 1240/E as exact CODATA — full constants give ≈ 1239.8.
  • Looking for a lab spectrum — the result is a model, not a measurement.

Frequently asked questions

How is wavelength from photon energy calculated on this page?

λ = hc/E. At 2 eV the result is about 619.9 nm (≈ 620 nm). The school shortcut 1240/E is close to the full constants.

How much at 3 eV?

λ ≈ 413.3 nm — near violet and UV-A. The 1240/3 shortcut rounds to the same value.

How does 1240/E differ from full hc/E?

Full constants give about 1239.8 nm·eV. At 2 eV the difference is a fraction of a nanometer (619.9 instead of 620).

Is this a sound wavelength?

No. This is an electromagnetic photon in vacuum. Sound uses λ = v/f on a separate page.

Where do I compute the inverse E = hc/λ?

On the photon-energy-from-wavelength calculator. This page does the reverse: from E you get λ.

Which energy units are available?

eV, keV, MeV, J, and kJ/mol. Input is converted to joules first, then hc is divided by E.