How this wavelength calculator works
Enter a frequency or a wavelength and the other one comes back, along with the half and quarter wavelengths, the period, and for light the photon energy and where it sits in the spectrum. The three buttons set the wave speed: light in a vacuum, sound in air, or anything you supply yourself.
Frequency and wavelength are not two properties of a wave. They are one property described two ways, tied together by how fast the wave travels, which is why fixing the speed means you can never choose both.
The formula
λ = v ÷ f
E = hf = hc ÷ λ
c = 299,792,458 m/s exactly
h = 6.62607015 × 10-34 J s exactly
v is the wave speed, f the frequency in hertz and λ the wavelength. Both constants above are exact by definition rather than measured: since 1983 the metre has been defined as the distance light travels in 1/299,792,458 of a second, and Planck's constant was fixed by definition in the 2019 revision of the SI. Measuring either one more precisely now measures your equipment rather than the universe.
Worked example
A microwave oven runs at 2.45 GHz. Its wavelength is 299,792,458 ÷ 2.45 × 109 = 12.24 cm, and the half-wavelength is 6.12 cm.
That second number is one you can go and measure. The waves bounce off the metal walls and set up a standing pattern, and the hot spots sit half a wavelength apart. Take the turntable out, lay a bar of chocolate or a tray of marshmallows flat inside, and heat it until the first few spots start to melt. The melted patches will be about 6 cm apart. Multiply that spacing by two, then by the 2.45 GHz printed on the back of the oven, and you have measured the speed of light in your kitchen to within a few percent.
It also explains the turntable. Without one, the cold spots stay cold, which is why a microwave with a broken turntable heats food unevenly rather than slowly. The oven is not weak, it is standing still.
Why 5 GHz Wi-Fi is worse through walls
Wi-Fi gives you the same physics in a decision you actually make. The 2.4 GHz band has a wavelength of 12.5 cm; the 5 GHz band is 6.0 cm. Longer waves diffract more readily around obstacles and lose less energy passing through ordinary building materials, so 2.4 GHz reaches further and through more walls. Shorter waves carry more bandwidth and face far less interference, because the 2.4 GHz band is shared with Bluetooth, cordless phones and, as above, your microwave oven.
So the trade is not a manufacturing compromise, it is the wave equation: range or bandwidth, pick one. The same rule sets everything else in the radio spectrum. AM radio at 1 MHz has a 300 m wavelength and bends over hills and around buildings, which is why it works in a valley. FM at 100 MHz has a 3 m wavelength, sounds far better and needs something close to line of sight. Submarines communicate at a few tens of hertz, wavelengths of thousands of kilometres, because those are the only waves that penetrate seawater, and the price is a data rate of a few characters per minute.
What the half and quarter wavelengths are for
The full wavelength is the number people ask for; the fractions are the numbers that show up in the physical world. Half a wavelength is the spacing of a standing wave's peaks, which is why the microwave's hot spots are 6 cm apart, why a room resonates at particular frequencies related to its dimensions, and why acoustic treatment is placed where it is. A quarter wavelength is the classic length for an antenna and for an absorber, because a wave reflecting off a hard surface returns a quarter wavelength out and cancels itself.
This is also why bass is so awkward indoors. A 40 Hz note has a wavelength of 8.6 m, longer than most rooms, so the room cannot support a full cycle and instead produces a lumpy pattern of loud and quiet spots. It is also why you cannot tell where a subwoofer is: locating a sound depends partly on the tiny arrival-time difference between your ears, and at wavelengths of several metres your head is far too small to register one. High frequencies are directional; low frequencies are everywhere.
Photons, and where light stops warming and starts breaking
For light there is a second equation running alongside, E = hf, and it explains something the wave picture cannot. Light delivers energy in individual packets whose size depends only on the frequency, not on the brightness. Infrared photons carry around 1 eV, visible light 2 to 3 eV, ultraviolet 3 to 12 eV, and X-rays thousands.
The threshold that matters is around 3 eV, roughly where violet gives way to ultraviolet, because that is where a single photon starts to carry enough energy to break a chemical bond. Below it, light mostly makes molecules jiggle, which is heat. Above it, light can rearrange them, which is sunburn, fading paint, and DNA damage. That is why an extremely bright red lamp will never give you sunburn while a weak ultraviolet one will: the bricks are the wrong size, and no amount of throwing more of them changes that. It is the observation that won Einstein his Nobel Prize, and it is sitting in the same two equations this page is built on.