Clock settings that ask for plain hertz
Datasheets, registers and calculators often want a frequency in hertz, while the board or the crystal is marked in megahertz. A hobbyist reading a 16 MHz oscillator, a student working out a timer interval and an engineer filling in a baud-rate formula all need to carry the figure across. This page does the multiplication and returns the hertz value, so that a divider or period formula starts from the right number. The factor is a million, which means six zeros, and a missing zero produces a timer that runs ten times too fast or too slow. A converter removes the zero-counting and leaves you with a value you can paste into a formula.
Mega means one million
The SI Brochure defines mega as 10⁶, so one megahertz is 1,000,000 Hz, and the formula is Hz = MHz × 1,000,000. Because the factor is a power of ten, the conversion is exact in decimal arithmetic. Both units measure cycles per second, so no other quantity enters. The only uncertainty is in the value you type. A crystal marked 16 MHz has a stated tolerance, often expressed in parts per million, and the actual frequency in a circuit may differ by a few hundred hertz. The page converts the nominal number you give it and does not model that tolerance.
Ten million cycles each second
The opening example turns 10 MHz into 10,000,000 Hz, ten million cycles per second. One cycle then takes 100 nanoseconds, found as the reciprocal, 1 divided by 10,000,000 s. A frequency in plain hertz is the form a period formula expects, and the period is what an oscilloscope shows on screen. If you read a time per division on a scope and want the frequency, take the reciprocal of the period in seconds and enter the result in the hertz field with hertz as the source. Comparing it with the megahertz label confirms that the signal on the screen matches the part you chose. A square wave that shows a period of 125 ns on the screen is 8,000,000 Hz, or 8 MHz, and a period of 20 ns is 50 MHz.
A 16 MHz board and its timers
A common hobby microcontroller board runs from a 16 MHz crystal, which the page converts to 16,000,000 Hz. One clock period is 62.5 ns. A timer prescaler of 64 divides that clock down to 250,000 Hz, and an 8-bit counter that overflows after 256 counts then does so at 976.5625 Hz, or about once every 1.024 ms. The page supplies the first number, and you apply the divisions yourself. Write down the hertz value at each step of the chain so you can see where a mistake enters. An 8 MHz part gives 8,000,000 Hz, and every figure downstream is exactly half as large.
FM dial values in hertz
Broadcast frequencies are printed in megahertz, but regulatory filings and some test equipment list hertz. A station at 101.1 MHz is 101,100,000 Hz. Spacing between channels in the United States is 200 kHz, which is 0.2 MHz or 200,000 Hz, so adjacent assignments differ by that amount. If you program a signal generator or a software-defined radio, the frequency field may ask for hertz, and a missing digit sends you to a different part of the band. Convert the dial number first, then compare the digit count with a known anchor: a hundred-million-hertz figure belongs to FM, and a figure near 2.4 billion belongs to Wi-Fi.
Crystal values below one megahertz
The reverse direction is handy for small crystals. A watch-type crystal at 32,768 Hz is 0.032768 MHz. Entering 32,768 with hertz as the source and megahertz as the target gives that value. The figure 32,768 is 2 to the power 15, so a chain of 15 divide-by-two stages brings the signal down to one pulse per second, which is why real-time clocks use it. Hertz values like this one are integers, while the megahertz form has a long decimal tail. When a datasheet gives both, the hertz number is the one to trust for counting, and the megahertz figure helps with comparisons across parts. A 4 MHz crystal, for instance, is 4,000,000 Hz, and a 12 MHz crystal is 12,000,000 Hz, which is three times as fast and has one third of the period, 83.3 ns against 250 ns.
Period and wavelength from the hertz value
Once the frequency is in hertz, two quantities follow. The period in seconds is 1 divided by the frequency, so 2 MHz gives 500 ns. The wavelength of a radio wave in vacuum is the speed of light, 299,792,458 m/s, divided by the frequency in hertz, so 101.1 MHz gives about 2.97 m. Those formulas expect hertz, not megahertz, and mixing them is a classic source of results that are off by a million. Always convert first. If the answer is off by a factor of 1,000, check whether a kilohertz value was entered as megahertz.
Handling long digit strings
Results in hertz have many digits, so use a consistent style. Write 16,000,000 Hz with commas or 16 000 000 Hz with thin spaces, and avoid mixing the two in one document. Scientific notation, 1.6e7 Hz, is the safest form in code and spreadsheets, because a stray comma or period can change the meaning across locales. Keep the symbol Hz with a capital H, since the unit is named after Heinrich Hertz, and keep the lowercase z. If the same value appears in several places, copy it from one cell or source so that a typo cannot appear in only one of them.
Comparing a counter reading with the nominal value
A frequency counter shows hertz, while the part under test is labeled in megahertz. Suppose a 10 MHz reference reads 9,999,987 Hz on the counter. Entering that reading with hertz as the source and megahertz as the target gives 9.999987 MHz. The difference from nominal is 13 Hz, and 13 divided by 10,000,000 is 1.3 parts per million. Whether that is acceptable depends on the tolerance printed on the data sheet for the oscillator, which the page does not know. The point of the conversion is to put the nominal and the measured values in the same unit so the subtraction is simple and the error can be stated as a count of hertz or as a ratio.