Wavelength Calculator
Last updated: 27 June 2026
Reviewed by Gavin Meiring, Lead research and primary author ยท Doctoral Candidate (Corporate Governance) ยท Research and drafting assisted by AI
- Wavelength and frequency are linked by the speed of light: c = ฮปf, so higher-frequency waves always have shorter wavelengths.
- Visible light spans roughly 380 to 700 nanometres โ violet has the shortest wavelength and red the longest.
- Radio waves can be kilometres long while gamma rays are smaller than an atom, yet both travel at the same speed โ the speed of light.
Wavelength Calculator
A wavelength calculator determines the wavelength, frequency, or wave speed of any wave when the other two values are known. It is used by physics students, engineers, radio technicians, acousticians, and optics researchers working with sound, light, radio waves, and other electromagnetic or mechanical waves.
How to Use the Wavelength Calculator
- Select which quantity to calculate: wavelength, frequency, or wave speed.
- Enter the two known values with their units.
- Click "Calculate" to see the result with automatic unit scaling (nm, mm, km, Hz, kHz, MHz, GHz, etc.).
- Use the spectrum reference to see where your calculated wavelength falls on the electromagnetic or audio spectrum.
- For electromagnetic waves in a vacuum, the speed is fixed at 299,792,458 m/s; tick the "Use speed of light" option to use this automatically.
The Formula
The fundamental wave relationship:
wavelength (lambda) = wave speed (v) / frequency (f)
Where:
- lambda (ฮป) = wavelength: the distance between successive wave peaks (metres, m)
- v = wave speed: how fast the wave travels through the medium (metres per second, m/s)
- f = frequency: the number of complete wave cycles per second (hertz, Hz)
Rearranged forms:
- To find frequency: f = v / lambda
- To find wave speed: v = f x lambda
For electromagnetic waves in a vacuum: v = c = 299,792,458 m/s (approximately 3 x 10^8 m/s)
Therefore: lambda = c / f and f = c / lambda
For sound in air at 20ยฐC: v โ 343 m/s
For sound in water at 20ยฐC: v โ 1,481 m/s
For sound in steel: v โ 5,120 m/s
Energy of a photon (for light): E = h x f = h x c / lambda
Where h = Planck's constant = 6.626 x 10^-34 Jยทs.
Real-World Example
A radio station broadcasts on 97.6 MHz (FM radio). What is the wavelength of its signal?
Step 1: Convert frequency. f = 97.6 MHz = 97.6 x 10^6 Hz = 97,600,000 Hz
Step 2: Use the speed of light (electromagnetic wave in air; approximately equal to vacuum). v = 3 x 10^8 m/s
Step 3: Calculate wavelength. lambda = v / f = (3 x 10^8) / (97.6 x 10^6) = 3.074 m
The FM radio signal has a wavelength of approximately 3.07 metres. This is why FM radio aerials are typically 72-75 cm long (a quarter-wavelength antenna, which is the standard antenna design for FM reception).
For comparison, a concert A note at 440 Hz in air: lambda = 343 / 440 = 0.780 m = 78 cm
And visible green light at 550 nm: f = (3 x 10^8) / (550 x 10^-9) = 5.45 x 10^14 Hz = 545 THz
The Electromagnetic Spectrum
Different ranges of the electromagnetic spectrum are distinguished by wavelength and frequency:
- Radio waves: lambda > 1 mm, f < 300 GHz. Used in broadcasting, radar, and WiFi.
- Microwaves: lambda 1 mm to 1 m, f 300 MHz to 300 GHz. Used in microwave ovens, mobile phones, and satellite communications.
- Infrared: lambda 700 nm to 1 mm. Used in thermal imaging, TV remotes, and optical fibre communications.
- Visible light: lambda 380-700 nm. The narrow band detectable by the human eye, from violet to red.
- Ultraviolet: lambda 10-380 nm. Used in sterilisation, fluorescence, and vitamin D synthesis.
- X-rays: lambda 0.01-10 nm. Used in medical imaging and material analysis.
- Gamma rays: lambda < 0.01 nm. Emitted by radioactive decay and nuclear reactions; used in cancer radiotherapy.
All electromagnetic waves travel at the same speed in a vacuum, so higher frequency always means shorter wavelength.
Frequently Asked Questions
Why does wave speed change in different materials? The wave speed depends on the properties of the medium: its density and elasticity for mechanical waves (sound), or its permittivity and permeability for electromagnetic waves. Light travels slower in glass or water than in a vacuum; this is characterised by the refractive index (n = c / v). When a wave crosses from one medium to another, the frequency remains constant while the wavelength and speed change. This is what causes refraction (bending of light) at interfaces.
What is the relationship between wavelength and colour? The colour of visible light is determined by its wavelength. Violet light has wavelengths around 380-450 nm, blue 450-495 nm, green 495-570 nm, yellow 570-590 nm, orange 590-620 nm, and red 620-700 nm. A mixture of all visible wavelengths appears white. Prisms and raindrops separate white light into its component wavelengths, producing a spectrum or rainbow.
How does frequency relate to pitch in sound? The frequency of a sound wave determines its pitch: higher frequency produces a higher pitch. The human hearing range is approximately 20 Hz to 20,000 Hz (20 kHz), though this narrows with age. The musical note A4 (concert A) is standardised at 440 Hz. Doubling the frequency raises the pitch by one octave. Ultrasound (above 20 kHz) is used in medical imaging and sonar; infrasound (below 20 Hz) is used by some animals for long-distance communication.
What is a standing wave? A standing wave forms when two identical waves travel in opposite directions and interfere with each other, creating a pattern of nodes (points of zero displacement) and antinodes (points of maximum displacement) that appear stationary. Standing waves occur in musical instrument strings, organ pipes, microwave ovens, and laser cavities. The allowed wavelengths in a confined space are integer fractions of the cavity length, which is why musical instruments produce specific harmonics.
What the tool prints for wavelengths across the spectrum
Each row enters one wavelength in nanometres and reports the figures the tool returns. The energy column is the photon energy in electronvolts, and the last column is the band the tool assigns from its own list.
| Input | Frequency printed | Photon energy | Band the tool assigns |
|---|---|---|---|
| 380 nm | 788.93 THz | 3.2627 eV | Visible light, violet |
| 450 nm | 666.21 THz | 2.7552 eV | Visible light, blue |
| 495 nm | 605.64 THz | 2.5047 eV | Visible light, green |
| 550 nm | 545.08 THz | 2.2543 eV | Visible light, green |
| 570 nm | 525.95 THz | 2.1752 eV | Visible light, yellow |
| 590 nm | 508.12 THz | 2.1014 eV | Visible light, yellow |
| 625 nm | 479.67 THz | 1.9837 eV | Visible light, red |
| 700 nm | 428.27 THz | 1.7712 eV | Visible light, red |
| 740 nm | 405.12 THz | 1.6755 eV | Infrared |
Every frequency in that table is 299,792,458 divided by the wavelength in metres. The 550 nm row is 5.45077 times 10 to the 14 hertz, which is 545.08 THz, and the example above prints the same figure as 545 THz.
The boundaries the tool uses do not all match the boundaries in the spectrum list above. The tool puts the visible band at 380 to 740 nanometres and starts infrared at 740, while the list above gives visible light as 380 to 700 and the questions give red as 620 to 700. The tool divides microwave from radio at 0.1 m, or 100 mm, while the list above runs microwaves from 1 mm to 1 m and radio from above 1 mm, so those two entries overlap between 1 mm and 1 m. A wavelength of 500 mm is radio by the tool's table and microwave by the page's.
Photon energies at the ends of the visible band
| Wavelength | Frequency | Energy in joules | Energy in electronvolts |
|---|---|---|---|
| 400 nm | 749.48 THz | 4.96611e-19 | 3.0996 |
| 500 nm | 599.58 THz | 3.97289e-19 | 2.4797 |
| 600 nm | 499.65 THz | 3.31074e-19 | 2.0664 |
| 700 nm | 428.27 THz | 2.83778e-19 | 1.7712 |
| 1,000 nm | 299.79 THz | 1.98645e-19 | 1.2398 |
The energy of a photon is Planck's constant times the frequency, and the tool then divides by 1.60218 times 10 to the minus 19 to reach electronvolts. The ratio between the 400 nm row and the 1,000 nm row is 2.5, which is the ratio of their frequencies and of their energies, because the wavelength and the energy of a photon move in opposite directions.
Antenna lengths from the same arithmetic
| Service and frequency | Free-space wavelength | Quarter wave | Half wave |
|---|---|---|---|
| FM broadcast, 97.6 MHz | 3.0716 m | 76.79 cm | 153.58 cm |
| DAB radio, 220 MHz | 1.3627 m | 34.07 cm | 68.13 cm |
| Mobile, 900 MHz | 0.3331 m | 8.33 cm | 16.66 cm |
| WiFi, 2.4 GHz | 0.12491 m | 3.12 cm | 6.25 cm |
The example above reaches 3.074 metres by dividing 3 times 10 to the 8 by 97.6 million. The exact speed of light gives 3.0716 m, and a quarter of that is 76.79 cm. The page's 72 to 75 cm band for a practical FM aerial sits below the free-space figure, which is normal: the electrical length of a metal rod runs ahead of its physical length, so a whip is cut a few per cent shorter than the free-space quarter wave to resonate at the same frequency.
What the wave relation assumes
The relation holds for a single frequency in a medium that does not separate the frequencies. The tool treats every input as an electromagnetic wave in a vacuum. Its type selector offers a wavelength in nanometres, a wavelength in metres, a frequency in hertz, a frequency in terahertz or a photon energy in electronvolts, and it always divides by the same speed of light. There is no speed field and no medium field, so the sound examples above cannot be run here: 440 Hz in air would be divided by 299,792,458 in the tool rather than by 343.
The steps above describe a selector for the quantity to calculate and a tick box labelled for the speed of light. Neither is on the form. What the form has is the type selector and one value box, and it returns the wavelength in nanometres and in metres, the frequency, the photon energy in joules and in electronvolts, and the wave number.
Where the constants in the tool come from
The speed of light in vacuum is fixed at exactly 299,792,458 metres per second and Planck's constant at exactly 6.62607015 times 10 to the minus 34 joule seconds. Both are defining constants of the SI under the 2019 revision, published in the BIPM brochure "The International System of Units", ninth edition, where the metre is defined by fixing the speed of light and the kilogram by fixing Planck's constant. The tool's electronvolt divisor, 1.60218 times 10 to the minus 19 joules, is a rounded figure rather than the exact elementary charge of 1.602176634 times 10 to the minus 19 coulombs, which shifts the printed electronvolt value in the sixth significant figure.
Also try these free tools: