Frequency ↔ Period Converter
Convert frequency to period (T = 1/f) and period to frequency, across Hz to GHz and seconds to picoseconds, with angular frequency ω = 2πf for AC and filter work.
How to Use
- Enter a frequency with its unit (60Hz, 16MHz, 2.4GHz) to get the period.
- Or enter a period (16.67ms, 62.5ns) to get the frequency.
- Read the result in the most readable unit, plus the angular frequency ω = 2πf.
- Use the period to set timer reloads, check scope readings or plan timing budgets.
Worked Example
An Arduino runs from a 16 MHz crystal. Its clock period is T = 1 ÷ 16,000,000 = 62.5 ns. With the timer prescaler set to 64, each timer tick lasts 64 × 62.5 ns = 4 µs, so a 1 ms interrupt needs 1 ms ÷ 4 µs = 250 ticks.
The other way: a signal on the scope repeating every 16.67 ms is 1 ÷ 0.01667 = 60 Hz, mains hum.
The common mistake: losing a factor of 1000. 1 ÷ 16 MHz is 0.0625 µs (62.5 ns), not 0.0625 ms. Keep units paired (MHz ↔ µs, kHz ↔ ms) and the decimal point takes care of itself.
Show Work
Formulas
History of the Frequency Unit
The hertz (Hz) — cycles per second — was adopted as an SI unit in 1930 to honor Heinrich Hertz's 1887 experimental confirmation of Maxwell's prediction of electromagnetic waves. Before 1960 or so, the term "cycles per second" (abbreviated cps) dominated engineering; older textbooks and equipment labels from before the changeover still read "cps" where modern equivalents say "Hz." Radio hobbyists still occasionally use the old notation.
The reciprocal relationship T = 1/f is older than Maxwell — Christiaan Huygens worked with it in his pendulum-clock studies of the 1650s to 1670s. What changed in the electronic era was the range: pendulum clocks operate at ~1 Hz (1 second periods), AC mains at 50 or 60 Hz (20 or 16.67 ms), audio at 20 Hz - 20 kHz (50 ms - 50 µs), RF broadcast at MHz-GHz (µs-ns), and modern CPU clocks at GHz (100-500 ps). That's 13 orders of magnitude.
Angular frequency ω = 2πf (rad/s) appears in impedance formulas (Xl = ωL, Xc = 1/ωC) because it measures rotational speed in radians rather than cycles. This convention came from mathematical physics where the exponential form e^(jωt) simplifies to vector rotation — still central to every AC circuit analysis today.
About This Calculator
Enter either frequency or period; the other updates automatically. The tool accepts SI prefixes on both: kHz/MHz/GHz/THz for frequency; ms/µs/ns/ps for period. Also displays angular frequency ω = 2πf in rad/s and half-period T/2 (the gap between zero crossings of a sine wave).
Common benchmarks: AC line 50 Hz → 20 ms (EU) or 60 Hz → 16.67 ms (US); 32.768 kHz watch crystal → 30.518 µs; 16 MHz Arduino clock → 62.5 ns per instruction cycle; 2.4 GHz WiFi → 417 ps per cycle; 5 GHz CPU → 200 ps. Everything runs client-side; no values leave your browser.
Frequently Asked Questions
Why are frequency and period reciprocals?
Frequency counts cycles per second; period is seconds per cycle. One is simply the other turned upside down: T = 1 ÷ f and f = 1 ÷ T.
What is angular frequency?
ω = 2πf, measured in radians per second. It appears in AC formulas such as inductive reactance XL = ωL and capacitive reactance XC = 1 ÷ (ωC), because one cycle is 2π radians of rotation.
How do I keep the units straight?
Pair them: Hz with seconds, kHz with milliseconds, MHz with microseconds, GHz with nanoseconds. 1 MHz has a 1 µs period, 1 GHz a 1 ns period.
How does this help with microcontroller timers?
A timer ticks once per clock period times the prescaler. At 16 MHz with a prescaler of 64, each tick is 64 × 62.5 ns = 4 µs, so counting 250 ticks gives exactly 1 ms.
What is the period of mains power?
20 ms for 50 Hz and 16.67 ms for 60 Hz. Rectified mains ripples at twice the frequency, so the ripple period is 10 ms or 8.33 ms.
How do I use the Frequency ↔ Period Converter?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Microcontroller Timers
Work out how many clock ticks fit in the interval you need, then pick a prescaler and reload value.
Oscilloscope Readings
Measure the time between repeating edges on a scope and convert it to frequency, or check that a clock has the period you expect.
Audio and Music
A4 at 440 Hz has a 2.273 ms period; low bass notes have periods of tens of milliseconds, which is why bass needs larger buffers.
RF and Digital Clocks
A 2.4 GHz Wi-Fi carrier repeats every 417 ps, and a 3 GHz CPU clock every 333 ps, about the time light takes to cross 10 cm.
Last updated: