Lelifi·tools

Frequency Calculator

Frequency equals cycles divided by elapsed time. Ten cycles in 2 seconds gives 5 Hz, a period of 0.2 seconds, and angular frequency of about 31.416 radians per second. Use the calculator to verify each related unit.

All calculations happen in your browser. Nothing you type is uploaded or stored.

Enter cycles and elapsed seconds to calculate frequency in hertz, period per cycle, and angular frequency.

By the Lelifi editors ·

Key takeaways

Cycles in a two second window0 s2 s10 complete cycles means 5 Hz
Counting complete repeats over a measured interval gives frequency.
Frequency and period are reciprocalf = 5 Hz5 cycles per second⇄T = 0.2 sone cycle per period
A frequency of 5 hertz corresponds to a period of 0.2 seconds.
On this page
  1. What frequency means
  2. The frequency formula
  3. Period and frequency are reciprocals
  4. Angular frequency in radians
  5. Frequency in sound, rotation, and data
  6. Taking reliable measurements
  7. Common mistakes

What frequency means

Frequency describes the rate of a repeating process. One cycle is one complete return to the starting state, so ten cycles in two seconds give f = 10 / 2 = 5 Hz. The same idea applies to a vibrating string, a pulse train, a rotating shaft, a heartbeat, or a blinking indicator. A phenomenon does not need to travel through space to have frequency.

Choose the event before counting it. A sensor might report twelve teeth or electrical pulses for every shaft revolution; those pulses are not twelve shaft cycles. Divide the measured pulse rate by twelve when the desired unit is revolutions per second. State the interval, count, and unit with the result so another observer can reproduce the measurement.

For a periodic signal, the chosen cycle marker should be unambiguous. Peak-to-peak counting works for a clean waveform, while threshold crossings require a consistent direction; counting both rising and falling crossings would double the reported rate. In experiments, note whether the instrument displays cycles, pulses, or events, because those labels describe different quantities.

The frequency formula

The basic relationship is f = N / t, with N complete cycles and t elapsed time in seconds. For 240 rotations over 30 seconds, f = 240 / 30 = 8 Hz. Holding the time fixed makes frequency proportional to the count; holding the count fixed makes it inversely proportional to time.

CyclesTimeFrequency
102 s5 Hz
601 s60 Hz
24030 s8 Hz

Convert minutes to seconds before reporting hertz. If a count is recorded in pulses but the requested answer is turns, include the pulses-per-turn conversion as a separate step.

Rates can be normalized to convenient units. A count taken over 250 milliseconds can be scaled to one second by dividing by 0.25 seconds. The unit hertz is equivalent to inverse seconds, written s^-1. Do not attach hertz to a raw cycle count until an elapsed time has been included.

Period and frequency are reciprocals

Period, written T, is the duration of one cycle. Because a frequency counts cycles per second, the quantities are reciprocals: T = 1 / f and f = 1 / T. A 5 Hz signal has T = 1 / 5 = 0.2 s. Conversely, a period of 0.004 s corresponds to f = 1 / 0.004 = 250 Hz.

The reciprocal relationship provides a useful sanity check: faster repetition must mean a shorter period. A signal with no cycles during a positive observation window has frequency 0 Hz, but its period is not a finite number because no repeating cycle exists. Keep zero and undefined cases separate.

Period is often easier to measure when individual cycles are well separated. Measure several periods together and divide by their number to reduce reaction-time error. If the measured duration for 25 cycles is 5.02 seconds, the average period is about 0.2008 seconds and the corresponding frequency is about 4.98 Hz.

Angular frequency in radians

For sinusoidal motion, angular frequency packages each cycle as a turn through 2 pi radians. The conversion is omega = 2 pi f, so a 5 Hz signal has omega = 2 pi x 5 = 31.416 rad/s. This is not a new repetition rate; it is the same rate expressed as angular change per second.

Use angular frequency when it appears inside a model such as x = A sin(omega t + phi). The phase offset phi changes where the wave starts, while omega controls how quickly the phase advances.

FrequencyPeriodAngular frequency
1 Hz1 s6.283 rad/s
5 Hz0.2 s31.416 rad/s
250 Hz0.004 s1570.796 rad/s

Angular frequency is especially useful in differential equations because derivatives of sine and cosine bring down omega. Keep radians in the expression: radians are dimensionless in SI, but rad/s remains a useful label for interpretation. Confusing f with omega introduces a factor of 2 pi.

Frequency in sound, rotation, and data

In sound, A4 is approximately 440 Hz, meaning its pressure pattern repeats about 440 times each second. For rotation, hertz and revolutions per minute differ by a factor of 60: RPM = 60f. Thus 8 Hz is 480 RPM, while 1,800 RPM is 30 Hz.

Sampling also has a rate. A digitizer taking 10,000 samples per second has a sample rate of 10 kHz. To represent frequencies cleanly, the sample rate must exceed twice the highest frequency of interest; otherwise higher components can appear as false lower frequencies through aliasing. The sample rate is not the signal frequency itself.

Pitch is related to frequency, but loudness is not. Doubling a sound frequency raises it by one octave, while changing amplitude primarily changes perceived volume. In a motor, RPM may describe mechanical rotation even when an electrical sensor reports a different pulse frequency because of multiple pole pairs or encoder marks.

Taking reliable measurements

Longer observation windows usually make a count-based estimate more stable. Ten cycles in 2 seconds and 1,000 cycles in 200 seconds both average 5 Hz, but starting and stopping errors occupy a smaller fraction of the long measurement. Use a gate, timer, or timestamp method that matches the speed of the event.

If the rate changes during the window, an average can hide important behavior. Report the interval used, or describe the changing rate with a time trace or frequency spectrum. Amplitude describes size, wavelength describes spatial distance, and speed describes distance per time; none of those is interchangeable with frequency.

ObservationCyclesTimeAverage
Short gate102 s5 Hz
Long gate1000200 s5 Hz
Pulse sensor1201 s120 Hz

Timing jitter matters when the event spacing is irregular. A single short gate can produce a noisy estimate, whereas averaging many intervals reveals the mean rate. For a rapidly changing oscillator, use a sliding window and report how the estimate was formed instead of implying that one number applies forever.

Common mistakes

The most common error is reversing the fraction: cycles divided by time gives frequency, while time divided by cycles gives period. Check that all time values use one unit, and decide whether a displayed pulse represents a full cycle or only part of one. A waveform crossing zero twice may still contain only one complete cycle.

For rotating equipment, distinguish shaft turns from teeth, encoder slots, or magnet pulses. For sampled data, distinguish the sample rate from the frequency visible in the data. The NIST time and frequency guidance and BIPM SI units page provide reference terminology for seconds and hertz.

When checking a result, inspect both magnitude and units. A count of 300 events in 5 minutes is 1 event per second, not 60 Hz; converting five minutes to 300 seconds makes the scale clear. If the count is fractional because of interpolation, explain the method rather than silently rounding it to a whole cycle.

For a waveform with a changing rate, instantaneous frequency and average frequency answer different questions. A tachometer reading at one moment may differ from the count over a full minute. Use the shortest interval that still contains enough complete events for the required precision. In a report, include uncertainty when the first or last cycle is difficult to identify.

Units should remain visible through each conversion. If a device reports 2,400 pulses per minute and produces 12 pulses per revolution, first convert to 40 pulses per second and then divide by 12 to obtain 3.333 revolutions per second. This two-stage calculation makes both the time conversion and the sensor calibration auditable.

Frequently asked questions

What is the frequency formula?

Frequency is cycles divided by elapsed time: f = N / t.

What is 1 Hz?

1 Hz means one complete cycle each second.

What is 60 cycles in 1 second?

60 / 1 = 60 Hz.

What is the period of 5 Hz?

1 / 5 = 0.2 seconds per cycle.

What is 240 cycles in 30 seconds?

240 / 30 = 8 Hz.

How do I convert 8 Hz to RPM?

Multiply by 60: 8 Hz is 480 RPM.

What is angular frequency at 5 Hz?

2 pi x 5 is about 31.416 rad/s.

What is 1,800 RPM in hertz?

Divide by 60: 1,800 RPM is 30 Hz.

Can frequency be zero?

Yes. Zero cycles over positive observation time is 0 Hz.

What is the period at 250 Hz?

1 / 250 = 0.004 seconds, or 4 milliseconds.

Is frequency the same as pitch?

Pitch is related to sound frequency; loudness is mainly amplitude.

What is a sample rate?

It is the number of samples collected each second, such as 44,100 Hz.

Spotted a wrong number or a broken result?

More Math tools

See all Math tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.