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 repeating event when you know its period (the time for one complete cycle). Enter the period in seconds, and it returns the frequency in hertz (Hz), along with the equivalent in cycles per minute and per hour. The core formula is f = 1/T, where f is frequency and T is the period.
Formula
The fundamental relationship is:
f = 1 / T
- f is the frequency, measured in hertz (Hz). 1 Hz = 1 cycle per second.
- T is the period, the time for one complete cycle, measured in seconds (s).
If you know the number of cycles (N) that occur in a given time (t), the formula becomes:
f = N / t
This is the more general form and is often easier to apply when you are counting events rather than timing a single one. For example, if a wheel makes 120 rotations in 60 seconds, the frequency is 120 / 60 = 2 Hz.
Worked Example
Using the default values from the calculator above, let’s find the frequency when the period is 0.5 seconds.
- Start with the formula: f = 1 / T
- Substitute the period: f = 1 / 0.5 s
- Calculate: f = 2 Hz
The calculator shows 2.00 Hz, which matches. It also shows 120 cycles per minute (2 × 60) and 7200 cycles per hour (2 × 3600).
When to Use This Formula
Use the frequency formula any time you need to know how often something repeats in a unit of time. Common situations include:
- Wave physics: sound waves, light waves, and water waves.
- Mechanical systems: engine RPM (revolutions per minute), vibrations, and rotating machinery.
- Electronics: AC power frequency (50 or 60 Hz), clock signals in microprocessors, and radio waves.
- Biology: heart rate (beats per minute, which you can convert to Hz by dividing by 60) or breathing rate.
In all cases, the key is to identify what constitutes one complete cycle. For a pendulum, one cycle is a full swing back and forth. For a wave, one cycle is one full wavelength.
How to Read the Result
The result in hertz tells you how many cycles happen every second. A higher frequency means more cycles per second. Some useful reference points:
- 1 Hz = 1 cycle per second (about one heartbeat).
- 60 Hz = 60 cycles per second (standard AC power in North America).
- 440 Hz = the musical note A above middle C (tuning standard).
- 1 kHz (kilohertz) = 1000 Hz.
- 1 MHz (megahertz) = 1,000,000 Hz.
- 1 GHz (gigahertz) = 1,000,000,000 Hz.
When the period is very small (like a fraction of a millisecond), the frequency is very large. The inverse relationship means that as period decreases, frequency increases, and vice versa.
Common Mistakes and Misconceptions
A frequent error is mixing up frequency with period. Remember:
- Period (T) is measured in seconds per cycle.
- Frequency (f) is measured in cycles per second (Hz).
They are reciprocals, not the same thing. Another common mistake is using the wrong units. If the period is given in milliseconds, you must convert to seconds first (divide by 1000) before using the formula. For example, a period of 5 ms is 0.005 s, so the frequency is 1 / 0.005 = 200 Hz, not 0.2 Hz (which you would get if you forgot the conversion).
Also, be careful with the difference between frequency and angular frequency (ω). Angular frequency is measured in radians per second and is given by ω = 2πf. This is common in physics and engineering, but the plain frequency (f) is what this calculator computes.
Limits of the Formula
The formula f = 1/T assumes a perfectly regular, repeating cycle. In real-world signals, the period may vary slightly from cycle to cycle. In such cases, the formula gives an average frequency if you use the average period. For a precise instantaneous frequency, you would need more advanced tools like a spectrum analyzer or a phase-locked loop.
Another limitation is that the formula works for any repeating event, but it does not describe the shape of the wave (sine, square, triangle, etc.). Two signals can have the same frequency but look completely different on an oscilloscope. The frequency only tells you the repetition rate, not the waveform.
Finally, the formula is purely mathematical. It does not account for physical limits like the speed of light or the bandwidth of a medium. For example, you cannot have a frequency higher than the sampling rate of a digital system (Nyquist limit), but that is a separate concern from the basic calculation.
Frequently Asked Questions
What is the difference between frequency and period?
Frequency is how often something repeats per unit time (e.g., 10 times per second). The period is how long one repetition takes (e.g., 0.1 seconds). They are reciprocals: f = 1/T and T = 1/f.
How do I convert RPM to Hz?
RPM (revolutions per minute) is a frequency unit. To convert to Hz (cycles per second), divide by 60. For example, 120 RPM / 60 = 2 Hz. Conversely, to convert Hz to RPM, multiply by 60.
Can frequency be negative?
In the basic formula, frequency is always a positive number because period is positive. In advanced signal processing, negative frequencies appear in mathematical representations (like Fourier transforms), but they do not represent a physically observable repetition rate.
What is the frequency of a wave with a period of 2 seconds?
Using f = 1/T, the frequency is 1 / 2 = 0.5 Hz. That means one full cycle every 2 seconds.
How do I find frequency from wavelength?
For a wave, frequency (f) and wavelength (λ) are related by the wave speed (v): v = f × λ. To find frequency, use f = v / λ. For electromagnetic waves in a vacuum, v is the speed of light (approximately 3 × 10^8 m/s). For sound in air, v is about 343 m/s at room temperature.
What is the unit of frequency?
The SI unit is the hertz (Hz), which is defined as one cycle per second. Older names include cycles per second (cps), but hertz is the standard. Larger units like kHz, MHz, and GHz are common for higher frequencies.
Related
Formula used
in T | Period | s | 0.5 | 0 out f | Frequency | Hz | 1 / T | 2 out rpm | Cycles per minute | 1/min | (1 / T) * 60 | 2 out cph | Cycles per hour | 1/h | (1 / T) * 3600 | 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.