The basic formula for wavelength

Wavelength is the distance between one peak of a wave and the next peak (or one trough and the next trough). You calculate it by dividing the speed of the wave by its frequency. The formula is:

Wavelength = Wave Speed ÷ Frequency

In physics notation, this is written as λ = v ÷ f, where λ (lambda) is wavelength, v is the speed of the wave, and f is the frequency. This works for any wave—sound, light, radio, water ripples—as long as you have the speed and frequency in matching units.

The key is making sure your units match before you divide. If frequency is in hertz (cycles per second), your wave speed must be in the same distance unit per second. If you mix units, your answer will be wrong.

Key Takeaways

  • Wavelength equals wave speed divided by frequency: λ = v ÷ f.
  • Frequency is measured in hertz (Hz), which means cycles per second.
  • Wave speed depends on the medium the wave travels through—sound moves differently through air than through water.
  • Convert all measurements to matching units before you divide, or your result will be incorrect.
  • You can rearrange the formula to find frequency or wave speed if you know the other two values.

Understanding frequency and hertz

Frequency is how many complete waves pass a point in one second. It is measured in hertz (Hz). One hertz means one complete wave cycle per second. A 60 Hz sound wave completes 60 full cycles every second. A 2.4 GHz radio signal (like WiFi) completes 2.4 billion cycles per second.

Frequency is often given to you directly in a problem or specification. A tuning fork might be labeled 440 Hz. A radio station broadcasts at 101.5 FM, which means 101.5 million hertz. If you see a number with "Hz" or "GHz" or "MHz" attached, that is frequency.

The higher the frequency, the shorter the wavelength. A 1000 Hz sound wave has a much shorter wavelength than a 100 Hz sound wave, even though both travel through air at the same speed. This is why high-pitched sounds have short wavelengths and low-pitched sounds have long wavelengths.

Wave speed depends on the medium

The speed a wave travels is not the same everywhere. It depends on what the wave is moving through. Sound travels at about 343 meters per second through air at room temperature, but it travels at about 1,480 meters per second through water. Light travels at about 300,000,000 meters per second through a vacuum, but slower through glass or water.

For most problems you will encounter, the wave speed is either given to you or it is a standard value you can look up. If you are calculating the wavelength of a sound wave in air, use 343 m/s. If it is in water, use 1,480 m/s. For light in a vacuum, use 3 × 108 m/s (or 300,000,000 m/s written out).

The medium matters because waves are disturbances in a material. Sound needs something to vibrate—air, water, a solid. Light can travel through a vacuum, but it still slows down when it enters a denser material. Always check whether your wave speed value matches the medium described in the problem.

Step-by-step calculation example

Suppose you need to find the wavelength of a sound wave with a frequency of 256 Hz traveling through air. Here is how to work through it:

  1. Write down the formula: λ = v ÷ f
  2. Identify your values: frequency (f) = 256 Hz, wave speed (v) = 343 m/s (standard for air)
  3. Check that units match: frequency is in hertz (cycles per second), speed is in meters per second. They match.
  4. Divide: 343 m/s ÷ 256 Hz = 1.34 meters
  5. Write the answer with units: wavelength = 1.34 meters

That 256 Hz sound wave has a wavelength of about 1.34 meters. You can verify this makes sense: lower frequencies have longer wavelengths, and 256 Hz is a fairly low note, so a wavelength of over a meter is reasonable.

If the problem gives you frequency in kilohertz (kHz) or megahertz (MHz), convert it to hertz first. One kilohertz is 1,000 hertz. One megahertz is 1,000,000 hertz. Multiply the number by the conversion factor before you divide.

Rearranging the formula to find other values

The wavelength formula can be rearranged if you know wavelength and frequency but need to find wave speed, or if you know wavelength and speed but need frequency.

To find wave speed when you know wavelength and frequency: v = λ × f (multiply wavelength by frequency).

To find frequency when you know wavelength and wave speed: f = v ÷ λ (divide wave speed by wavelength).

The relationship is always the same—wavelength, frequency, and speed are linked. If you know any two, you can calculate the third. This is useful when a problem gives you wavelength and asks for frequency, or gives you speed and wavelength and asks for frequency.

Common mistakes to avoid

The most common error is mixing units. If your frequency is in kilohertz but your wave speed is in meters per second, you will get the wrong answer. Always convert frequency to hertz (cycles per second) before you divide. If your wave speed is in kilometers per second, convert it to meters per second first, or convert wavelength to kilometers after you calculate.

Another mistake is using the wrong wave speed for the medium. Sound in air is not the same speed as sound in water. Light in a vacuum is not the same speed as light in glass. Read the problem carefully to see what medium is mentioned, and use the correct speed value for that medium.

A third mistake is forgetting to include units in your final answer. A wavelength of "1.34" means nothing. A wavelength of "1.34 meters" is clear and correct. Always write the unit after the number.

Wavelength in different types of waves

The formula λ = v ÷ f works for all waves, but the values change depending on the type. Radio waves, microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays are all electromagnetic waves traveling at the speed of light (3 × 108 m/s in a vacuum). A radio wave at 100 MHz has a wavelength of 3 meters. A visible light wave at 5 × 1014 Hz has a wavelength of about 600 nanometers (a red color).

Sound waves travel much slower than light, so they have much longer wavelengths at the same frequency. A 100 Hz sound wave in air has a wavelength of about 3.4 meters. A 100 MHz radio wave has a wavelength of 3 meters. The radio wave is much higher in frequency but travels much faster, so the wavelengths end up similar.

Water waves on the ocean surface have their own speed depending on water depth and wind. A water wave with a frequency of 0.1 Hz (one wave every 10 seconds) and a speed of 5 meters per second has a wavelength of 50 meters. The formula is the same; only the numbers change.

Frequently Asked Questions

What if the problem gives me wavelength in nanometers or micrometers?

Convert to meters before you use the formula. One nanometer is 0.000000001 meters (10−9 m). One micrometer is 0.000001 meters (10−6 m). Multiply the wavelength by the conversion factor to get meters, then use the formula. Your final answer will be in the same units you converted to.

Can I use this formula for water waves on the ocean?

Yes, but you need to know the wave speed for the specific conditions. Ocean wave speed depends on water depth and wind. If the problem tells you the wave speed, use it directly. If not, you may need to look it up or the problem will give you enough information to calculate it.

What is the difference between wavelength and frequency?

Frequency is how many waves pass a point per second (measured in hertz). Wavelength is the physical distance from one peak to the next peak (measured in meters or other distance units). They are inversely related: higher frequency means shorter wavelength, and lower frequency means longer wavelength.

Do I need to memorize the wave speeds for different materials?

No. Standard values like sound in air (343 m/s) and light in a vacuum (3 × 108 m/s) appear in most textbooks and reference sheets. If a problem requires a specific wave speed, it will either give it to you or tell you the medium so you can look it up.

What if my calculated wavelength is a very small or very large number?

That is normal. Radio waves have wavelengths measured in meters or kilometers. Visible light has wavelengths measured in nanometers. X-rays have wavelengths measured in picometers. Check that your units are correct and that you converted frequency properly. A very small or very large number is often the right answer for certain types of waves.