Calculating Frequency From Wavelength: Formula and Examples
- Period
- s
- Result
- Wavelength
- 1 m
- You entered
- Wave speed
- 299792458 m/s
- You entered
To calculate frequency from wavelength, divide the wave’s speed by its wavelength: f = v / λ. Enter the wavelength and the wave speed in matching units to find the frequency, usually in hertz (Hz); for electromagnetic waves in a vacuum, use the speed of light.
Formula
The frequency of a repeating wave is its speed divided by its wavelength:
f = v / λ
- f is frequency in hertz (Hz), or cycles per second.
- v is the wave’s speed in metres per second (m/s).
- λ (lambda) is wavelength in metres (m), the distance between equivalent points on successive cycles.
The calculator’s input labeled Wavelength is λ, and Wave speed is v. Its second output is the period, the time for one cycle: T = λ / v = 1 / f, measured in seconds. The frequency output is shown to two decimal places; the underlying calculation uses the entered values.
Worked Example
Using the calculator’s default wavelength of 1 m and wave speed of 299,792,458 m/s:
- Apply the frequency formula: f = v / λ.
- Substitute the values: f = 299,792,458 m/s / 1 m.
- Divide: f = 299,792,458 Hz, which the calculator displays as 299,792,458.00 Hz.
- For the period, T = λ / v = 1 / 299,792,458 s, or approximately 0.000000003336 s (3.336 nanoseconds).
The default speed is the speed of light in a vacuum. The result matches the frequency of a one-metre electromagnetic wave in a vacuum; it is not a universal speed for every kind of wave or every material.
What the Formula Means
Wavelength and frequency describe different features of the same wave. Wavelength tells you how far apart repeating points are in space; frequency tells you how many cycles pass a fixed point each second. If the wave speed stays the same, a shorter wavelength means a higher frequency, while a longer wavelength means a lower frequency.
The relationship follows from how far the wave travels during one cycle. In one period T, it travels one wavelength λ, so v = λ / T. Since frequency is the reciprocal of period, f = 1 / T, rearranging gives f = v / λ. The units confirm the result: (m/s) / m = 1/s, and one cycle per second is one hertz.
Choosing the Right Wave Speed
The wavelength alone is not enough to determine frequency. You also need the wave’s speed in the medium where that wavelength is measured. Different kinds of waves, and even the same kind in different materials, can travel at different speeds.
- Electromagnetic waves in a vacuum: use c = 299,792,458 m/s. This applies to radio waves, visible light, X-rays and other electromagnetic radiation in a vacuum.
- Electromagnetic waves in a material: use their speed in that material, not automatically the vacuum value. The speed depends on the material and, in some cases, the wave’s frequency.
- Sound waves: use the speed of sound in the relevant medium. Sound travels differently through gases, liquids and solids, and its speed in air varies with conditions such as temperature.
- Waves on strings or water: use the speed appropriate to the string or water conditions. Do not substitute the speed of light merely because the formula is the same.
For a general calculation, the calculator accepts metres and metres per second. If your speed is in kilometres per second, multiply it by 1,000 to get m/s. If the wavelength is in centimetres, divide it by 100 to convert it to metres; for millimetres, divide by 1,000. You can also calculate with other consistent units, such as kilometres and kilometres per second, but do not mix unit systems within the division.
Electromagnetic Waves and a Common Misconception
In a vacuum, all electromagnetic waves travel at the same speed, c, but they do not all have the same frequency or wavelength. A radio wave can have a much longer wavelength and lower frequency than visible light. The frequency is set by the relationship f = c / λ, and the wavelength changes when the wave’s speed changes.
When light enters a material, its speed and wavelength change, but its frequency ordinarily remains the same at the boundary. This is why you must use the speed and wavelength for the same medium in the formula. Combining the wavelength measured in glass with the speed in a vacuum would not describe the wave in either setting.
Common Mistakes and Limits
- Using the wrong speed: the speed of light is not the speed of sound or of every wave in a material.
- Mixing units: convert both inputs to a consistent system before dividing. For example, use m/s with metres, not m/s with centimetres.
- Confusing frequency and period: frequency is cycles per second; period is seconds per cycle. They are reciprocals, not interchangeable numbers.
- Rounding too early: keep extra digits through intermediate steps, then round the final result to a precision justified by the measurements.
- Assuming a measured wavelength is exact: uncertainty in wavelength or wave speed carries into the calculated frequency. The formula does not correct measurement error.
The simple formula describes a wave with a meaningful speed and wavelength. In complex, dispersive settings—where a wave’s speed depends on frequency—or for irregular signals that are not a single repeating wave, one wavelength and one frequency may not fully characterize the signal. A spectrum or a more detailed physical model may be needed.
Frequently Asked Questions
How do you calculate frequency from wavelength?
Divide wave speed by wavelength: f = v / λ. Use matching units, such as metres per second and metres, to get frequency in hertz.
Can I find frequency from wavelength alone?
Not in general. You also need the wave’s speed, which depends on the wave type and its medium. For electromagnetic waves in a vacuum, that speed is the speed of light.
What is the frequency of a 500 nm wavelength of light in a vacuum?
Convert 500 nm to 5 × 10⁻⁷ m, then calculate f = 299,792,458 / (5 × 10⁻⁷). The result is about 5.996 × 10¹⁴ Hz, or 599.6 terahertz.
How do wavelength and frequency relate?
At a fixed wave speed, they are inversely proportional: doubling the wavelength halves the frequency. If the speed changes, use the actual speed and wavelength in the formula.
What units should I use?
Use consistent distance and speed units. Metres with metres per second produce hertz; kilometres with kilometres per second also produce inverse seconds. Convert prefixes carefully when using nanometres, centimetres or other units.
How do I calculate wavelength if I know frequency?
Rearrange the same relationship: λ = v / f. Divide the wave speed by frequency, using consistent units to obtain wavelength.
Related
Formula used
in w | Wavelength | m | 1 | 0 in v | Wave speed | m/s | 299792458 | 0 out f | Frequency | Hz | v / w | 2 out p | Period | s | w / v | 6
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.