How to use the Wavelength Frequency Calculator
- 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).
- Pick the quantity you know: wavelength, frequency, period or, for light, photon energy.
- Type the value and choose its unit (nm, Å, MHz, THz, eV and more). Results update as you type.
- 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).
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
| Band | Wavelength range | Typical photon energy | Examples |
|---|---|---|---|
| Radio waves | > 0.1 m | < 1.2 × 10⁻⁵ eV | AM/FM radio, TV |
| Microwaves | 1 mm – 0.1 m | 1.2 × 10⁻⁵ – 1.2 × 10⁻³ eV | Ovens, Wi-Fi, radar |
| Infrared | 750 nm – 1 mm | 1.2 × 10⁻³ – 1.65 eV | Remote controls, heat lamps |
| Visible light | 380 – 750 nm | 1.65 – 3.26 eV | Violet to red |
| Ultraviolet | 1 nm – 380 nm | 3.26 eV – 1.24 keV | Sunburn, sterilisation |
| X-rays | 1 pm – 1 nm | 1.24 keV – 1.24 MeV | Medical imaging |
| Gamma rays | < 1 pm | > 1.24 MeV | Nuclear 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?
How do you calculate the energy of a photon from its wavelength?
What is the relationship between frequency and wavelength?
What is the wavelength range of visible light?
Does frequency change when light enters water or glass?
What is the speed of sound used here?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.