Mechanical speed on an electronics scale

Embedded developers and instrumentation engineers move between rotating machinery and digital electronics. A motor turns at thousands of rpm, while the microcontroller that watches it counts clock ticks in megahertz. Documents that list both, or spreadsheets that normalize every frequency to one unit, need a single scale. This page divides the rpm value by 60 to get hertz and then by one million to get megahertz. The result is small, and it appears in scientific notation. The comparison it supports is one of scale: a spindle at 6,000 rpm is 100 Hz, which is 1 × 10^-4 MHz, against a processor clock thousands of times larger.

Building the 1.6667 × 10^-8 factor

Dividing 1 by 60 gives 0.016667 Hz per rpm, and dividing again by 10^6 gives 1.6667 × 10^-8 MHz per rpm. The formula on the page is MHz = rpm × 1.66666666667e-8. The mega prefix, one million, comes from the SI Brochure and the factor of 60 from the length of the minute. By hand, convert to hertz first and then shift six places: 60 rpm is 1 Hz and 1 × 10^-6 MHz, 6,000 rpm is 100 Hz and 1 × 10^-4 MHz. If you drop the step of dividing by 60, the answer is too large by that factor and the exponent betrays it.

Ten rpm in megahertz

At the default of 10 rpm the page returns about 1.6667 × 10^-7 MHz, which is 0.16667 Hz. Like all conversions between very different scales, this one produces a long decimal that is best read through its exponent. The e-7 says the decimal point sits seven places left of the first digit. For a rotation of this size the natural unit is hertz or rpm, and megahertz is useful when the result will be compared with a clock rate on the same line of a table. If you only need the rotation frequency, set the target to hertz and avoid the exponent. A reading of 6,000 rpm shows up in the page as 1e-4 MHz, which is easy to confirm: 100 Hz divided by one million is 0.0001. Checking one such round value first protects a longer list from a systematic slip.

Encoder pulses at a given rpm

A rotary encoder with 5,000 pulses per revolution on a shaft at 6,000 rpm turns 100 revolutions per second and emits 500,000 pulses per second, which is 0.5 MHz. The page gives the first step, 6,000 rpm as 100 Hz, and the pulse count is applied after. Counter inputs on controllers list a maximum input frequency in kilohertz or megahertz, so this sum tells you whether a given encoder and speed fit the input. A 10,000 pulse encoder at the same speed would produce 1 MHz. Check the data sheet of the counter for the rated input frequency and the allowed signal levels. Where the count exceeds the input rating, a lower resolution encoder or a frequency divider is the usual answer, and an encoder with quadrature output multiplies the edge count by four, which matters when the counter reads edges.

Microcontroller clocks expressed in rpm

The reverse direction turns a clock rate into rpm, which is a way to see how fast an electronic oscillation is compared with a spinning part. A 16 MHz clock corresponds to 960,000,000 rpm, a number that stresses how far apart the scales are. Nobody builds a shaft that spins that fast, and the number is a unit comparison and not a speed target. It serves a classroom or documentation purpose: a table of frequencies from 1 Hz to 1 GHz may use rpm for the lower rows. When you do this, write the source unit in an adjacent column so that readers can follow the conversion back.

Sample rates and rotation per sample

Data acquisition systems record vibration or speed at sample rates quoted in kHz or MHz. A shaft at 3,000 rpm, which is 50 Hz, turns through 360 degrees every 20 ms. A logger that samples at 1 MHz therefore takes 20,000 samples per revolution, and one at 10 kHz takes 200. The number of samples per turn decides how finely you can resolve changes during one rotation, and engineers who plan a measurement estimate it before they pick a sampler. The page gives the shaft frequency in megahertz so that the ratio to the sample rate comes from the same unit. At 6,000 rpm, a 1 MHz logger takes 10,000 samples per turn, and a 100 kHz logger takes 1,000.

Letters and case that change the unit

Mega and milli differ only in case, M and m, and the same holds for MHz and mHz. A frequency of 1 mHz is a thousandth of a hertz, which would be a rotation of 0.06 rpm, while 1 MHz is a million hertz. Software that is not case sensitive may mix them up, so spell the unit out in headers. This page offers megahertz, and the labels show the full names. Another confusion arises with the letter M in some contexts meaning thousand, as in older engineering documents. Check the context of any M before converting, and prefer the SI symbols in new documents.

Frequency of rotation versus frequency of a signal

A rotating shaft has a rotation frequency, but a sensor on that shaft creates signals with their own frequencies. A speed of 6,000 rpm gives a 100 Hz rotation frequency, and the resulting vibration may include components at many multiples of it. The conversion applies only to the rotation. A fault tone, a motor drive switching frequency of several kilohertz or a radio signal used for a wireless tachometer are separate frequencies with their own sources. When you compare numbers across such a system, label each with the thing that produces it, so a megahertz figure for a carrier is not mistaken for a rotation rate.

Where the conversion ends

The factor is a unit relation, and the page applies it to whatever you enter. It does not check that a speed is physically reasonable, does not apply pulses per revolution or gear ratios and does not predict signal quality. Speeds that no real shaft reaches, such as millions of rpm, convert without complaint, so sense-check inputs against the application. For motor control or sensor design, use the data sheets of the parts involved and the applicable safety rules. The page is useful when a spreadsheet, a document or an instrument needs the same rotation rate in megahertz.