Home / Electrical Engineering / Digital Electronics / Clock Frequency-Period Relation

Formula & Calculator

Clock Frequency-Period Relation

Frequency and period are two ways of saying the same thing. The period T is the time for one complete cycle, and frequency f is how many cycles happen in one second. They are reciprocals: f = 1/T. So a clock with a period of 10 ns has a frequency of 100 MHz. This simple relationship is used constantly when working with digital clocks and oscillators.

Digital Electronics Timing

Clock Frequency & Period Calculator

The simplest relationship in timing: f = 1 / T. Solve for frequency or period, then read the duty cycle, high time, Nyquist limit and free-space wavelength.

Inputs

Choose what to solve for, then fill in the other box. Scientific notation such as 1e9 or 2.5e-9 is accepted. Units convert automatically.

Presets

Results

Enter a value and press Calculate. Your answer will appear here.

Clock waveform

Three periods of the clock drawn to scale. T is the full period, tH the high time and tL the low time. At 50 % duty the high and low times are equal.

Frequency vs. period (log–log)

On log–log axes f = 1/T is a straight line of slope −1. One decade more frequency is exactly one decade less period. The dashed line marks the Nyquist limit, f / 2.

What is being calculated

Two clocks over the same time span, showing that a shorter period means a higher frequency Two square waves share one time axis. The upper clock has a long period T one and a low frequency f one. The lower clock fits three times as many cycles in the same time, so its period is one third as long and its frequency is three times higher. Same time span — two different clock frequencies f₁ T₁ — long period f₂ T₂ — short period T₂ = T₁ / 3 ⟹ f₂ = 3 · f₁

Common clock frequencies

SourceFrequencyPeriodHalf-period

Computed by the same engine at 50 % duty. Illustrative values, not manufacturer data.

Frequency unit ladder

PrefixValuePeriod when f = 1 of that unit
1 Hz1 × 10⁰ Hz1 s
1 kHz1 × 10³ Hz1 ms
1 MHz1 × 10⁶ Hz1 µs
1 GHz1 × 10⁹ Hz1 ns
1 THz1 × 10¹² Hz1 ps

The prefix steps by 1000 while the period steps by 1/1000 — that is the f = 1/T relationship read straight off the SI ladder.

Key relations and unit conversions

QuantityRelation
Frequency and periodf = 1 / T · T = 1 / f · f · T = 1
Angular frequencyω = 2πf = 2π / T (rad/s)
Duty cycleD = t_H / T · t_H = D·T · t_L = (1 − D)·T
Time for N cyclest = N · T = N / f
Cycles in a time tN = f · t
Nyquist limitfmax = fsample / 2
Wavelength (free space)λ = c / f · c = 299 792 458 m/s
Frequency units1 Hz = 10⁻³ kHz = 10⁻⁶ MHz = 10⁻⁹ GHz = 10⁻¹² THz
Period units1 s = 10³ ms = 10⁶ µs = 10⁹ ns = 10¹² ps
Period ↔ frequency pairs1 Hz ↔ 1 s · 1 kHz ↔ 1 ms · 1 MHz ↔ 1 µs · 1 GHz ↔ 1 ns
RPM to hertz1 rpm = 1/60 Hz ≈ 16.667 mHz
Jitter / ppm1 ppm of T = T × 10⁻⁶ s of period error

Formula

f = 1 / T   ⟺   T = 1 / f
  • f: frequency, cycles per second (Hz)
  • T: period, seconds per cycle (s)
  • f · T = 1 for any periodic signal

Example: a 100 MHz clock has T = 1 / (100 × 10⁶ Hz) = 10 × 10⁻⁹ s = 10 ns. One cycle lasts ten nanoseconds; a 50 % duty square wave is high for 5 ns and low for 5 ns.

The relationship is exact and unit-free in the sense that any frequency unit paired with its reciprocal time unit works out — 1 kHz is 1 ms, 1 MHz is 1 µs, 1 GHz is 1 ns. That ladder is why the prefixes kHz, MHz and GHz line up so neatly with ms, µs and ns.

Real clocks are not perfect square waves. The edges take a finite time to rise and fall, the duty cycle is rarely exactly 50 %, and the period wanders slightly from cycle to cycle — jitter — or drifts slowly with temperature — wander. A crystal specified at ±20 ppm, for instance, has a period that can be off by 20 parts per million, which is 200 ps on a 10 ns period. When a clock drives a data bus, the period sets the setup and hold window, so the achievable data rate is limited by the period minus the edge and skew budgets.

Advanced mode adds the duty cycle so the high and low times are reported separately, an optional cycle count so the total time to count N cycles is shown, plus the angular frequency ω = 2πf, the free-space wavelength λ = c/f, the Nyquist limit f/2 and the number of cycles per day.

References

How to Use This Tool

  1. Choose whether to solve for frequency f or period T.
  2. Pick a preset, or type the known value and choose its unit.
  3. In Advanced, set the duty cycle and an optional cycle count, or change the significant figures.
  4. Click Calculate.
  5. Read the highlighted answer, then check the waveform and the log–log chart.

What This Tool Offers

  • Solves f = 1 / T for either frequency or period
  • Automatic unit conversion from hertz to terahertz and seconds to picoseconds
  • Duty cycle with high time and low time (Advanced)
  • Angular frequency, free-space wavelength and Nyquist limit
  • Total time for an optional number of cycles
  • Scaled clock waveform and a log–log chart with slope −1
  • Ready-made presets and a mobile-friendly layout

Variables

Symbol Quantity Unit
f Frequency Hz
T Time period s

What it means

The clock frequency f (in Hz) and period T (in seconds) are reciprocals: f = 1/T. The period is the time between successive rising (or falling) edges of the clock signal. This relationship is fundamental in digital design, as it determines how often operations can occur. A higher frequency means more operations per second but also tighter timing constraints. The period must be long enough to accommodate the propagation delays of the logic path. Example: A clock with a period of 10ns corresponds to a frequency of 1/(10×10⁻⁹) = 100 MHz. In a processor, the clock speed is often quoted in GHz; a 3GHz processor has a period of 0.333 ns.

Worked example

Clock Frequency–Period – Practical Example

Real‑World
Scenario: A CPU runs at 2.5 GHz. What is its clock period?
ParameterValue
f2.5 GHz = 2.5×10⁹ Hz
FormulaT = 1 / f
1T = 1 / (2.5×10⁹) = 4×10⁻¹⁰ s = 0.4 ns
Final Design T = 0.4 ns ✓ Clock period
Why: Frequency and period are reciprocals – knowing one lets you calculate the other.

Common mistakes

Watch unit consistency and the assumptions behind the formula; misapplying it outside its valid conditions is the most frequent error.

Applications

Clock frequency and period are reciprocals: f = 1/T. This simple relation is used to determine the speed of digital systems. Engineers use it to design clock generators, to set operating frequencies of microcontrollers and processors, and to meet performance specifications. A higher frequency enables faster processing but may increase power consumption and signal integrity challenges. This formula is essential for timing design in digital electronics.

  • Clock generation and distribution design
  • Microprocessor and FPGA speed specification
  • Timing budget and system performance analysis
  • Power‑performance trade‑offs in digital circuits
  • Educational understanding of clock signals

Suggest an improvement

Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.

Page details

1,148

Views
  • Published July 10, 2026
  • Last updated September 23, 2026