ECParts Toolkit LogoECParts Toolkit

Engineering Guide

Frequency, Period & Time Conversion Guide | Hz, kHz, MHz, GHz

Convert frequency, period, time, pulse width, phase delay, wavelength, angular frequency, and RPM-related quantities without confusing reciprocal relationships with simple SI prefix scaling.

Reading time: 24 minDifficulty: IntermediateLast updated: July 25, 2026

Introduction

Frequency and time are fundamental to oscillators, PWM, clocks, microcontrollers, communication systems, filters, switching power supplies, sensors, RF systems, and lab measurement. The core relationship is simple: f = 1 / T and T = 1 / f. Higher frequency means shorter period.

This guide builds on Engineering Unit Conversions for Electronics. That guide covers SI prefixes and engineering notation; this one focuses on signal-specific relationships where the correct formula matters as much as the units.

Frequency and Period Basics

Frequency is the number of complete cycles per second. Its SI unit is hertz, where 1 Hz means 1 cycle per second. Period is the time required for one complete cycle. Its symbol is T and its SI unit is the second.

Frequency units
UnitNameEquivalentMeaning
Hzhertz1 Hz1 cycle per second
kHzkilohertz10^3 Hz1,000 cycles per second
MHzmegahertz10^6 Hz1,000,000 cycles per second
GHzgigahertz10^9 Hz1,000,000,000 cycles per second
Period units
UnitNameEquivalent
ssecond1 s
msmillisecond10^-3 s
µsmicrosecond10^-6 s
nsnanosecond10^-9 s
pspicosecond10^-12 s

Frequency and Period Move in Opposite Directions

Low frequency

1 kHz

Longer period: 1 ms

High frequency

1 GHz

Shorter period: 1 ns

Formula reference

Frequency and Period Formulas

Convenient pairs such as kHz ↔ ms and MHz ↔ µs work only because the reciprocal formula and matched powers of ten cancel.

T = 1 / ff = 1 / T

Variable definitions

Convert frequency to hertz before using T
1 / f.
Convert period to seconds before using f
1 / T.
Frequency-to-period conversion is reciprocal, not a normal prefix conversion.

Frequency ↔ Period Quick Reference

Frequency and period quick reference
FrequencyPeriodTypical context
1 Hz1 sLow-speed repetition or once-per-second event
10 Hz100 msSlow control loop or visible blinking
50 Hz20 msAC mains frequency in many regions
100 Hz10 msLow-frequency timing and control
1 kHz1 msAudio, timers, control loops
10 kHz100 µsPWM, switching, sensing
20 kHz50 µsPWM above many audible design targets
100 kHz10 µsSwitching converters and timing systems
1 MHz1 µsMCU clocks and digital timing
10 MHz100 nsClock and RF reference timing
16 MHz62.5 nsCommon microcontroller clock
100 MHz10 nsHigh-speed logic and RF timing
1 GHz1 nsRF and very fast digital timing
2.4 GHz~416.7 psRF carrier period

Converting Frequency to Period

The standard workflow is: convert frequency to hertz, apply T = 1 / f, then convert seconds to the best display unit. For 25 kHz, the base frequency is 25,000 Hz. The period is 1 / 25,000 seconds, or 0.00004 s, which is 40 µs.

Frequency to period examples
FrequencyPeriod
500 Hz2 ms
2 kHz500 µs
20 kHz50 µs
455 kHz~2.198 µs
1 MHz1 µs
16 MHz62.5 ns
100 MHz10 ns
2.4 GHz~416.67 ps

Converting Period to Frequency

For period-to-frequency conversion, convert the period to seconds, apply f = 1 / T, then convert hertz to a suitable output unit. A 20 µs period is 20 × 10^-6 s, so the frequency is 50,000 Hz, or 50 kHz.

Period to frequency examples
PeriodFrequency
1 s1 Hz
10 ms100 Hz
1 ms1 kHz
100 µs10 kHz
10 µs100 kHz
1 µs1 MHz
10 ns100 MHz
1 ns1 GHz

How the ECParts Frequency to Period Converter Works

The Frequency to Period Converter supports frequency inputs in Hz, kHz, MHz, GHz, and THz, and period outputs in ps, ns, µs, ms, and s. In reverse mode, it accepts period in ps, ns, µs, ms, and s, then displays frequency as Hz, kHz, MHz, GHz, or THz.

The implementation normalizes frequency to hertz or period to seconds, applies the reciprocal formula, and formats results using shared engineering-number helpers. It accepts decimal and scientific notation, rejects zero or negative frequency/period values, and warns when values are extremely high or low.

Digital Electronics, Clocks, and PWM

Clock frequency describes cycles per second. A 16 MHz clock has a 62.5 ns clock period, and a 100 MHz clock has a 10 ns period. This does not mean every CPU instruction takes exactly one clock cycle; instruction timing depends on architecture, pipeline, memory, and peripherals.

PWM uses frequency, period, and duty cycle together. For 20 kHz PWM, T = 50 µs. With 25% duty, TON = 12.5 µs and TOFF = 37.5 µs. With 60% duty at 25 kHz, T = 40 µs, TON = 24 µs, and TOFF = 16 µs.

PWM Period, TON, and TOFF

PWM timing diagramA pulse waveform showing period, on time, and off time.Period TTONTOFF

Signal-Specific Relationships

Not every signal conversion is a prefix conversion. Angular frequency, phase delay, wavelength, duty cycle, bandwidth, and RPM each use their own physical relationship. Choose the relationship first, then handle units.

Signal conversion formula reference
QuantityKnownFormula
PeriodFrequencyT = 1 / f
FrequencyPeriodf = 1 / T
Angular frequencyFrequencyω = 2πf
FrequencyAngular frequencyf = ω / 2π
Pulse widthPeriod and duty ratioTON = D × T
Duty cycleTON and periodD = TON / T
Phase delayPhase and frequencyΔt = φ / (360f)
WavelengthVelocity and frequencyλ = v / f
RPMRotational frequencyRPM = 60f

Angular Frequency, Phase Delay, and Wavelength

Angular frequency is ω = 2πf, so 1 kHz is about 6283.1853 rad/s. One cycle is 2π radians, which is why 1 Hz is not 1 rad/s. For phase delay, a complete cycle is 360°. At 10 MHz, T = 100 ns, so 45° represents 12.5 ns. At 100 MHz, a 1 ns delay is 36°.

Wavelength uses λ = v / f. In free space, v is approximately 3 × 10^8 m/s, so 100 MHz is about 3 m and 2.4 GHz is about 0.125 m, or 12.5 cm. On a PCB, propagation velocity is lower and depends on effective dielectric constant, geometry, and stackup. Do not use free-space wavelength as an exact PCB guided wavelength.

Related Timing Concepts

RC timing

The RC time constant τ = RC is not the same as signal period. A first-order RC cutoff uses fc = 1 / (2πRC).

LC resonance

Resonant frequency is f0 = 1 / (2π√LC), which is determined by component values, not just unit conversion.

Sampling

Samples per second are related to timing but do not necessarily equal the signal frequency. Nyquist frequency is fs / 2 for ideal sampling context.

Baud rate

Baud is symbols per second. It may differ from bit/s and should not be treated as a universal synonym for hertz.

RPM

3000 RPM equals 50 revolutions per second, or 50 Hz mechanical rotational frequency. Motor electrical frequency may differ by pole count.

Rise time

Rise time is not period. A fast edge can contain high-frequency content even when clock frequency is low.

When Not to Use f = 1 / t

Do not automatically invert every time value. Propagation delay, rise time, fall time, pulse width, setup time, hold time, latency, and capture window are not necessarily periods. You can use a reciprocal only when that time value truly represents one complete repeat cycle or when you have defined a meaningful rate.

Practical Examples

Frequency, time, phase, wavelength, PWM, and RPM examples
ExampleResultEngineering note
16 MHz MCU clock62.5 ns periodOne clock period, not necessarily one instruction.
25 kHz PWM, 60% dutyT = 40 µs, TON = 24 µs, TOFF = 16 µsDuty cycle sets pulse width inside the period.
500 kHz switching converter2 µs periodEach switching cycle is 2 µs.
100 MHz RF signal10 ns period, ~3 m free-space wavelengthWavelength is approximate for free space.
2.4 GHz RF signal~416.67 ps period, ~12.5 cm free-space wavelengthPCB guided wavelength is shorter.
10 MHz, 45° phase12.5 ns delayUse Δt = φ / (360f).
3000 RPM50 Hz mechanical rotation, 20 ms per revolutionElectrical frequency may differ in motors.

Signal Conversion Workflow

  1. 1. Identify quantity
  2. 2. Identify units
  3. 3. Normalize units
  4. 4. Choose physical relationship
  5. 5. Calculate
  6. 6. Convert output
  7. 7. Check order of magnitude
  8. 8. Display useful precision

Common Frequency and Time Conversion Mistakes

  • Forgetting that frequency and period are reciprocals.
  • Treating kHz ↔ ms as a normal prefix conversion instead of a reciprocal shortcut.
  • Using microseconds directly as seconds.
  • Confusing MHz and GHz.
  • Using f = 1 / t for any time value, including delay or rise time.
  • Confusing clock period with instruction execution time.
  • Treating baud rate as always identical to hertz.
  • Treating rotational frequency and motor electrical frequency as always identical.
  • Forgetting the 2π relationship between hertz and radians per second.
  • Assuming PCB wavelength always equals free-space wavelength.
  • Displaying more precision than the source value justifies.

Practical Engineering Tips

  • Convert frequency to hertz before using the base reciprocal formula.
  • Convert period to seconds before using f = 1 / T.
  • Remember that higher frequency means shorter period.
  • Use kHz ↔ ms and MHz ↔ µs shortcuts only when the units match correctly.
  • Do not use f = 1 / t unless t actually represents a period.
  • Keep frequency and angular frequency separate.
  • Remember the 2π relationship between Hz and rad/s.
  • Use RMS concepts only where relevant; do not mix them into frequency conversion.
  • Distinguish clock frequency from instruction rate.
  • Distinguish baud rate from frequency.
  • Use actual propagation velocity when calculating wavelength in a medium.
  • Treat free-space wavelength as an approximation only for free-space propagation.
  • Check pulse width and duty cycle separately from period.
  • Preserve meaningful precision.
  • Verify results with the ECParts Frequency to Period Converter.

Summary

Reliable signal conversion requires the correct quantity, correct units, and correct physical relationship. Use T = 1 / f for period, f = 1 / T for frequency, ω = 2πf for angular frequency, λ = v / f for wavelength, TON = D × T for PWM pulse width, and Δt = φ/(360f) for phase delay in degrees. The hard part is not moving the decimal point; it is choosing the right relationship for the time or signal quantity you actually have.

Support reference

FAQ

How do I convert frequency to period?

Convert the frequency to hertz, then calculate T = 1 / f. For example, 25 kHz is 25,000 Hz, so the period is 1 / 25,000 seconds, or 40 µs.

How do I convert period to frequency?

Convert the period to seconds, then calculate f = 1 / T. For example, 20 µs is 20 × 10^-6 seconds, so the frequency is 50,000 Hz, or 50 kHz.

What is the period of 1 kHz?

The period of 1 kHz is 1 ms. One kilohertz is 1000 cycles per second, so one cycle takes 0.001 seconds.

What is the period of 1 MHz?

The period of 1 MHz is 1 µs. One megahertz is 1,000,000 cycles per second.

What is the period of 1 GHz?

The period of 1 GHz is 1 ns. One gigahertz is 1,000,000,000 cycles per second.

What frequency has a period of 1 ms?

A period of 1 ms corresponds to 1 kHz because f = 1 / 0.001 s = 1000 Hz.

Why are kHz and ms often convenient conversion pairs?

They pair conveniently under the reciprocal formula because 10^3 and 10^-3 cancel. For matched pairs, T(ms) = 1 / f(kHz), but this shortcut only works when the units are paired correctly.

Is frequency-to-period conversion just an SI prefix conversion?

No. Frequency and period are reciprocal quantities. Prefix conversion happens first, but the physical relationship is T = 1 / f.

What is the difference between frequency and angular frequency?

Frequency in hertz counts cycles per second. Angular frequency in radians per second measures angular change rate and is related by ω = 2πf.

How do I convert Hz to rad/s?

Multiply hertz by 2π. For example, 1 kHz equals approximately 6283.1853 rad/s.

How do I calculate PWM pulse width from frequency and duty cycle?

First calculate period with T = 1 / f. Then multiply by duty ratio: TON = D × T. For 20 kHz and 25% duty, T is 50 µs and TON is 12.5 µs.

How do I convert phase shift to time delay?

For phase in degrees, use Δt = φ / (360f). At 10 MHz, a 45° phase shift equals 12.5 ns.

How do I calculate wavelength from frequency?

Use λ = v / f, where v is propagation velocity. In free space, v is approximately 3 × 10^8 m/s, but PCB traces and cables usually have lower velocity.

Can I use free-space wavelength for PCB traces?

Not as an exact guided wavelength. PCB propagation velocity depends on effective dielectric constant, geometry, and stackup.

Is baud rate the same as frequency?

Baud is symbols per second. It is related to timing, but it is not always the same as hertz or bit rate because encoding and modulation matter.

Can I calculate frequency as 1 divided by any time value?

Only if that time value is actually a period. Do not automatically invert propagation delay, setup time, hold time, latency, or rise time.

What is the relationship between RPM and Hz?

Mechanical rotational frequency in hertz is RPM divided by 60. For example, 3000 RPM is 50 revolutions per second, or 50 Hz mechanical rotation.