Frequency Calculator: Convert Waves to Hz
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A frequency calculator for waves takes a wave’s speed and wavelength (or its period) and returns its frequency in hertz (Hz), which is the number of complete wave cycles that pass a point each second. You enter the wave speed and wavelength (or period), and the calculator gives you the frequency, along with the period if you started from speed and wavelength. This is the core relationship that describes everything from radio signals and sound to light and water waves.
Formula
The fundamental wave equation links speed, wavelength, and frequency:
f = v / λ
Where:
- f = frequency in hertz (Hz), or cycles per second
- v = wave speed in meters per second (m/s)
- λ (lambda) = wavelength in meters (m)
If you instead know the period T (the time for one full cycle, in seconds), the frequency is simply the reciprocal:
f = 1 / T
Both formulas are equivalent because the period is the time for one wavelength to pass a point, so T = λ / v.
Worked Example
Using the default values from the calculator above: a sound wave traveling at 343 m/s (the speed of sound in air at about 20°C) with a wavelength of 0.5 meters.
- Write down the formula: f = v / λ
- Plug in the values: f = 343 / 0.5
- Compute: f = 686 Hz
- The period is T = λ / v = 0.5 / 343 ≈ 0.00146 s (1.46 ms)
The calculator shows 686.00 Hz for frequency and 0.0015 s for period (rounded to 4 decimals). That matches – this is a sound wave roughly in the range of a high musical note (the D#6 note, if you’re curious).
How Frequency and Wavelength Relate
Frequency and wavelength are inversely proportional for a given wave speed: as wavelength gets shorter, frequency gets higher, and vice versa. This is why you can tune a radio by adjusting the antenna length (which affects the effective wavelength) or why an X-ray (very short wavelength) has a much higher frequency than a radio wave (very long wavelength).
The wave speed depends on the medium. For electromagnetic waves in a vacuum, v is the speed of light (≈ 3 × 10� m/s). For sound in air, v is about 343 m/s at room temperature, but it increases with air temperature. For water waves, v depends on depth and wavelength, so the simple formula still works but you need the correct speed for that specific wave.
How to Choose the Right Inputs
To use the calculator correctly, you need to know which two quantities you have. The most common cases:
- You know speed and wavelength – use the first two inputs and read frequency directly.
- You know speed and frequency – you can rearrange the formula to find wavelength: λ = v / f. (This calculator doesn’t do that, but you can swap the inputs: put the frequency you know in the wavelength box and read the wavelength from the frequency output – just remember the units.)
- You know period and speed – compute frequency as 1/T, then use the calculator to double-check.
Always check your units. The calculator uses meters and seconds, so if you have a wavelength in centimeters or nanometers, convert to meters first (divide cm by 100, multiply nm by 10��). Similarly, if your speed is in km/h, divide by 3.6 to get m/s.
Common Mistakes and Pitfalls
The most frequent error is mixing up units. For example, radio frequencies are often given in MHz or GHz, and wavelengths in meters. If you enter 100 MHz as 100 (instead of 100,000,000 Hz), you’ll get a wavelength that is off by a factor of a million. Always convert to base SI units before calculating.
Another common mistake is using the wrong wave speed. For electromagnetic waves, use the speed of light (299,792,458 m/s, but 3×10â�¸ m/s is usually fine). For sound, the speed varies with temperature – it’s about 331 m/s at 0°C and 343 m/s at 20°C. Using the wrong speed changes the answer by a few percent.
Also, remember that the formula f = v/λ applies to waves that are not changing speed as they travel. In dispersive media (like water waves), the speed depends on wavelength, so the simple relationship still holds at each instant, but you can’t just plug in any speed – you need the phase speed for that specific wavelength.
Real-World Applications
Frequency calculations are everywhere:
- Radio and TV: stations broadcast at specific frequencies (e.g., 98.5 MHz). The wavelength is λ = c/f, which helps design antennas.
- Music and acoustics: a tuning fork at 440 Hz (A4) produces a sound wave with wavelength ≈ 0.78 m in air at 20°C.
- Light and optics: visible light has frequencies around 4×10¹� to 8×10¹� Hz, corresponding to wavelengths from about 400 to 700 nm.
- Medical imaging: ultrasound uses frequencies of 1–20 MHz; the wavelength in tissue (speed ≈ 1540 m/s) determines image resolution.
- Oceanography: wave period and speed help predict when waves will arrive at a coast.
In every case, the calculator above gives you the frequency if you know the speed and wavelength. For electromagnetic waves, you can use the speed of light; for sound, use the appropriate speed for the medium.
Limits of the Simple Formula
The formula f = v/λ assumes a simple sinusoidal wave with a single frequency. Real waves are often superpositions of many frequencies (like a musical chord or a pulse), but the concept still applies to each component. Also, the formula works for any wave type – mechanical, electromagnetic, or matter waves – as long as you use the correct speed.
For waves in a medium that moves (like sound in wind), the speed relative to the observer changes, which shifts the observed frequency (Doppler effect). The calculator doesn’t account for that; it assumes the source and observer are stationary relative to the medium.
Finally, for extremely high frequencies (like gamma rays), quantum effects become relevant, but the classical wave equation still gives the correct frequency for most practical purposes.
Frequently Asked Questions
What is a hertz?
A hertz (Hz) is one cycle per second. If a wave has a frequency of 100 Hz, 100 complete wave cycles pass a fixed point every second. The unit is named after Heinrich Hertz, who experimentally confirmed electromagnetic waves.
How do I find frequency from period?
Frequency is the reciprocal of the period: f = 1/T, where T is in seconds. For example, if a wave has a period of 0.02 seconds, the frequency is 1/0.02 = 50 Hz.
What is the frequency of visible light?
Visible light ranges from about 4×10¹� Hz (red) to about 8×10¹� Hz (violet). The exact frequency depends on the wavelength: f = c/λ, with c ≈ 3×10� m/s.
Why does the calculator give different answers for sound and light?
Because the wave speed differs. Sound travels at about 343 m/s in air, while light travels at about 3×10� m/s. For the same wavelength, light will have a much higher frequency because it moves faster.
Can I use this calculator for ocean waves?
Yes, if you know the wave speed and wavelength. However, ocean wave speed depends on water depth and wavelength, so you need to determine the speed first. For deep water, speed ≈ 1.25 × √(wavelength) in meters per second, but that’s a separate calculation.
What is the wavelength of a 100 MHz radio wave?
Using the speed of light (3×10� m/s), λ = c/f = 3×10� / 100×10� = 3 meters. So a 100 MHz signal has a wavelength of about 3 meters.
Related
Formula used
in v | Wave speed (v) | m/s | 343 | 0 in λ | Wavelength (λ) | m | 0.5 | 0.000001 out f | Frequency (f) | Hz | v / λ | 2 out T | Period (T) | s | λ / 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.