ThisCalculator

Everyday

Frequency of Wavelength Formula: How to Calculate

Updated · Standard formula, shown below

Frequency 686.00 Hz
Period
0.0015 s
Result
Wavelength
0.5 m
You entered
Wave speed
343 m/s
You entered

This calculator finds the frequency of a wave when you enter its wavelength and the wave speed. You get the frequency in hertz (Hz) for any wave—light, sound, or radio—as long as you know the speed of the medium. The formula is f = v / λ, where f is frequency, v is wave speed, and λ (lambda) is wavelength.

Formula

In words: frequency equals wave speed divided by wavelength.

Symbolically: f = v / λ

  • f = frequency, measured in hertz (Hz). One hertz means one complete wave cycle per second.
  • v = wave speed, measured in meters per second (m/s). For sound in air at 20°C, v ≈ 343 m/s. For light in a vacuum, v ≈ 3.00 × 108 m/s.
  • λ (lambda) = wavelength, measured in meters (m). It is the distance between two consecutive identical points on a wave (e.g., crest to crest).

This is the fundamental wave equation, sometimes written as v = f × λ. Rearranging it to solve for frequency gives the formula above. It applies to all types of waves: sound waves, light waves, water waves, and electromagnetic waves.

Worked Example

Using the default values from the calculator: wavelength = 0.5 m, wave speed = 343 m/s (speed of sound in air).

  1. Write the formula: f = v / λ
  2. Plug in the values: f = 343 / 0.5
  3. Divide: f = 686 Hz

The calculator shows 686.00 Hz, matching the result. The period (the time for one full cycle) is λ / v = 0.5 / 343 ≈ 0.001458 s, or about 1.46 milliseconds.

When to Use This Formula

Use the frequency-wavelength formula whenever you have two of the three quantities (speed, wavelength, frequency) and need the third. It is essential in:

  • Sound and acoustics: finding the pitch of a note from its wavelength, or tuning instruments.
  • Radio and telecommunications: converting between frequency and wavelength to choose antenna sizes or check channel allocations.
  • Light and optics: relating color to wavelength (e.g., visible light ranges from about 400 nm to 700 nm).
  • Physics homework: solving wave problems in any context.

Remember that the wave speed depends on the medium. For sound, it changes with temperature, humidity, and pressure. For light, it changes when passing through glass or water.

How to Read the Result

The frequency tells you how many wave cycles pass a fixed point per second. A higher frequency means more cycles per second and a shorter wavelength (for a fixed speed). For example, a sound wave with a frequency of 686 Hz is roughly the F note above middle C on a piano. The period, shown as the second output, is the time for one cycle—useful when you want to know the time interval between wave crests.

If you are working with electromagnetic waves, the frequency determines the type of radiation: radio waves have low frequencies (kHz to GHz), visible light is around 4 × 1014 Hz, and X-rays are much higher.

Common Mistakes and How to Avoid Them

  • Unit mismatch: The most common error is mixing units. If wavelength is in nanometers (nm), convert to meters first (1 nm = 1 × 10−9 m). If wave speed is in km/s, convert to m/s.
  • Using the wrong speed: For sound, using the speed of light gives a wildly wrong answer. Always check what type of wave you have and the medium.
  • Forgetting that frequency does not change when a wave changes medium: When a wave passes from one medium to another, its speed and wavelength change, but its frequency stays the same. This is why light changes color when it enters glass? Actually, the color you see is determined by frequency, so it does not change.
  • Misreading scientific notation: A wavelength like 5 × 10−7 m is 0.0000005 m, not 0.000005 m. Double-check your exponents.

Limits of the Formula

The formula f = v / λ is exact for any continuous wave in a uniform medium. However, it assumes:

  • The wave is sinusoidal (or you are dealing with a single frequency component).
  • The medium is non-dispersive, meaning the speed does not depend on frequency. In dispersive media (like glass for light), different frequencies travel at different speeds, so the simple formula still works per frequency, but the speed value must be the correct one for that frequency.
  • You are not dealing with relativistic effects (which are negligible for most practical purposes).

For electromagnetic waves in a vacuum, the speed is always c ≈ 3.00 × 108 m/s, so the formula becomes f = c / λ. For sound, the speed varies with temperature: approximately v ≈ 331.3 + 0.606 × T (in m/s, where T is in °C). At 20°C, that gives about 343 m/s.

Frequently Asked Questions

What is the wavelength of a 1 kHz sound wave in air?

Using f = 1000 Hz and v = 343 m/s, λ = v / f = 343 / 1000 = 0.343 m (34.3 cm). This is roughly the size of a human head, which is why head-related transfer functions matter in audio.

How do I convert wavelength in nanometers to frequency?

First convert nm to meters: divide by 1 × 109. For example, 500 nm = 500 × 10−9 m = 5 × 10−7 m. Then use f = c / λ with c = 3.00 × 108 m/s. So f = (3.00 × 108) / (5 × 10−7) = 6 × 1014 Hz (600 THz).

Does frequency change when a wave enters a different medium?

No. Frequency is determined by the source and remains constant when a wave passes from one medium to another. Only the speed and wavelength change. For example, when light enters glass from air, its speed drops and its wavelength shortens, but its frequency (and thus its color) stays the same.

What is the relationship between frequency and period?

Frequency and period are reciprocals: f = 1 / T, where T is the period (time per cycle). If a wave has a frequency of 50 Hz, its period is 1/50 = 0.02 seconds (20 ms). The calculator shows the period as a second output.

Why do we use hertz instead of cycles per second?

Hertz (Hz) is the SI unit for frequency, named after Heinrich Hertz, and it is exactly one cycle per second. The name was adopted in 1960 to honor his work on electromagnetic waves. Using Hz avoids confusion with other uses of the word “cycle.”

Can I use this formula for light in water?

Yes, but you must use the speed of light in water, which is about 2.25 × 108 m/s (c divided by the refractive index of water, ~1.33). The frequency remains the same as in air, but the wavelength is shorter.

Related

Formula used
in t | Wavelength | m | 0.5 | 0
in v | Wave speed | m/s | 343 | 0
out f | Frequency | Hz | v / t | 2
out period | Period | s | t / v | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.