Frequency Equation: Formulas, Units, and Examples
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.
Frequency is the number of cycles or repeated events that occur per unit of time. To find it, use f = N/t when you know the number of cycles and elapsed time, or f = 1/T when you know the period of one cycle; this calculator uses cycles and seconds to return frequency in hertz.
Formula
The basic frequency equation is f = N/t. Here, f is frequency in hertz (Hz), N is the number of complete cycles or repetitions (a count), and t is the elapsed time in seconds (s). One hertz means one cycle per second. The corresponding period equation is T = 1/f, where T is the time for one cycle in seconds. If you measure a total time for a known number of cycles, then T = t/N.
These relationships assume the repetitions are periodic or that you want their average rate over the measured interval. The calculator’s second output is the average time per cycle, calculated as elapsed seconds divided by cycle count.
Worked Example
Using the calculator’s defaults, there are 10 cycles in 2 seconds:
- Apply the frequency equation: f = N/t.
- Substitute the values: f = 10 cycles / 2 s = 5 cycles/s.
- Since cycles per second are hertz, the frequency is 5.00 Hz.
- Find the period: T = t/N = 2 s / 10 = 0.2 s, or 0.200 s to three decimal places.
The result is an average of five cycles each second, with one cycle taking one-fifth of a second.
What Frequency Means and When to Use It
Frequency describes how often a repeating event happens. It appears in physics, electronics, sound, waves, rotating machinery, and everyday timing. The unit hertz is named for the cycles-per-second quantity: a signal at 60 Hz completes 60 cycles each second. A frequency of 1,000 Hz is also called 1 kilohertz (kHz).
Use f = N/t when you can count repeated events during a measured time. For example, if a wheel makes 120 complete turns in 30 seconds, its average rotational frequency is 120/30 = 4 Hz. This does not mean the wheel’s speed is 4 revolutions per minute: convert units if you need rpm. Four revolutions per second equals 240 revolutions per minute.
Use f = 1/T when you know the duration of one cycle. If a pendulum-like repeating motion takes 0.5 s per cycle, its frequency is 1/0.5 = 2 Hz. For a wave, the period is the time between equivalent points on successive cycles, such as one crest to the next.
Related Wave Equations and Units
For a wave moving at a known speed, frequency is also related to wavelength: v = fλ, or f = v/λ. Here, v is wave speed in metres per second (m/s), and λ (lambda) is wavelength in metres (m). The units divide to give inverse seconds, equivalent to hertz. This equation is useful only when the wave speed and wavelength refer to the same wave and medium.
Angular frequency is a related but different quantity. It is written ω = 2πf and measured in radians per second (rad/s). The factor 2π appears because one full cycle corresponds to 2π radians. Do not report angular frequency in hertz: they describe related rates but use different units.
- Hz: cycles per second.
- kHz: 1,000 Hz.
- MHz: 1,000,000 Hz.
- GHz: 1,000,000,000 Hz.
For time values given in minutes, hours, or milliseconds, convert to seconds before using the basic equation if you want the answer in hertz. For instance, 2 minutes is 120 seconds. Dividing a cycle count by 2 rather than 120 would produce cycles per minute, not cycles per second.
How to Measure and Avoid Common Errors
Count complete repetitions and measure the interval that contains them. For a stable repeating signal, timing many cycles and dividing by the total time often reduces the effect of stopwatch or start-and-stop reaction errors. If you time just one cycle, a small timing error can make a larger difference to the result.
- Use the same definition of a cycle throughout. Counting every peak and every trough as separate cycles doubles the count.
- Keep the time unit explicit. Cycles per minute, cycles per hour, and hertz are not interchangeable without conversion.
- Do not confuse period with frequency. A longer period means a lower frequency because they are reciprocals.
- Round at the end. Early rounding can slightly change later calculations, especially when converting between period and frequency.
- Check that the observed repetitions are complete. A partial final cycle should not automatically be counted as a whole one.
Frequency may change over time. In that case, dividing total cycles by total elapsed time gives an average frequency, not necessarily the frequency at every moment. A varying signal can be described by its instantaneous frequency or by a range of frequencies, depending on the measurement and context.
Limits and Interpretation
The simple equations do not tell you whether a measured signal is perfectly regular, what causes it, or how strong it is. Two signals can have the same frequency but different amplitudes or shapes. Measurement equipment and sampling methods can also affect what frequencies are visible, particularly for rapidly changing signals. For a real measurement, consider the instrument’s time resolution and whether the signal completes enough cycles during the observation.
For non-repeating events, a rate can still be calculated as events per unit time, but calling it a periodic frequency may be misleading. For example, a count of irregular arrivals over an hour is an average event rate; it does not imply the arrivals recur at evenly spaced intervals.
Frequently Asked Questions
What is the simplest equation to find frequency?
Use f = 1/T if you know the period of one cycle. If you counted multiple cycles, use f = N/t.
What is the unit of frequency?
The SI unit is the hertz (Hz), equal to one cycle per second. Larger values are often expressed in kilohertz, megahertz, or gigahertz.
How do you find frequency from period?
Take the reciprocal of the period: f = 1/T. A period of 0.25 seconds corresponds to 4 Hz.
How do you find frequency from wavelength?
If you also know the wave speed, divide speed by wavelength: f = v/λ. Use consistent units, such as metres per second and metres, to get hertz.
Are frequency and angular frequency the same?
No. Frequency is measured in hertz, while angular frequency is measured in radians per second. They are related by ω = 2πf.
Can frequency be measured in cycles per minute?
Yes, but that is not hertz unless converted. Divide cycles per minute by 60 to express the rate in cycles per second (Hz).
Related
Formula used
in N | Number of cycles | cycles | 10 | 0 in t | Elapsed time | s | 2 | 0 out f | Frequency | Hz | N / t | 2 out period | Period | s | t / N | 3
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.