Frequency Formula: How to Calculate It
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.
This calculator finds the frequency of a wave (or any repeating event) when you know its period, or its speed and wavelength. Enter the known values and you get the frequency in hertz (Hz) instantly, plus the period and wavelength if applicable. The core formula is f = 1/T (frequency is the inverse of the period), and for waves f = v/λ (speed divided by wavelength).
Formula
The most basic frequency formula is:
f = 1 / T
- f = frequency, in hertz (Hz) – number of cycles per second
- T = period, in seconds (s) – time for one complete cycle
For a wave (like sound, light, or a ripple on water), you can also use:
f = v / λ
- v = wave speed, in meters per second (m/s)
- λ (lambda) = wavelength, in meters (m)
These two formulas are equivalent because the period is the time for one wavelength to pass a point, so T = λ / v.
Worked Example
Let’s use the default values from the calculator: period T = 0.5 s, wave speed v = 340 m/s, wavelength λ = 0.5 m.
- Using f = 1/T: f = 1 / 0.5 = 2 Hz
- Using f = v/λ: f = 340 / 0.5 = 680 Hz
Notice the two results are very different. That’s because the defaults are independent – they don’t describe the same wave. The calculator shows both so you can use whichever pair of values you have. For a real wave, all three quantities are related: if you know any two, you can find the third.
When to Use Which Formula
Choose the formula based on what you know:
- You have the period (T) – use f = 1/T. This works for any repeating event: a pendulum, a rotating wheel, a flashing light, a heartbeat.
- You have wave speed and wavelength – use f = v/λ. This is for waves: sound, light, radio, water waves, seismic waves.
- You have the angular frequency (ω) – use f = ω / (2π). Angular frequency is in radians per second, often used in physics and engineering.
If you have the number of cycles (N) and the total time (t), then frequency is simply N / t. For example, if a wheel makes 10 rotations in 5 seconds, f = 10/5 = 2 Hz.
How to Read the Result
Frequency tells you how many cycles happen per second. A frequency of 2 Hz means two full cycles every second. The unit hertz (Hz) is the same as “per second� (s�¹).
In everyday life:
- AC power in most countries is 50 or 60 Hz.
- Human hearing ranges roughly from 20 Hz to 20,000 Hz.
- Radio FM stations broadcast around 88–108 MHz (million Hz).
When you get a result, check if it makes sense for the situation. A sound wave with a wavelength of 0.5 m in air (speed ≈ 340 m/s) gives 680 Hz, which is a musical note near F5 – plausible.
Common Mistakes
- Mixing up period and frequency – Period is time per cycle (seconds), frequency is cycles per second (Hz). They are reciprocals. A common error is thinking a longer period means higher frequency – it’s the opposite.
- Unit mix-ups – Wavelength must be in meters, speed in meters per second. If your wavelength is in centimeters, convert to meters first (divide by 100). If speed is in km/h, convert to m/s (divide by 3.6).
- Using the wrong speed of light or sound – The speed of light in vacuum is 299,792,458 m/s, but in a fiber optic cable it’s slower. The speed of sound in air is about 343 m/s at 20°C, but it changes with temperature and altitude. Always use the speed for your specific medium.
- Forgetting to convert minutes to seconds – If you measure 60 cycles in 2 minutes, that’s 60 cycles / 120 seconds = 0.5 Hz, not 30 Hz.
Limits of the Formula
The simple formulas assume a constant frequency and a uniform medium. Real waves can change frequency due to the Doppler effect (moving source or observer), and the speed of light or sound depends on the material. For electromagnetic waves in a vacuum, the formula is exact, but in a medium you must use the correct speed. Also, the formula gives the instantaneous frequency; if the wave is not periodic, you need more advanced analysis.
For very high frequencies (like light), you often use wavelength in nanometers and speed in m/s – just convert units carefully. The formula itself is always the same.
Frequently Asked Questions
How do I find frequency from time?
If you have the time for one cycle (the period T), use f = 1/T. For example, if a pendulum takes 2 seconds to swing back and forth, f = 1/2 = 0.5 Hz. If you have the total time for multiple cycles, divide the number of cycles by the total time.
What is the difference between frequency and period?
Period is the duration of one cycle (in seconds), while frequency is how many cycles occur in one second (in hertz). They are reciprocals: f = 1/T and T = 1/f. A wave with a period of 0.01 s has a frequency of 100 Hz.
How do I find frequency from wavelength?
Use f = v/λ, where v is the wave speed. For light in a vacuum, v = 3×10� m/s. For sound in air at room temperature, v ≈ 343 m/s. If you know the wavelength, just divide the speed by the wavelength.
What is the unit of frequency?
The SI unit is hertz (Hz), which equals one cycle per second. Sometimes you’ll see rpm (revolutions per minute) – to convert to Hz, divide by 60. For example, 120 rpm = 2 Hz.
Can frequency be negative?
In physics, frequency is a positive number – it counts cycles, so it can’t be negative. In some signal processing, you may see “negative frequency� as a mathematical convenience, but it doesn’t represent a physical backward wave.
Why does the calculator have two frequency outputs?
Because you might have either the period or the speed and wavelength. The calculator shows both so you can use whichever data you have. If you enter values that don’t correspond to the same wave, the two results will differ – that’s expected.
Related
Formula used
in t | Period | s | 0.5 | 0 in v | Wave speed | m/s | 340 | 0 in λ | Wavelength | m | 0.5 | 0 out f | Frequency | Hz | 1 / t | 2 out f2 | Frequency from speed & wavelength | Hz | v / λ | 2
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.