📡 Frequency to Wavelength Calculator
Convert between frequency and wavelength in either direction. Enter a frequency in Hz, kHz, MHz or GHz, or a wavelength in meters to nanometers, and the calculator returns the matching value using the speed of light.
Fill in either the frequency or the wavelength, not both.
What is this tool?
Every wave — radio, microwave, light, even sound in air — is described by two linked numbers: its frequency (how many cycles arrive each second) and its wavelength (the physical distance between one crest and the next). For electromagnetic waves travelling through space they are locked together by one constant: the speed of light, about 299,792,458 metres per second. This frequency to wavelength tool just rearranges that single relationship.
The link is inverse. Higher frequency means a shorter wavelength, and vice versa. A 2.4 GHz Wi-Fi signal has a wavelength near 12.5 cm; visible green light at 5.4×1014 Hz is squashed into a wavelength under 600 nanometers. Knowing either number tells you the other, which is why antenna size, lens design and even the colour of an LED all trace back to this one equation.
The table shows how frequency and wavelength march together across the spectrum we meet most often:
| Example signal | Frequency | Wavelength |
|---|---|---|
| AM broadcast band | 1 MHz | 300 m |
| FM radio | 100 MHz | 3 m |
| Wi-Fi 2.4 GHz | 2.4 GHz | 12.5 cm |
| 5G mid-band | 3.5 GHz | 8.6 cm |
| Visible green light | 5.4×1014 Hz | 555 nm |
How it works
The formula is just the definition of wave speed written three ways:
c = f × λ → λ = c / f → f = c / λ
where c is the speed of light (299,792,458 m/s), f is frequency in hertz, and λ is wavelength in metres. Plug in the frequency and you divide the speed of light by it to get the wavelength; plug in the wavelength and you divide the speed of light by that instead. The calculator handles the unit scaling for you — megahertz to hertz is a factor of a million, nanometers to metres is a factor of a billion — so you never have to fret over powers of ten.
As a derived check, the band label the tool prints (radio, microwave, millimeter-wave, optical) is simply a function of the frequency you computed. Below 3 GHz is ordinary radio; 3–30 GHz is microwave; 30–300 GHz is millimeter wave; above that you are in infrared, visible and ultraviolet light. That band is the same one antenna engineers quote when they say a half-wave dipole is λ/2 long — which is exactly why a 2.4 GHz antenna is about 6 cm, not 6 metres.
One subtlety worth knowing: this constant c is the speed of light in vacuum. In glass, water or cable the wave slows down, so the wavelength shrinks by the material's refractive index even though the frequency stays put. The calculator gives the free-space value, which is what you want for antennas and most physics homework; for light in fibre or lens design, divide the result by the index of refraction.
To make that index concrete: green light at 555 nm has a vacuum wavelength of 555 nm, but inside typical glass (n ≈ 1.5) it shrinks to about 370 nm while the frequency stays fixed at 5.4×1014 Hz. That same slowdown is why a prism bends blue more than red — the source fixes the frequency, and the material is what reshapes the wavelength. It is also why a chip antenna's physical length must be corrected for the board material's effective dielectric constant rather than treated as free-space.
| Band | Frequency range | Typical wavelength |
|---|---|---|
| Radio (RF) | < 3 GHz | decametres to 10 cm |
| Microwave / SHF | 3 – 30 GHz | 10 cm to 1 cm |
| Millimeter wave (EHF) | 30 – 300 GHz | 10 mm to 1 mm |
| Infrared / visible | 300 GHz – 1 PHz | 1 mm to 300 nm |
One subtlety worth noting: the universal wave equation c = f × λ assumes free-space propagation. Inside a transmission line or waveguide, signals travel more slowly by the medium's velocity factor (typically 0.66–0.99 of c), so the physical wavelength shrinks proportionally while the frequency stays unchanged. This matters in antenna design, where a quarter-wave element must be cut to the electrical wavelength, not the free-space one. Our calculator uses the free-space speed of light; if you are designing a PCB trace antenna or a coax-fed dipole, multiply the result by your medium's velocity factor.
How to use
- Enter a frequency and pick its unit, or enter a wavelength and pick its unit.
- Leave the other box empty; the calculator works in either direction.
- Press Calculate to see the converted value, the result in hertz or metres, and the spectrum band.
- Read the band name to know whether you are in radio, microwave, millimeter wave, or light.
- For waves in a material, divide the wavelength by the refractive index to get the in-medium value.
Frequently Asked Questions
Why do I get a tiny wavelength for light but huge ones for radio?
Frequency and wavelength are inversely related, and light sits at roughly a million billion hertz while radio sits at millions of hertz. The same speed-of-light constant compresses light into nanometres and stretches radio into metres.
Does this work for sound waves too?
The formula shape is identical, but sound does not travel at the speed of light; in air it moves at about 343 m/s. Use c = 343 for sound, or just divide the displayed value by roughly 874,000 to convert a light-based wavelength to an air-sound one at the same frequency.
Why are antenna lengths tied to wavelength?
Efficient antennas are sized to the wave: a half-wave dipole is lambda over two, a quarter-wave whip is lambda over four. Because lambda falls as frequency rises, higher-frequency antennas are physically shorter, which is why a 5G antenna fits in a phone but an AM radio antenna is metres long.
Is the speed of light exact?
In vacuum it is defined as exactly 299,792,458 m/s; the metre is actually defined from it. In any material the wave slows, so the wavelength shrinks while the frequency is unchanged.
What unit should I pick for the wavelength?
Match the scale: metres for radio, centimetres or millimetres for microwave and millimeter wave, and micrometers or nanometres for infrared and visible light. The calculator converts cleanly between any of them.
Tips & Advice
When you design a radio link, start from the wavelength: a quarter-wave whip at 2.4 GHz is about 3 cm, so anything close to that length will radiate well — the same frequency reasoning that sets the idle budget you would check with a battery life calculator when the node is solar or battery powered.
For visible-light work, remember the wavelength decides the colour: roughly 380 nm (violet) to 750 nm (red). If you need a specific hue from an LED, the datasheet gives its dominant wavelength directly and you can skip the maths.
Keep your frequency in scientific-notation friendly units. Typing 5.4e14 for green light is far less error-prone than writing out 540,000,000,000,000, and the calculator accepts the exponent form without complaint.
If you are building a filter or tuned circuit, the resonant frequency is what matters; once you have it, this tool tells you the free-space wavelength the matching antenna should target.
A common pitfall is mixing up which number is fixed. The source — a crystal, a transmitter, a laser — sets the frequency; only the medium sets the wavelength. Swap the antenna or the circuit board and the wavelength adjusts, but the frequency on the datasheet does not move. Keep that straight and the converter will never surprise you.
Related Tools
LED Resistor Calculator
Calculate the current-limiting resistor for any LED. Enter supply voltage, LED f
Parallel Resistance Calculator
Work out the total resistance of resistors in parallel. Enter two to four resist
Voltage Divider Calculator
Calculate the output voltage of a resistor voltage divider. Enter the input volt
Battery Life Calculator
Estimate how long a battery will last. Enter the capacity in mAh or Ah and the c
GPA Calculator
Calculate your Grade Point Average online for free. Supports percentage, letter
Grade Calculator
Calculate your weighted grade average with our free grade calculator. Add multip
Sources & References
Last reviewed: August 2026.
- The wave relation c = f times lambda and the defined value of c — Speed of light (Wikipedia).
- Frequency bands and antenna sizing — Radio spectrum (Wikipedia).
Limitations
This calculator uses the vacuum speed of light. Inside glass, water, cable or any dielectric the wave slows by the refractive index, so the real wavelength is shorter than shown.
It covers electromagnetic waves only. For sound or other mechanical waves, substitute the correct wave speed for c.