Skip to content
Gioi Toan
Start learning
A bar chart with three bars, the tallest one smiling

What is Relative frequency of a class?

Short answer

The relative frequency of a class is the ratio between the class frequency and the sample size, usually written as a percentage.

Type
Definition
First learned
Grade 9
Also called
tần số tương đối của nhóm, tần suất ghép nhóm
In English
relative frequency of a class, grouped relative frequency

Formulas

niN\frac{n_i}{N}

niN⋅100%\frac{n_i}{N} \cdot 100\%

Explanation

The relative frequency of a class equals the class frequency divided by the sample size N, usually multiplied by 100% to write it as a percentage.

The sum of the relative frequencies of all classes equals 1, that is 100%. Thanks to this you can check your calculations.

The relative frequency of a class tells you what share of the whole sample that class makes up, so it is used to compare classes even when sample sizes differ. It is also the data used to draw a relative frequency histogram.

Examples

Example 1

A sample has sample size 40, and the class [160;165)[160; 165) has frequency 12. Calculate the relative frequency of this class.

See the solution to example 1

The relative frequency is 1240=0,3=30%\frac{12}{40} = 0{,}3 = 30\%.

Example 2

The class [20;30)[20; 30) has frequency 9, and the sample size is 30. Calculate the relative frequency of the class.

See the solution to example 2

The relative frequency is 930=0,3=30%\frac{9}{30} = 0{,}3 = 30\%.

Common mix-ups

  • Confusing relative frequency of a class with class frequency: frequency is a count, while relative frequency is a ratio compared to the sample size.
  • Forgetting to multiply by 100% when the question asks for a percentage, for example 1240\frac{12}{40} must be written as 30%.
  • Thinking the sum of relative frequencies equals the sample size; in fact that sum always equals 1 or 100%.