How Is Frequency Calculated? Formula & Units
- Revolutions per minute
- RPM
- Result
- Cycles per day
- cycles/day
- Result
- Period
- 0.02 s
- You entered
This calculator works out the frequency of a repeating event from its period (the time for one complete cycle). You enter the period in seconds, milliseconds, or any time unit, and the calculator returns the frequency in hertz (Hz), plus the equivalent in revolutions per minute (RPM) and cycles per day. The core formula is simple: frequency equals 1 divided by the period.
Formula
The fundamental relationship is:
f = 1 / T
- f = frequency, measured in hertz (Hz), where 1 Hz = 1 cycle per second.
- T = period, the time for one complete cycle, measured in seconds (s).
If you are working from the number of cycles N that occur in a time t, the formula becomes:
f = N / t
For example, if a wheel spins 120 times in 60 seconds, the frequency is 120 / 60 = 2 Hz. Both forms are equivalent; the first is a special case of the second with N = 1 and t = T.
Worked Example
Using the default values from the calculator above: period T = 0.02 seconds.
- Frequency: f = 1 / 0.02 = 50 Hz. This is the main answer.
- RPM: multiply the frequency in Hz by 60 (seconds per minute): 50 × 60 = 3000 RPM.
- Cycles per day: multiply the frequency in Hz by 86,400 (seconds per day): 50 × 86,400 = 4,320,000 cycles/day.
The calculator shows 50.00 Hz, 3000.00 RPM, and 4,320,000.00 cycles/day. These results match exactly.
When to Use This Calculation
You use frequency calculations whenever you need to know how often something repeats over time. Common situations include:
- Determining the frequency of a sound wave from its period (e.g., a tuning fork).
- Finding the rotation speed of a motor or wheel in RPM from the time per revolution.
- Working out the frequency of an alternating current (AC) from the period of one cycle.
- Converting the period of a pendulum or oscillator into its natural frequency.
The result tells you how many complete cycles occur in one second (or per minute/day if you use those outputs). A higher frequency means more cycles per unit time, which corresponds to a shorter period.
Common Mistakes and How to Avoid Them
The most frequent errors come from unit mix-ups:
- Using milliseconds without converting: If the period is given in milliseconds, you must convert to seconds first (divide by 1000) before applying f = 1/T. For example, T = 20 ms = 0.02 s, so f = 50 Hz. Using 20 directly would give 0.05 Hz, which is wrong.
- Confusing period and frequency: Remember that period is time per cycle (seconds), while frequency is cycles per second (Hz). They are reciprocals.
- Rounding too early: If you round the period to 0.02 s from 0.0199 s, the frequency changes from about 50.25 Hz to 50 Hz. Keep extra digits until the final step.
- Forgetting that 1 Hz = 1 cycle per second: This is the definition, so always keep the unit in mind.
Limits of the Formula
The formula f = 1/T assumes the event is perfectly periodic—each cycle takes exactly the same amount of time. Real-world signals often have slight variations (jitter), so the calculated frequency is an average. For non-repeating or random events, frequency is not defined in this simple way; you would use statistical descriptions like power spectral density instead.
Also, the formula gives the fundamental frequency for a simple repeating cycle. Complex waveforms (like a square wave or a musical note with harmonics) have additional frequency components, but the fundamental frequency is still 1/T for the main cycle.
Frequency in Different Contexts
The same mathematical relationship appears in many fields:
- Sound: A 440 Hz tuning fork has a period of 1/440 ≈ 0.00227 seconds.
- Electricity: Mains power in many regions is 50 Hz (period 20 ms) or 60 Hz (period ≈ 16.67 ms).
- Radio waves: Frequencies are often given in megahertz (MHz) or gigahertz (GHz); 1 MHz = 1,000,000 Hz.
- Mechanical rotation: A fan spinning at 3000 RPM has a frequency of 50 Hz (3000/60).
In all cases, the unit hertz is used, but the concept of cycles per second is universal.
Frequently Asked Questions
What is the difference between frequency and period?
Frequency is how often something repeats per unit time (cycles per second), while period is the time for one repetition (seconds per cycle). They are reciprocals: f = 1/T and T = 1/f. For example, a period of 0.5 s gives a frequency of 2 Hz.
How do I convert RPM to Hz?
Divide the RPM by 60, because there are 60 seconds in a minute. For instance, 3000 RPM ÷ 60 = 50 Hz. Conversely, multiply Hz by 60 to get RPM.
Can I calculate frequency from wavelength?
Yes, but only if you know the wave speed. The formula is f = v / λ, where v is the speed (e.g., 343 m/s for sound in air) and λ is the wavelength in meters. For light, v is the speed of light (about 3 × 10^8 m/s). This is a different relationship from f = 1/T, but they are connected through the wave speed.
What if the period is given in milliseconds?
Convert milliseconds to seconds first by dividing by 1000. Then use f = 1/T. For example, a period of 20 ms is 0.02 s, so f = 1/0.02 = 50 Hz. Many calculators handle this automatically, but it’s a common source of error when doing it by hand.
Why is frequency measured in hertz and not cycles per second?
Hertz (Hz) is the SI unit that officially replaced “cycles per second” in 1960, in honor of Heinrich Hertz. They mean exactly the same thing: 1 Hz = 1 cycle per second. You may still see “cps” in older documents, but Hz is the standard today.
Related
Formula used
in t | Period | s | 0.02 | 0 out f | Frequency | Hz | 1 / t | 2 out rpm | Revolutions per minute | RPM | (1 / t) * 60 | 2 out cpd | Cycles per day | cycles/day | (1 / t) * 86400 | 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.