keepcalculator

06 Numbers and Powers

Time Period & Frequency: How to Calculate

Card No. 06·7979 · Updated · Standard formula, shown below

Time Period (T) 2.000 s
Frequency (f)
0.500 Hz
Result
Time for N cycles (s)
10 s
You entered
Number of cycles
5 cycles
You entered
You enter
Time for N cycles (s), Number of cycles
You get
Time Period (T), Frequency (f)
Rounding
3 dp

This guide explains how to calculate the time period and frequency of a repeating event, such as a pendulum swing, a sound wave, or a rotating wheel. You’ll learn the simple formulas, see a worked example, and get practical tips to avoid common errors.

Formula

Two quantities describe any repeating motion:

  • Time Period (T) – the time taken for one complete cycle. Unit: seconds (s).
  • Frequency (f) – the number of cycles per second. Unit: hertz (Hz), where 1 Hz = 1 cycle per second.

The relationship is:

T = t / n   and   f = n / t

Where:

  • t = total time for all cycles (seconds)
  • n = number of cycles counted

Also, because they are reciprocals:

f = 1 / T   and   T = 1 / f

If you know one, you can always find the other.

Worked Example

Suppose you count 5 cycles of a pendulum and it takes 10 seconds in total.

Step 1: Find the time period.

T = t / n = 10 s / 5 = 2 s

Step 2: Find the frequency.

f = n / t = 5 / 10 s = 0.5 Hz

Or use the reciprocal: f = 1 / T = 1 / 2 = 0.5 Hz.

The calculator gives the same: T = 2.000 s, f = 0.500 Hz.

When to Use This

Use this whenever you have a repeating event and you can count how many cycles occur in a measured time. Common examples:

  • Waves on a string or in water
  • Sound waves (though usually you measure frequency directly)
  • Rotating machinery (RPM)
  • Heartbeats or breathing cycles
  • Oscillations of a spring or pendulum

The result tells you how fast the cycle repeats (frequency) and how long each cycle lasts (period).

How to Read the Result

A higher frequency means more cycles per second – the motion is faster. A higher time period means each cycle takes longer – the motion is slower. They are inversely related: if one doubles, the other halves.

For example, a frequency of 50 Hz means 50 cycles every second, and each cycle lasts 0.02 s (20 ms).

Common Mistakes

  • Mixing up T and f – remember T is time per cycle (seconds), f is cycles per second (Hz).
  • Using the wrong units – if time is in minutes, convert to seconds first. Frequency in Hz requires seconds.
  • Forgetting that f = 1/T only works when T is in seconds – if T is in milliseconds, convert to seconds first.
  • Counting cycles incorrectly – make sure you count complete cycles, not half or partial ones.
  • Rounding too early – keep extra digits until the final answer.

Tips

  • For very fast oscillations, measure the time for many cycles (e.g., 20 or 50) and divide – this reduces timing error.
  • Use a stopwatch or a timer app that shows fractions of a second.
  • If you have frequency in kHz or MHz, convert to Hz before using the formula: 1 kHz = 1000 Hz, 1 MHz = 1,000,000 Hz.
  • Double-check your count: if you start counting from zero, the first cycle ends when the motion returns to the start.

Troubleshooting

If your result seems too large or too small: Check the units. Did you convert minutes to seconds? Did you use the correct number of cycles?

If the calculator shows “Cannot compute�: You likely entered a zero time or zero cycles. Make sure both inputs are positive numbers.

If you get a negative value: That shouldn’t happen with positive inputs. Check that you didn’t enter a negative time or cycles.

If you’re measuring a wave and the frequency seems off: Ensure you’re counting full wavelengths, not crests only. Sometimes it’s easier to count crests passing a point – that’s fine as long as you count each crest as one cycle.

Frequently Asked Questions

What is the difference between time period and frequency?

Time period is the duration of one cycle (seconds), while frequency is how many cycles occur per second (Hz). They are reciprocals: T = 1/f and f = 1/T.

How do I convert RPM to frequency?

RPM (revolutions per minute) is already a frequency in minutes. To get Hz, divide by 60: f (Hz) = RPM / 60. For example, 120 RPM = 2 Hz.

Can frequency be negative?

No, frequency is always a positive number for a repeating event. Negative values would imply time reversal, which is not physical.

What if I only know the wavelength and speed of a wave?

Use the wave equation: speed = frequency × wavelength. So frequency = speed / wavelength. Then period = 1 / frequency.

Why do we use hertz instead of cycles per second?

Hertz is the SI unit named after Heinrich Hertz. It is exactly the same as cycles per second, but it’s the standard unit.

How accurate do my time measurements need to be?

It depends on the frequency. For slow cycles (like a pendulum), a stopwatch is fine. For high frequencies, you need a more precise timer or an electronic counter.

Related

Formula used
in t | Time for N cycles (s) | s | 10 | 0.001 | 100000
in n | Number of cycles | cycles | 5 | 1 | 1000000
out period | Time Period (T) | s | t / n | 3
out freq | Frequency (f) | Hz | n / t | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →