milliseconds (period) to Hz Converter
Convert milliseconds (period) to Hz instantly with a reference conversion table.
| milliseconds (period) | Hz |
|---|
How to convert milliseconds (period) to Hz
Enter your value
Type the number of milliseconds (period) you want to convert into the left box. The result in hz appears instantly in the right box. You can also type into the right box to convert in the other direction.
Use the swap button
Click the ⇄ Swap button to reverse the conversion — Hz to milliseconds (period). Your current value carries across so you don't have to re-enter anything.
About the period-to-frequency relationship
Frequency and period are reciprocals of each other: frequency (Hz) tells you how many complete cycles happen per second, while period (seconds) tells you how long one single cycle takes. Because milliseconds are thousandths of a second, the formula is Hz = 1000 ÷ milliseconds. A signal that repeats every 1 millisecond (0.001 seconds) happens 1,000 times a second — 1,000 Hz. A slower signal with a 20ms period only completes 50 cycles a second — 50 Hz. This inverse relationship (short period = high frequency, long period = low frequency) is the core idea behind every calculation this tool performs.
Where this conversion is actually used
Millisecond-period-to-Hz conversions come up constantly in electronics, audio engineering and programming, where datasheets or oscilloscope readings often report timing in milliseconds while the rest of the industry talks in Hz:
Audio and synthesizers
LFO (low-frequency oscillator) rate on a synthesizer is sometimes set by period in milliseconds rather than Hz directly — a 500ms LFO cycle equals 2 Hz, a slow, noticeable wobble; a 10ms cycle equals 100 Hz, fast enough to sound like a tone rather than a pulse.
Blinking LEDs and timers
A microcontroller timer set to toggle an LED every 100ms produces a 5 Hz blink rate (since one full on-off cycle takes 200ms, and 1000 ÷ 200 = 5). Getting the period-to-Hz maths right matters for anything timed in code — PWM signals, debounce delays, refresh rates.
Oscilloscope and signal analysis
Oscilloscopes typically measure the time between waveform peaks directly, in milliseconds or microseconds — converting that reading to Hz is the standard next step when documenting or comparing a signal against a spec sheet that quotes frequency instead of period.
Frequently asked questions
How do I convert milliseconds to Hz?
Divide 1000 by the period in milliseconds: Hz = 1000 ÷ ms. For example, a 4ms period equals 250 Hz.
Why is the formula division instead of multiplication?
Frequency and period are reciprocals — as one gets bigger, the other gets smaller. Multiplying by a fixed factor (as most unit conversions do) only works between units that scale the same way; period and frequency scale in opposite directions, so the formula has to be a division, not a multiplication.
What is 20ms in Hz?
20ms equals 50 Hz (1000 ÷ 20 = 50) — the mains electricity frequency period in 50Hz countries like the UK and most of Europe.
Is this converter free to use?
Yes, completely free, no sign-up, and it works offline once the page has loaded.
Frequency (Hz) = 1000 ÷ period (ms). A 16.67 ms signal = 60 Hz (US mains). A 100 ms period = 10 Hz. Audio engineers use ms for reverb and delay times; frequency is used for EQ. The relationship is inverse: shorter period = higher frequency.