Convert MHz to ns, the period of one cycle (ns = 1000 ÷ MHz), or ns to MHz, with an optional number of cycles and results in Hz, kHz and GHz.

Cycle count
1 gives the period of one cycle. Enter more to time several cycles; fractions are allowed.

Calculator Functions

FunctionWhat it doesWhat it requires
MHz to ns (period)Converts a frequency to the time of one cycle in nanosecondsRequires the signal frequency
ns to MHz (frequency)Converts the time of one cycle to a frequency in megahertzRequires the elapsed time

Frequency goes in as Hz, kHz, MHz or GHz, and time as s, ms, µs, ns or ps. The optional Number of cycles starts at 1, which gives the period of a single cycle. A larger count gives the time for that many cycles, or the frequency when the entered time covers several cycles. Results also show the time in seconds, milliseconds, microseconds and picoseconds, or the frequency in Hz, kHz and GHz.

MHz to ns Formulas

ns = 1000 ÷ MHz [1]
nsPeriod of one cycle (nanoseconds)
MHzFrequency (megahertz)

The period of a signal is the reciprocal of its frequency [1]. One megahertz is a million cycles a second and one nanosecond is a billionth of a second [2], which leaves the factor of 1000.

MHz to ns (period)

100 MHz is 1000 ÷ 100 = 10 ns, 50 MHz is 20 ns and 1 MHz is 1000 ns.

FrequencyPeriod
1 MHz1000 ns
2 MHz500 ns
5 MHz200 ns
8 MHz125 ns
10 MHz100 ns
20 MHz50 ns
25 MHz40 ns
40 MHz25 ns
50 MHz20 ns
80 MHz12.5 ns
100 MHz10 ns
125 MHz8 ns
150 MHz6.667 ns
200 MHz5 ns
250 MHz4 ns
300 MHz3.333 ns
400 MHz2.5 ns
500 MHz2 ns
800 MHz1.25 ns
1000 MHz (1 GHz)1 ns
ns = 1000 × C ÷ MHz

C is the number of cycles. 5 cycles at 100 MHz take 50 ns.

ns to MHz (frequency)

MHz = 1000 ÷ ns

A 10 ns period is 1000 ÷ 10 = 100 MHz, 20 ns is 50 MHz and 100 ns is 10 MHz.

PeriodFrequency
1 ns1000 MHz
2 ns500 MHz
2.5 ns400 MHz
4 ns250 MHz
5 ns200 MHz
8 ns125 MHz
10 ns100 MHz
20 ns50 MHz
25 ns40 MHz
40 ns25 MHz
50 ns20 MHz
80 ns12.5 MHz
100 ns10 MHz
200 ns5 MHz

Limits of This Estimate

  • The conversion is for an ideal signal that repeats evenly. Jitter, settling time, latency and propagation delay in a real circuit are not part of it.
  • A period is the full cycle. For a clock with a 50% duty cycle, the high time and the low time are each half of it.

Sources

  1. NIST, Time and Frequency from A to Z: F: period is the reciprocal of frequency
  2. NIST, Metric (SI) Prefixes: mega is 10⁶ and nano is 10⁻⁹