Wavelength Frequency Calculator

Enter a wavelength, frequency, period or photon energy. Get every other quantity with the working, the part of the electromagnetic spectrum it falls in, and the colour you would see.

Free, no sign-upRuns in your browserUpdated November 2026
Wave type
m/s
Speed of light in vacuum, c = 299,792,458 m/s (exact by definition).
Frequency
—
Wavelength λ
—
Frequency f
—
Period T = 1/f
—
Angular frequency ω = 2πf
—
Photon energy (J)
—
Photon energy (eV)
—
Wavenumber 1/λ
—
Photon momentum p = h/λ
—

Electromagnetic spectrum
Step-by-step working (SI units)

How to use the Wavelength Frequency Calculator

  1. Choose Light / EM wave (speed fixed at c) or Sound / other wave (speed 343 m/s by default; edit it for water, tissue or a string).
  2. Pick the quantity you know: wavelength, frequency, period or, for light, photon energy.
  3. Type the value and choose its unit (nm, Å, MHz, THz, eV and more). Results update as you type.
  4. Read the other quantities, the photon energy in joules and electron volts, and where the wave sits on the spectrum bar.

The wave equation and photon energy

Every periodic wave obeys the same relation between its speed, frequency and wavelength. For light, the photon energy follows from Planck's relation. These are the formulas in NCERT Class 11 Physics (Waves), Class 11 Chemistry (Structure of Atom) and Class 12 Physics (Electromagnetic Waves; Dual Nature of Radiation and Matter).

v = f λ (for light in vacuum: c = f λ) T = 1 / f E = h f = h c / λ E (eV) = E (J) / e ω = 2π f wavenumber = 1 / λ

Constants are the exact SI values fixed in 2019 and listed in CODATA 2018: c = 299,792,458 m/s, h = 6.62607015 × 10⁻³⁴ J·s and e = 1.602176634 × 10⁻¹⁹ C. A handy shortcut that follows from them is E (eV) ≈ 1239.84 / λ (nm).

Worked example: green light

For λ = 500 nm = 5 × 10⁻⁷ m:

  • f = c / λ = 299,792,458 / (5 × 10⁻⁷) = 5.996 × 10¹⁴ Hz (about 600 THz).
  • T = 1 / f = 1.668 × 10⁻¹⁵ s (1.67 fs).
  • E = h f = 6.62607015 × 10⁻³⁴ × 5.996 × 10¹⁴ = 3.973 × 10⁻¹⁹ J.
  • In electron volts: 3.973 × 10⁻¹⁹ / 1.602176634 × 10⁻¹⁹ = 2.48 eV.

Exam questions often use h = 6.6 × 10⁻³⁴ J·s and c = 3 × 10⁸ m/s, which gives 3.96 × 10⁻¹⁹ J. Use the values your question states; this tool uses the exact ones.

Worked example: sound

A tuning fork of 440 Hz in air at 20 °C (v = 343 m/s) produces sound with λ = 343 / 440 = 0.78 m. In water (about 1,480 m/s) the same note has a wavelength of about 3.4 m, because the frequency stays the same while the speed changes.

The electromagnetic spectrum

BandWavelength rangeTypical photon energyExamples
Radio waves> 0.1 m< 1.2 × 10⁻⁵ eVAM/FM radio, TV
Microwaves1 mm – 0.1 m1.2 × 10⁻⁵ – 1.2 × 10⁻³ eVOvens, Wi-Fi, radar
Infrared750 nm – 1 mm1.2 × 10⁻³ – 1.65 eVRemote controls, heat lamps
Visible light380 – 750 nm1.65 – 3.26 eVViolet to red
Ultraviolet1 nm – 380 nm3.26 eV – 1.24 keVSunburn, sterilisation
X-rays1 pm – 1 nm1.24 keV – 1.24 MeVMedical imaging
Gamma rays< 1 pm> 1.24 MeVNuclear decay, radiotherapy

The band edges follow NCERT Class 12 Table 8.1, except that this tool treats 380–750 nm as visible; NCERT rounds the visible range to about 400–700 nm. The boundaries are conventions, not sharp physical limits, and X-rays and gamma rays overlap.

Visible colours

Approximate ranges: violet 380–450 nm, blue 450–495 nm, green 495–570 nm, yellow 570–590 nm, orange 590–620 nm and red 620–750 nm. Colour perception varies between people, so treat these as guides.

Common mistakes

  • Not converting nm to m. 1 nm = 10⁻⁹ m and 1 Å = 10⁻¹⁰ m. Using 500 instead of 5 × 10⁻⁷ is the most common error.
  • Thinking frequency changes with the medium. When light enters glass or sound enters water, the frequency stays the same; speed and wavelength change.
  • Mixing up J and eV. Divide joules by 1.602 × 10⁻¹⁹ to get electron volts.
  • Using c for sound. Sound needs a medium and travels far slower, about 343 m/s in air at 20 °C.

Exam tips

  • For the photoelectric effect, compare the photon energy with the work function: electrons are emitted only if hf is greater than φ.
  • For hydrogen spectra in chemistry, use wavenumber (1/λ), often quoted in cm⁻¹.
  • Higher frequency means shorter wavelength and more energetic photons. That is why UV, X-rays and gamma rays can ionise atoms while radio waves cannot.
  • For mirrors and lenses that bend this light, see the lens and mirror formula calculator.

Frequently asked questions

How do you convert wavelength to frequency?
Divide the wave speed by the wavelength: f = v / λ. For light in vacuum use c = 299,792,458 m/s. Convert the wavelength to metres first; for example 600 nm = 6 × 10⁻⁷ m gives f ≈ 5 × 10¹⁴ Hz.
How do you calculate the energy of a photon from its wavelength?
E = hc / λ, with h = 6.62607015 × 10⁻³⁴ J·s, c = 299,792,458 m/s and λ in metres. To get electron volts, divide by 1.602176634 × 10⁻¹⁹, or use the shortcut E (eV) ≈ 1239.84 / λ (nm).
What is the relationship between frequency and wavelength?
They are inversely proportional at a fixed wave speed: doubling the frequency halves the wavelength. Their product always equals the wave speed, v = fλ.
What is the wavelength range of visible light?
Roughly 380 to 750 nm, from violet to red. NCERT rounds this to about 400 to 700 nm. Shorter wavelengths are ultraviolet and longer ones are infrared.
Does frequency change when light enters water or glass?
No. The frequency is fixed by the source. In a medium with refractive index n, the speed becomes c/n and the wavelength becomes λ/n, while the frequency stays the same.
What is the speed of sound used here?
343 m/s, the speed of sound in dry air at 20 °C. It is about 331 m/s at 0 °C and rises with temperature. In water it is about 1,480 m/s, and medical ultrasound scanners assume about 1,540 m/s in soft tissue. You can edit the speed.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.