ThisCalculator

Everyday

Seconds to Frequency Calculator: Hz, kHz, MHz

Updated · Standard formula, shown below

Frequency 1,000.0000 Hz
Frequency
1.0000 kHz
Result
Frequency
0.0010 MHz
Result
Period
0.001 s
You entered

This calculator converts a time period in seconds into its equivalent frequency in hertz (Hz), kilohertz (kHz), and megahertz (MHz). You enter the duration of one cycle (the period), and you get back the frequency, which tells you how many cycles occur per second. The core relationship is simple: frequency is the reciprocal of the period.

Formula

The formula connecting period and frequency is:

f = 1 / T

  • f = frequency in hertz (Hz), meaning cycles per second.
  • T = period in seconds (s), meaning the time for one complete cycle.

To convert the result to kilohertz (kHz), divide by 1,000. To convert to megahertz (MHz), divide by 1,000,000.

Worked Example

Using the default value of 0.001 seconds (1 millisecond) as the period:

  1. Start with the formula: f = 1 / T
  2. Plug in the period: f = 1 / 0.001
  3. Calculate: f = 1000 Hz
  4. Convert to kHz: 1000 Hz / 1000 = 1 kHz
  5. Convert to MHz: 1000 Hz / 1,000,000 = 0.001 MHz

So a period of 1 millisecond corresponds to a frequency of 1000 Hz, or 1 kHz. The calculator gives the same result: 1000.0000 Hz, 1.0000 kHz, and 0.0010 MHz.

Understanding Period and Frequency

Period and frequency describe the same physical phenomenon from opposite directions. The period is the duration of one cycle of a repeating event, such as a wave or a rotating object. Frequency is the number of those cycles that occur in one second. If a wave takes 0.5 seconds to complete one cycle, its frequency is 2 Hz—it repeats twice every second. If a wave repeats 50 times per second, its period is 1/50 = 0.02 seconds, or 20 milliseconds.

This relationship is fundamental in physics and engineering. It applies to sound waves, radio waves, alternating current (AC) electricity, mechanical vibrations, and even digital clock signals in computers. The unit hertz is named after Heinrich Hertz, who demonstrated the existence of radio waves in the late 1880s.

How to Use the Calculator

Enter the period of one cycle in seconds. You can use decimal values like 0.000002 (2 microseconds) or scientific notation if your browser supports it (e.g., 1e-6). The calculator will compute the frequency in Hz, kHz, and MHz. For most practical purposes, you will focus on one unit depending on your field:

  • Audio and acoustics: frequencies are usually in the range of 20 Hz to 20 kHz, so kHz is the common unit.
  • Radio and wireless: frequencies range from kHz to GHz; MHz is common for FM radio and many wireless devices.
  • Electronics and digital circuits: clock speeds are often in MHz or GHz, but the period is frequently given in nanoseconds (1 ns = 1e-9 s).
  • Power systems: AC line frequency is 50 Hz or 60 Hz, so Hz is the natural unit.

Common Mistakes and Misconceptions

One common mistake is mixing up period and wavelength. Wavelength is the physical length of one cycle (in meters), not the time duration. The formula above only converts time to frequency; to get wavelength you need the wave speed (e.g., speed of light for radio waves).

Another frequent error is forgetting to convert units before using the formula. If you measure the period in milliseconds, you must convert to seconds first. For example, a period of 10 ms is 0.01 s, giving a frequency of 100 Hz, not 0.1 Hz. The calculator expects the period in seconds, so always convert to seconds before entering the value.

A related misconception is that frequency and period are independent. They are not—they are reciprocals. Doubling the frequency halves the period, and vice versa. This inverse relationship is linear on a logarithmic scale, which is why graphs of frequency response often use logarithmic axes.

Practical Examples in Different Fields

Here are a few real-world scenarios where you might need this conversion:

  • Audio engineering: A musical note A4 has a frequency of 440 Hz. Its period is 1/440 ≈ 0.00227 s, or about 2.27 ms. If you are measuring the time between zero crossings of a waveform, you can calculate the pitch.
  • Radio communications: An FM radio station broadcasts at 98.5 MHz. The period of one wave is 1 / 98,500,000 ≈ 1.015e-8 s, or about 10.15 nanoseconds.
  • Computer hardware: A CPU with a clock speed of 3.2 GHz has a period of 1 / 3,200,000,000 ≈ 0.3125 nanoseconds. This tiny period determines how fast the processor can execute instructions.
  • Medicine (ECG): A normal resting heart rate of 60 beats per minute corresponds to a frequency of 1 Hz and a period of 1 second. A heart rate of 120 bpm gives a period of 0.5 seconds.

Limitations of the Simple Formula

The formula f = 1/T works perfectly for a perfect, unchanging periodic signal. In real-world signals, the period may vary slightly from cycle to cycle (jitter), or the signal may contain multiple frequencies (harmonics). In such cases, the “period” you measure is an average or instantaneous value, and the resulting frequency is an approximation. For precise measurements, instruments like frequency counters or spectrum analyzers are used.

Also note that the formula assumes you are measuring the time for one complete cycle. If you measure the time for multiple cycles, you must divide by the number of cycles to get the period first. For example, if 10 cycles take 0.02 seconds, the period is 0.002 s, and the frequency is 500 Hz.

Frequently Asked Questions

How do I convert from microseconds to frequency?

First convert microseconds to seconds by dividing by 1,000,000. Then take the reciprocal. For example, a period of 20 microseconds is 20e-6 s, so frequency = 1 / (20e-6) = 50,000 Hz = 50 kHz.

What is the frequency of a 60 Hz power line in terms of period?

The period is the reciprocal of 60 Hz: 1/60 ≈ 0.01667 seconds, or 16.67 milliseconds. This is the time between successive peaks of the AC voltage.

Can I use this calculator for rotational speed (RPM)?

Yes, with a conversion. If you have the period of one rotation in seconds, the frequency in revolutions per second (Hz) is 1/T. To get RPM, multiply by 60. For example, a period of 0.5 s per rotation gives 2 Hz, or 120 RPM.

What is the difference between frequency and angular frequency?

Angular frequency (ω) is measured in radians per second and is related to ordinary frequency by ω = 2πf. If you have a period in seconds, the angular frequency is 2π / T. This is common in physics and engineering equations involving sine waves.

Why do some calculators ask for the period in milliseconds?

Because many electronic signals have periods in the millisecond or microsecond range, entering values directly in those units avoids typing many zeros. Always check the unit label—if the calculator expects seconds, convert milliseconds to seconds by dividing by 1000.

Does this work for sound waves in air?

Yes, the period-frequency relationship is universal. If you measure the time between successive compressions of a sound wave, you can find its frequency. However, to find the wavelength, you would need the speed of sound (about 343 m/s in air at 20°C).

Related

Formula used
in t | Period | s | 0.001 | 0
out f_hz | Frequency | Hz | 1 / t | 4
out f_khz | Frequency | kHz | (1 / t) / 1000 | 4
out f_mhz | Frequency | MHz | (1 / t) / 1000000 | 4

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.