Calculate oscillation frequency, period, and angular frequency from period, cycle count, time, spring constant, mass, or pendulum length and gravity.

Frequency of Oscillation Calculator

Enter the information you have to find frequency, period, and angular frequency.

Period or ω
Cycles in time
Spring or pendulum

Frequency of Oscillation Formula

The calculator uses one of three formulas depending on which tab you select.

From a known period or angular frequency:

f = 1 / T          f = ω / (2π)

From counted cycles in a measured time:

f = N / t

From a spring-mass system or simple pendulum:

f = (1 / 2π)·√(k / m)          f = (1 / 2π)·√(g / L)
  • f = frequency in hertz (Hz, cycles per second)
  • T = period, time for one full oscillation (s)
  • ω = angular frequency (rad/s)
  • N = number of complete oscillations counted
  • t = elapsed time over those oscillations (s)
  • k = spring constant (N/m)
  • m = mass attached to the spring (kg)
  • g = acceleration due to gravity (m/s², default 9.80665)
  • L = pendulum length from pivot to center of mass (m)

The spring formula assumes an ideal, undamped, massless spring. The pendulum formula assumes a small swing angle (under about 15°) and a point mass on a massless rod. For larger angles, the real period is longer than this estimate.

Reference Values

Frequency converts directly to period and angular frequency. Use this table to sanity-check a result.

Frequency (Hz) Period T ω (rad/s) RPM
0.52 s3.1430
11 s6.2860
20.5 s12.57120
100.1 s62.83600
6016.7 ms3773,600

Typical oscillators and where their frequencies land:

System Approx. frequency
1 m simple pendulum0.50 Hz
Grandfather clock pendulum (0.994 m)0.50 Hz
Mass-spring (m = 0.5 kg, k = 200 N/m)3.18 Hz
Tuning fork (A4)440 Hz
Quartz watch crystal32,768 Hz

Worked Example

A student counts 20 complete swings of a pendulum in 30 seconds.

f = N / t = 20 / 30 = 0.667 Hz

The period is T = 1 / 0.667 = 1.5 s, and ω = 2π·f = 4.19 rad/s. To check the length: L = g / (2π·f)² = 9.81 / (4.19)² ≈ 0.559 m.

FAQ

Is frequency the same as angular frequency? No. Frequency f is in cycles per second (Hz). Angular frequency ω is in radians per second. They are linked by ω = 2πf.

Why does mass not appear in the pendulum formula? Both the restoring force and inertia scale with mass, so it cancels. Only length and gravity set the frequency for small swings.

Does damping change the frequency? Slightly. Light damping lowers the observed frequency a small amount. The formulas above ignore damping, which is accurate enough for most homework and bench measurements.

What if my pendulum swings more than 15°? The true period is longer than the small-angle estimate. At 30°, expect roughly a 1.7% increase in T, or about a 1.7% drop in f.