What is Frequency – Definition, Formula & Examples

#Math Terms
BT
Bhanzu TeamLast updated on May 10, 20264 min read

So what is frequency? In math and statistics, frequency is the number of times a value or event occurs in a given dataset or interval. In physics, frequency is the number of complete cycles a periodic phenomenon completes per unit time, measured in hertz (Hz).

The two definitions share a name and a flavour — both count occurrences over a defined window — but the formulas are different.

Quick Reference

Field

Value

Math definition

The number of times a value occurs in a dataset

Physics definition

The number of cycles per unit time of a periodic phenomenon

Symbol

ff

Math formula

f=count of occurrencesf = \text{count of occurrences}

Physics formula

f=1Tf = \frac{1}{T}, where TT is the period in seconds

SI unit (physics)

Hertz (Hz), where 1,Hz=11,\text{Hz} = 1 cycle per second

Used in

Statistics, signal processing, physics, music, electronics

What is Frequency?

In a dataset, frequency simply counts how many times each distinct value appears. If five students scored 77 on a quiz and three scored 88, the frequency of the score 77 is 55 and the frequency of 88 is 33. A frequency table lists every distinct value alongside its count.

In physics, frequency measures how often a wave or oscillation completes a cycle. A sine wave that goes through three complete cycles every second has a frequency of 33 hertz, written 3,Hz3,\text{Hz}. Frequency and period are reciprocals — a high-frequency wave has a short period; a low-frequency wave has a long period.

Why Frequency Exists

The word frequency in mathematical use traces back to the early statisticians of the 17001700s — Abraham de Moivre, Pierre-Simon Laplace — who needed a precise word for how often a value showed up in a dataset. The need was urgent because probability theory was being built around exactly that concept. The hertz, the SI unit of physical frequency, was named for Heinrich Hertz (1857–1894, Germany), who first produced and detected radio waves and confirmed that James Clerk Maxwell's equations described real, measurable electromagnetic phenomena.

The Formula

The math formula is the simplest in this article: the frequency of a value is the count of how many times it appears.

fi=number of occurrences of value xif_i = \text{number of occurrences of value } x_i

The total frequency across all values equals the sample size NN:

∑fi=N\sum f_i = N

The relative frequency (or probability) of a value is its frequency divided by the total:

relative frequency of xi=fiN\text{relative frequency of } x_i = \frac{f_i}{N}

In physics, frequency relates to period TT (the time for one cycle) and angular frequency ω\omega:

f=1T,ω=2πff = \frac{1}{T}, \quad \omega = 2\pi f

Variable Key

Symbol

Meaning

Unit

ff

Frequency

(math) count or proportion; (physics) hertz (Hz)

fif_i

Frequency of value xix_i in a dataset

count

NN

Total number of observations

count

TT

Period of a wave (time for one cycle)

seconds

ω\omega

Angular frequency

radians per second

Worked Examples of Frequency

Example 1: Frequency table

A teacher records test scores from 1010 students: 7,8,8,9,7,6,8,7,9,107, 8, 8, 9, 7, 6, 8, 7, 9, 10. Build the frequency table.

Score

Frequency

66

11

77

33

88

33

99

22

1010

11

Total

1010

Final answer: The most frequent score is a tie between 77 and 88, each with frequency 33.

Example 2: Frequency in physics

A pendulum completes one full swing every 0.50.5 seconds. What is its frequency?

f=1T=10.5=2,Hzf = \frac{1}{T} = \frac{1}{0.5} = 2,\text{Hz}

Final answer: The pendulum has a frequency of 22 hertz.

Common Confusions of Frequency Formula

Frequency vs Relative Frequency

Frequency is a raw count (e.g., 55 students). Relative frequency is the count divided by the total (e.g., 520=0.25\frac{5}{20} = 0.25 or 2525%). Both are useful; only relative frequency lets you compare across different sample sizes.

Frequency vs Probability

Once a sample is large enough, relative frequency closely approximates probability. They are not the same thing — probability is theoretical; relative frequency is empirical — but for large NN they converge.

Frequency vs Amplitude (Physics)

Frequency is how often a wave cycles; amplitude is how big the cycle is. A low-frequency sound is bass; a high-frequency sound is treble. Loudness corresponds to amplitude, not frequency.

Where Frequency Appears

Beyond the obvious — frequency tables in statistics, hertz in physics — the concept shows up in surprising places. Frequency analysis is used in cryptography (the Caesar cipher is broken by counting how often each letter appears in the ciphertext).

Music theory uses frequency to define pitch — middle C is 261.6,Hz261.6,\text{Hz}. Audio engineering uses frequency-domain analysis (Fourier transforms) to compress music files into MP3s. Heart-rate monitors compute beats per minute, which is a frequency.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is frequency — is it the same in math and physics
The core idea is the same — counting occurrences over a window — but the formulas and units differ. Math frequency is a count or a proportion; physics frequency is in hertz, with a fixed time-window of one second.
What is frequency measured in?
In statistics, frequency is unitless (it's just a count). In physics, frequency is measured in hertz (Hz), with 1,Hz=11,\text{Hz} = 1 cycle per second.
How do I convert period to frequency?
Take the reciprocal: f=1/Tf = 1/T. So a wave with period 0.250.25 seconds has frequency 4,Hz4,\text{Hz}.
What is cumulative frequency?
It is the running total of frequencies up to a given value. If the frequencies are 1,3,3,2,11, 3, 3, 2, 1, the cumulative frequencies are 1,4,7,9,101, 4, 7, 9, 10. Cumulative frequency is used to find medians and quartiles.
Why is the unit named "hertz"?
After Heinrich Hertz, the German physicist who first produced and detected radio waves in the late 1880s. Before 19301930, the unit was called cycles per second; the SI rename came in honour of Hertz's work.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →