period to frequency calculator
Period to Frequency Calculator guide
Enter the time for a full cycle to recover the corresponding repetition rate. This is useful for checking waveform measurements and hardware modulation settings.
Play the instrument ↑- Default calculation
- A 2.5 ms cycle is 0.0025 seconds.
Formula and units
First convert your period to seconds. Frequency in hertz is one divided by the period in seconds. A zero or negative period has no positive repetition rate.
Worked example
A 2.5 ms cycle is 0.0025 seconds. Its reciprocal is 400 Hz. A 500 µs period is 0.0005 seconds, corresponding to 2 kHz.
For small timing errors, the relative frequency error is roughly the same magnitude and opposite in sign. Measure across several complete cycles and divide by the count to reduce cursor-placement noise.
Read a time cursor correctly
If an editor puts two markers 480 samples apart at 48 kHz, their time difference is ten milliseconds. A waveform repeating at that interval has a fundamental repetition rate of 100 Hz. Measure the full pattern before converting. A distorted waveform may show several crests during one cycle, so matching the shape around each marker is more reliable than picking the two largest adjacent peaks.
To estimate a stable frequency more precisely, use the difference between two distant crossings in the same direction and count the intervals. Six markers correspond to five intervals. If the total span is 11.36 ms, divide by five to get 2.272 ms per cycle, then enter that period. You will get a value near 440 Hz instead of relying on the placement of two closely spaced markers. A noisy transient or a changing vibrato rate may make a long average less useful.
Record each quantity with its unit. A value copied from a timing display as 250 could mean milliseconds on one panel and microseconds on another. At 250 ms the result is 4 Hz, an LFO rate. At 250 µs it is 4 kHz, an audio frequency. Change the unit in the converter before typing the instrument reading so the scale of the result matches its reference waveform.
Match the computed rate to a setting
At a 2.5 ms period the calculator reports 400 Hz. If you reproduce that on another device, check where its control expects hertz, kilohertz, or milliseconds. Enter 400 on a hertz control and 0.4 on a kilohertz control. Entering 400 in a period control would describe a very different rate, even if the parameter name says oscillator or modulation.
For an asymmetric pulse, the high portion and low portion do not necessarily have equal duration. A pulse high for 0.6 ms and low for 1.9 ms still repeats every 2.5 ms. The duty cycle is 24 percent. It changes the waveform and spectral amplitudes without changing the repetition frequency so long as the total period stays fixed.
When planning a looped waveform at a known sample rate, choose how many samples correspond to one cycle. At 48 kHz and 400 Hz, use 120 frames per exact period. For other frequencies, rounding the cycle length changes the actual frequency. Use a phase accumulator or a longer repeating loop if that roundoff would make a reference tone noticeably mistuned.
Assumptions and limits
When reading an oscilloscope or waveform, measure between equivalent points such as rising crossings. An adjacent rising and falling crossing of a symmetric waveform spans only half a cycle.
Frequency to Period Calculator → · GestureSynth music theory tools →
Answers before you play
Common questions
Does period have to be measured peak to peak?
Any pair of equivalent cycle positions works for a stable waveform. On complex signals, confirm that the visible shapes repeat over the selected interval.
What if I only know the duration of several cycles?
Divide the measured duration by the number of complete cycles, or divide the number of cycles by the total duration in seconds. For 20 cycles in 0.1 seconds, the single-cycle period is 5 ms and the frequency is 200 Hz. Use the number of gaps between marks, rather than the number of marks, when counting by eye.
Can I use this result as a pitch estimate?
For a single periodic audio waveform, the repetition frequency is a useful estimate of its fundamental. Complex recordings may include more than one simultaneous note, a weak fundamental, or a waveform shape that changes over time. Test a steady section on one note first. A converter cannot infer the musical source from a time interval alone.
What happens with a very long or short period?
The reciprocal becomes very small or very large. A period of one microsecond equals one megahertz and a period of one thousand seconds equals one millihertz. The calculator displays small values with extra precision. Your measuring device still limits the meaningful number of digits.