ThisCalculator

Physics

Energy Calculator Wavelength: How to Convert

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Energy Calculator Wavelength: How to Convert

An energy calculator wavelength converts between the wavelength of electromagnetic radiation and its photon energy, using the Planck-Einstein relation. You enter either the wavelength (in nanometers, meters, or other units) or the frequency, and the calculator returns the energy in joules or electronvolts (eV). This page explains the formula, shows a worked example, and covers the common pitfalls when doing these conversions.

Formula

The energy of a single photon is given by the Planck-Einstein relation:

E = h × c / λ

Where:

  • E = photon energy (joules, J)
  • h = Planck constant = 6.62607015 × 10−34 J·s
  • c = speed of light in vacuum = 2.99792458 × 108 m/s
  • λ = wavelength (meters, m)

Because wavelengths are often given in nanometers (nm), you must convert to meters first: λ(m) = λ(nm) × 10−9. To express energy in electronvolts (eV), divide the energy in joules by the elementary charge (1.602176634 × 10−19 C).

Worked Example

Using the default value of 500 nm (green light):

  1. Convert wavelength to meters: 500 nm = 500 × 10−9 m = 5.00 × 10−7 m
  2. Calculate energy in joules: E = (6.62607015 × 10−34 × 2.99792458 × 108) / (5.00 × 10−7)
  3. Numerator = 1.98644586 × 10−25 J·m
  4. Divide by 5.00 × 10−7 m: E = 3.97289171 × 10−19 J
  5. Convert to eV: E = 3.97289171 × 10−19 / 1.602176634 × 10−19 = 2.479 eV

The calculator shows 2.479 eV for 500 nm, matching this result.

When to Use This Calculator

Use this calculator whenever you need to find the energy of a photon from its wavelength. Common situations include:

  • Physics homework involving the photoelectric effect or atomic spectra.
  • Estimating the energy of light in spectroscopy or laser experiments.
  • Converting between wavelength and energy for LED or solar cell band-gap calculations.
  • Checking the energy of cosmic rays or gamma-ray photons (very short wavelengths).

How to Read the Result

The output gives the energy of one photon, not a beam of light. A 500 nm green photon carries about 2.48 eV, which is roughly 4 × 10−19 joules. For comparison, a typical chemical bond has an energy of a few eV, which is why visible light can drive photosynthesis but cannot break most molecular bonds. To find the total energy of a beam, multiply the photon energy by the number of photons per second (power).

Common Mistakes and Pitfalls

  • Forgetting to convert nanometers to meters: Using 500 instead of 5×10−7 gives an energy that is 109 times too large.
  • Confusing frequency and wavelength: The formula E = hν (where ν is frequency) is equivalent, but you must use the relation c = λν to switch between them.
  • Mixing up units of energy: Joules and eV differ by a factor of 1.602×10−19. Always check which unit you need.
  • Rounding too early: Rounding the numerator to 1.99×10−25 before dividing can change the final result in the third decimal place.

Limits of the Formula

The Planck-Einstein relation is exact for single photons in a vacuum. However, it does not account for:

  • The energy of a pulse or beam – that requires knowing the number of photons.
  • Relativistic effects for massive particles (the formula applies only to massless photons).
  • Material dispersion or refractive index changes, which alter the speed of light in a medium.

For most practical purposes, the vacuum values are accurate to many decimal places.

Frequently Asked Questions

How do I convert wavelength to frequency?

Use the relation ν = c / λ, where ν is frequency in hertz (Hz), c is the speed of light (3×108 m/s), and λ is wavelength in meters. For 500 nm, ν = 3×108 / 5×10−7 = 6×1014 Hz. The calculator includes this output.

What is the energy of a photon at 1 μm (infrared)?

1 μm = 1000 nm. Using the formula, E = 1.986×10−25 / 1×10−6 = 1.986×10−19 J, which is about 1.24 eV. This is typical for near-infrared light.

Why do I get different values in eV and joules?

Because the electronvolt is a much smaller unit of energy. 1 eV = 1.602×10−19 J. So the number in eV is about 6.24×1018 times larger than the number in joules. The calculator shows both to avoid unit confusion.

Does this work for radio waves and X-rays?

Yes, the formula is universal for all electromagnetic radiation. Radio waves have long wavelengths (meters) and thus very low photon energies (micro-eV), while X-rays have short wavelengths (nanometers or picometers) and high energies (keV to MeV).

What is the relationship between wavelength and energy for a given color?

Shorter wavelength means higher energy. Blue light (450 nm) has about 2.76 eV, while red light (700 nm) has about 1.77 eV. This inverse relationship is why ultraviolet light (shorter than 400 nm) is more damaging than visible light.

Related

Formula used
in wl | Wavelength | nm | 500 | 0
out e | Photon energy | eV | (6.62607015e-34 * 2.99792458e8) / (wl * 1e-9) / 1.602176634e-19 | 4
out f | Frequency | Hz | 2.99792458e8 / (wl * 1e-9) | 3
out ek | Energy (joules) | J | (6.62607015e-34 * 2.99792458e8) / (wl * 1e-9) | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.