Maths

Wavelength and Frequency Calculator

Convert wavelength to frequency or back, and find each photon’s energy in joules and electronvolts.

By Nitin Raturi · Last reviewed

Your worksheet

How to use the Wavelength and Frequency Calculator

Convert between wavelength and frequency and find each photon’s energy.

  1. Choose wavelength or frequency.
  2. Enter the value, in nm or Hz.
  3. Read the other one, then the photon energy in J and eV.

Good to know

  • Visible light runs roughly from 400 nm (violet) to 700 nm (red).

c = λν and E = hν. Type large or small values as 850e6 or 5.09e14.

You know

Whether you are entering a wavelength or a frequency.

How to fill it in

  • Wavelength in nanometres (nm).
  • Frequency in hertz (Hz): 1 MHz = 1e6 Hz, 1 GHz = 1e9 Hz.

Example

An 850 MHz radio wave is 35.2697 cm long; a 2.45 GHz microwave oven, 12.2364 cm.

Value

The wavelength in nm or the frequency in Hz.

How to fill it in

  • Type large or small numbers as 850e6 or 5.09 × 10^14.

Example

589 nm sodium light is 5.090 × 10¹⁴ Hz; a 640 nm photon carries 3.104 × 10⁻¹⁹ J.

Frequency

5.090 × 10¹⁴ Hz

A wave of 589.0000 nm has a frequency of 5.090 × 10¹⁴ Hz. Each photon carries 3.373 × 10⁻¹⁹ J (2.1050 eV).

Wavelength
5.890 × 10⁻⁷ m
Frequency
5.090 × 10¹⁴ Hz
Photon energy
3.373 × 10⁻¹⁹ J
Photon energy in eV
2.1050
Per mole of photons
203.1011 kJ/mol

In a vacuum (air is within 0.03%). c = 299 792 458 m/s and h = 6.626 070 15 × 10⁻³⁴ J s, exact in the SI.

How this calculator works

  1. Step 1WavelengthλDistance between crests.
  2. Step 2Frequencyν = c ÷ λCrests passing each second.
  3. Step 3EnergyE = h νCarried by each photon.

Light and all electromagnetic waves travel at the same speed in a vacuum, c. So wavelength and frequency are locked together: longer waves have lower frequency.

Each photon carries energy proportional to its frequency, E = hν. Short-wavelength light, like ultraviolet, carries more energy per photon than red light.

Worked example: OpenStax Example 6.1

Frequency of a 589 nm sodium streetlight
ν
c ÷ λ
  1. Wavelength589 × 10⁻⁹ m5.89 × 10⁻⁷ m
  2. Frequency299,792,458 ÷ 5.89 × 10⁻⁷5.090 × 10¹⁴ Hz
  3. Photon energyh × ν3.373 × 10⁻¹⁹ J

OpenStax, using c = 2.998 × 10⁸ m/s, gives 5.09 × 10¹⁴ s⁻¹.

Read the result

  • 640 nm red light3.104 × 10⁻¹⁹ JPer photon: 1.9373 eV (OpenStax Example 6.2).
  • 2.45 GHz microwave12.2364 cmPer photon only 1.623 × 10⁻²⁴ J.

An 850 MHz radio wave is 35.2697 cm long: radio and light are the same kind of wave at very different frequencies.

Assumptions and limits

  • VacuumIn air the speed is 0.03% lower.
  • Exact constantsc, h and e are fixed SI values.
  • Not in glassIn water or glass, wavelength shrinks.
  • Per photonTotal energy depends on how many photons.

Wavelength and frequency multiply to the wave's speed.

For very large or small values, the scientific notation calculator writes them as a × 10ⁿ. Sound levels are handled by the decibel calculator.

Common mistakes

  • Mistake: Using nm directly in c = λν.

    Instead: Convert nm to metres; the tool does it.

  • Mistake: Thinking brighter light has more energy per photon.

    Instead: Brighter means more photons; colour sets energy per photon.

Checking the method

A separate script works through the photon energy in exact fractions and reproduces OpenStax Examples 6.1 and 6.2 and the 850 MHz check.

Read how we test our calculators, or browse more maths calculators.

Frequently asked questions

What is the frequency of 589 nm light?

5.090 × 10¹⁴ Hz, from ν = c ÷ λ (OpenStax Example 6.1).

What is the energy of a 640 nm photon?

3.104 × 10⁻¹⁹ J, or 1.9373 eV (OpenStax Example 6.2).

How long is an 850 MHz radio wave?

35.2697 cm. Radio waves are long, low-energy light.

What wavelength does a microwave oven use?

At 2.45 GHz the wavelength is 12.2364 cm.

Can I enter numbers like 5.09e14?

Yes. Values accept 5.09e14, 5.09 × 10^14 or plain digits.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 4 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.