The wavelength calculator above turns one wave property into the other using a single relationship: wave speed equals frequency multiplied by wavelength. Give it a wavelength and it returns the frequency. Give it a frequency and it returns the wavelength. The part most calculators skip is the middle term, and it is the part that decides whether your answer is right — the speed depends entirely on what the wave is and what it is travelling through, and a 550 nm wavelength means one frequency in vacuum and a measurably different one in water.
Arb Digital publishes free calculators for people who want a specific number without a sign-up wall. This one is built around the medium dropdown rather than hiding it, because in real problems the medium is the variable that changes and the equation is the part that never does. It also reports the period, the spectroscopic wavenumber and, when the wave is electromagnetic, the photon energy, so you do not have to open three more pages to finish a homework question or a lab write-up.
What This Wavelength Calculator Does
Pick whether you are solving for frequency or for wavelength, choose a medium, and type the value you know. The tool computes the missing quantity and writes it back into the other box, so the two inputs are always a consistent pair rather than two unrelated numbers sitting next to each other.
Four supporting figures come with the answer. The wave speed used is shown explicitly so you can see which number the equation was fed. The period is the reciprocal of frequency — the time for one full cycle, which is the quantity an oscilloscope actually measures. The wavenumber, in reciprocal centimetres, is the unit infrared spectroscopists work in, where a C=O stretch sits near 1700 cm⁻¹ and nobody quotes a wavelength. Photon energy is given in electronvolts for electromagnetic waves only, and is deliberately marked as not applicable when you have selected sound, because a sound wave in air has no photon energy.
Units are handled by dropdown rather than by expecting scientific notation. Visible light in nanometres, radio in megahertz, ultrasound in kilohertz and infrasound in hertz all work directly. If you need a standalone unit change without touching the wave equation, our frequency converter and speed converter do that job on their own.
How to Use It
- Choose the direction first. Solving for frequency reads the wavelength box; solving for wavelength reads the frequency box. The other one becomes the output.
- Set the medium honestly. Vacuum is a fine approximation for light in air to about one part in ten thousand. It is a poor one for light in water or glass, and it is nonsense for sound.
- Enter a custom speed when your medium is not listed — seawater, a particular polymer, a transmission line with a known velocity factor.
- Pick the unit that matches your field. Nanometres for optics, megahertz for radio, hertz for audio. The dropdowns keep you off scientific notation.
- Read the supporting grid, not just the headline. The period and the wavenumber are often the number a question is really asking for.
The Formula and How It Is Calculated
The governing equation is v = f λ, where v is the wave speed in metres per second, f is the frequency in hertz and λ is the wavelength in metres. Rearranged, f = v / λ and λ = v / f. Everything on this page follows from those three lines.
For electromagnetic waves in a vacuum, v is the speed of light, which is not a measured quantity but a defined one: exactly 299,792,458 metres per second, fixed by the NIST CODATA value for the speed of light in vacuum and used to define the metre itself. In a material, light slows to c divided by the refractive index n, which is where the air, water and glass entries in the dropdown come from. NASA's overview of the anatomy of an electromagnetic wave sets out the same relationships across the spectrum, and explains why radio astronomers quote frequency while X-ray astronomers quote energy.
Photon energy uses E = hc / λ. Working in convenient units, hc is 1239.84 electronvolt-nanometres, so a 550 nm green photon carries 1239.84 / 550 = 2.254 eV. Worth checking against the tool's default: 550 nm in vacuum gives 299,792,458 / 550×10⁻⁹ = 5.451×10¹⁴ Hz, or 545.1 THz, with a period of 1.834 femtoseconds and a wavenumber of 18,182 cm⁻¹. Our photon energy calculator goes further into the quantum side; this page treats energy as a companion figure.
Why Frequency Survives a Change of Medium and Wavelength Does Not
This is the single most useful idea on the page, and it is the one most often got backwards. When a wave crosses a boundary — light entering water, sound entering a wall — the frequency is unchanged. It cannot change. The wave on the far side is driven by the wave on the near side, cycle for cycle; if crests arrived at the boundary five hundred trillion times a second, they leave it five hundred trillion times a second. Nothing at the interface can create or destroy cycles.
The speed does change, because speed is a property of the medium. And since v = fλ must still hold with f pinned, the wavelength has to absorb the whole change. Green light at 550 nm in vacuum becomes about 413 nm inside water, while its frequency stays at 545 THz. That is exactly why the colour you perceive underwater is unchanged: your eye responds to frequency-determined photon energy, not to the compressed wavelength.
The practical consequence shows up in refraction problems. If you are asked for the wavelength of a laser inside a glass block, take the vacuum wavelength, divide by the refractive index, and stop. Do not recompute the frequency. The same reasoning drives Snell's law, which our Snell's law calculator handles, and it explains why a prism separates colours at all: different frequencies see slightly different refractive indices, so they bend by different amounts.
Sound Is a Different Animal With the Same Equation
Sound is a pressure wave in matter, so its speed depends on the material's stiffness and density, and in air it depends noticeably on temperature. The 343 m/s figure in the dropdown is for dry air at 20 °C. At 0 °C it is closer to 331 m/s, and the approximation 331 + 0.6T metres per second, with T in Celsius, tracks it well across normal conditions. It does not depend meaningfully on air pressure, which surprises people — an increase in pressure raises stiffness and density together, and the two effects largely cancel.
That temperature sensitivity has real consequences. An organ pipe of fixed length produces a fixed wavelength, so its pitch rises as the church warms up. A wind instrument played cold plays flat until the air column inside it warms. If you are matching pitch to pipe length, our note frequency converter gives the target frequencies and this page turns them into wavelengths at whatever speed of sound applies on the day.
Concert A at 440 Hz in 20 °C air has a wavelength of 343 / 440 = 0.780 m. Drop the room to 10 °C and the speed falls to about 337 m/s, so the same 440 Hz now occupies 0.766 m — a two percent change, which is the difference between a room mode landing on a note and landing between two notes. For loudness rather than pitch, the sound level converter handles the decibel side.
Wavelength Sets the Size of the Hardware
Antennas, ultrasound transducers, acoustic panels and optical gratings are all sized in wavelengths, not in metres. A half-wave dipole is physically half a wavelength long, which is why an FM antenna at 100 MHz is about 1.5 m and a Wi-Fi antenna at 2.4 GHz is a few centimetres. Feed those numbers into the calculator and the hardware dimensions fall straight out.
Two corrections matter in practice. First, radio waves travel slower along a wire or coaxial cable than through free space, by a velocity factor typically between 0.66 and 0.95, so a quarter-wave stub cut for cable is shorter than the free-space arithmetic suggests. Use the custom speed box with c multiplied by the velocity factor. Second, real antenna elements are slightly shorter than the ideal because of end effects at the tips, usually by around five percent.
The same scaling explains why bass frequencies are hard to absorb. A 40 Hz tone in air has a wavelength of about 8.6 m, so a 50 mm foam panel is a tiny fraction of a wavelength thick and does almost nothing to it, while the same panel handles a 4 kHz wavelength of 86 mm comfortably. Acoustic treatment fails at low frequencies for a geometric reason, not a material one.
Reading the Electromagnetic Spectrum Without Converting Twice
Different regions of the spectrum are quoted in whatever unit is convenient, which makes comparison awkward. Radio is given in hertz, microwaves in gigahertz, infrared in reciprocal centimetres, visible light in nanometres, and X-rays and gamma rays in kiloelectronvolts or megaelectronvolts. All five describe the same physical quantity through v = fλ and E = hc/λ.
A few anchors are worth carrying in your head. Visible light runs roughly 380 to 700 nm, which is 790 down to 430 THz, or 3.3 down to 1.8 eV. The microwave oven line at 2.45 GHz is a 122 mm wavelength. The hydrogen line that radio astronomy is built on sits at 1420 MHz, a wavelength of 21 cm. Ultraviolet begins where photon energy passes roughly 3.1 eV, which is the point at which light starts breaking chemical bonds rather than merely warming things. For raw unit changes between joules, electronvolts and calories, the energy converter is the quicker route.
Arb Digital publishes hundreds of free calculators across physics, chemistry, maths and finance — no sign-up, no limits. If something you need is missing, tell us and we will look at building it.
Browse All Free Tools Suggest a ToolCommon Mistakes to Avoid
- Using c for a wave in glass or water — light slows by the refractive index, so a vacuum answer can be off by a third inside water.
- Changing the frequency at a boundary — frequency is fixed by the source. Only speed and wavelength change when the medium does.
- Mixing nanometres with metres — 550 nm is 5.5×10⁻⁷ m, not 5.5×10⁻⁹. Use the unit dropdown rather than converting in your head.
- Quoting photon energy for a sound wave — E = hc/λ is an electromagnetic relationship, and this tool marks it as not applicable for sound on purpose.
- Ignoring the velocity factor in cable — a quarter-wave section cut from free-space arithmetic will be too long for coax by a quarter or more.
Related Free Tools From Arb Digital
Take the quantum step with the photon energy calculator, bend a ray between media with the Snell's law calculator, and place an image with the thin lens equation calculator. For unit work on its own, the frequency converter, speed converter and energy converter each do one job cleanly, while the note frequency converter maps musical pitch to hertz. Everything else sits in the free online tools hub.
Frequently Asked Questions
Wavelength equals wave speed divided by frequency, written as lambda = v / f. For light in a vacuum the speed is 299,792,458 metres per second, so a 500 THz wave has a wavelength of about 600 nanometres.
Yes. The frequency stays the same because it is set by the source, but the speed drops by the refractive index, so the wavelength shortens by the same factor. Green light at 550 nm in vacuum becomes about 413 nm inside water.
Divide the wave speed by the wavelength, keeping both in SI units. Convert nanometres to metres first, or use the unit dropdown on this page so the conversion happens for you and the exponent cannot slip.
A wavenumber is the number of wave cycles per centimetre, the reciprocal of the wavelength in centimetres. Infrared spectroscopy uses it because it is directly proportional to photon energy, so peaks sit at fixed positions that add and compare cleanly.
Sound speed depends on the stiffness and density of the medium, and warming air changes both. In dry air the speed is close to 331 + 0.6T metres per second with T in Celsius, giving 343 m/s at 20 degrees and about 331 m/s at freezing.
Yes, for free-space dimensions. A half-wave dipole is half the calculated wavelength. Inside coaxial cable, multiply the speed of light by the cable velocity factor and enter that as a custom speed, because signals travel more slowly in a cable.
The relationship E = hc divided by wavelength applies to electromagnetic radiation, where c is the speed of light. A sound wave is a mechanical pressure wave in matter and has no photon energy, so the tool blanks that figure rather than printing a meaningless number.
This calculator is provided for education and general reference. It describes how the wave equation works and is not engineering, laboratory or safety guidance; verify any figure used in real design work against the standards and procedures that apply to your project.