Time Period to Frequency Calculator Online
- Frequency
- kHz
- Result
- Frequency
- MHz
- Result
- Period
- 0.02 s
- You entered
This calculator converts a time period (the time for one complete cycle) into frequency (cycles per second, or hertz). You enter the period in seconds, minutes, or milliseconds, and it returns the frequency in hertz, along with the equivalent in kilohertz or megahertz if applicable. The relationship is simple: frequency = 1 / period.
Formula
The core formula is:
f = 1 / T
Where:
- f = frequency in hertz (Hz)
- T = time period in seconds (s)
If you enter the period in milliseconds (ms), the calculator first converts it to seconds by dividing by 1000, then applies the formula. For example, a period of 20 ms becomes 0.02 s, and the frequency is 1 / 0.02 = 50 Hz.
Worked Example
Using the default values from the calculator above:
- Enter the period as 0.02 seconds.
- Apply the formula: f = 1 / 0.02
- Compute: f = 50 Hz
The calculator shows 50 Hz as the frequency. It also shows 0.05 kHz and 0.00005 MHz as alternative units.
When to Use This Calculator
You would use this tool whenever you know the time for one complete cycle of a repeating event—such as a sound wave, an electrical signal, a rotating shaft, or a flashing light—and you need to know how many cycles occur per second. This is common in electronics (e.g., determining the frequency of a clock signal from its period), audio engineering (e.g., converting a wave’s period to its pitch), and physics (e.g., calculating the frequency of a pendulum).
It also works in reverse: if you know the frequency, you can find the period by taking the reciprocal. Many people use the calculator to check their manual math or to quickly compare values across units.
How to Read the Result
The primary output is the frequency in hertz. One hertz means one cycle per second. If the frequency is large, the calculator also gives you kilohertz (thousands of cycles per second) and megahertz (millions of cycles per second). For example, a period of 0.000001 s (1 microsecond) gives a frequency of 1,000,000 Hz, which is 1 MHz.
For very small periods (like nanoseconds), the frequency will be huge, and the calculator will display it in MHz or GHz if you adjust the inputs. Conversely, a long period (like 2 seconds) gives a low frequency of 0.5 Hz—half a cycle per second.
Common Mistakes and Unit Mix-ups
- Forgetting to convert milliseconds to seconds: If you enter 20 (thinking it’s seconds) but actually mean 20 ms, the result will be 0.05 Hz instead of 50 Hz. Always check the unit you are typing.
- Confusing period with wavelength: Period is time; wavelength is distance. They are related through wave speed (wavelength = speed × period), but they are not the same.
- Using the wrong reciprocal: Some people mistakenly multiply by the period instead of dividing. Remember: a smaller period means a higher frequency.
- Rounding too early: If you round the period to 0.02 when it’s actually 0.0198, the frequency changes noticeably. Keep full precision until the final step.
Limits of the Formula
The formula f = 1/T is exact for any periodic signal, but it assumes the period is constant and the signal repeats identically each cycle. Real-world signals may have jitter (small variations in period), which means the frequency is not perfectly stable. Also, the formula gives the fundamental frequency; complex waveforms (like square waves or music) contain harmonics, and the period corresponds to the fundamental, not the harmonics.
For extremely high frequencies (terahertz and above) or extremely low frequencies (fractions of a hertz), the calculator still works mathematically, but practical measurement may require specialized equipment.
Frequently Asked Questions
How do I convert a period in milliseconds to frequency?
Divide the period in milliseconds by 1000 to get seconds, then take the reciprocal. For example, 10 ms = 0.01 s, so frequency = 1 / 0.01 = 100 Hz.
What is the difference between period and frequency?
Period is the duration of one cycle (in seconds), while frequency is the number of cycles per second (in hertz). They are reciprocals of each other.
Can I use this for sound waves?
Yes. If you know the time for one complete sound wave oscillation, you can find its frequency, which corresponds to the pitch. For example, a period of 0.002 s gives 500 Hz, a note close to B4.
What if I have the frequency and want the period?
Simply invert the formula: T = 1 / f. For instance, 60 Hz has a period of 1/60 ≈ 0.01667 seconds, or 16.67 ms.
Does this work for alternating current (AC) electricity?
Yes. AC power has a frequency (e.g., 50 Hz or 60 Hz) and a corresponding period. The formula applies to any repeating electrical signal.
Why does the calculator show kHz and MHz?
These are just convenient units for large frequencies. 1 kHz = 1000 Hz, and 1 MHz = 1,000,000 Hz. The calculator gives them so you don’t have to convert manually.
Related
Formula used
in t | Period | s | 0.02 | 0.000000001 out f | Frequency | Hz | 1 / t | 4 out f_khz | Frequency | kHz | (1 / t) / 1000 | 4 out f_mhz | Frequency | MHz | (1 / t) / 1000000 | 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.