Relative Frequency Calculator

Relative Frequency Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Relative Frequency=FrequencyTotal\text{Relative Frequency} = \frac{\text{Frequency}}{\text{Total}}

Example

Relative Frequency=1250=0.24\text{Relative Frequency} = \frac{12}{50} = 0.24
Usage stats

Advertisement

Results

Relative Frequency
0.24
= 24% of the total
Frequency 12
Total count 50
Relative frequency 0.24

Report an error on this page

What Is Relative Frequency?

Relative frequency is the proportion of times a particular value or category occurs out of all observations in a data set. Instead of reporting a raw count (the absolute frequency), relative frequency expresses that count as a fraction or percentage of the whole. This makes it easy to compare categories across data sets of different sizes.

How to Use This Calculator

Enter the frequency — how many times the class of interest appears — and the total count of all observations. The calculator divides the two and returns the relative frequency as a decimal and a percentage. For a full frequency distribution, repeat the calculation for each class; all the relative frequencies should add up to 1 (or 100%).

The Formula Explained

The formula is simply:

$$\text{Relative Frequency} = \frac{f}{N}$$

where f is the frequency of the class and N is the total number of observations. Multiply the result by 100 to convert it to a percentage. Because it is a ratio of a part to a whole, the value always falls between 0 and 1.

Advertisement
Fraction showing one class frequency f divided by total count N
Relative frequency is a single class frequency f divided by the total count N.

Worked Example

Suppose a survey of 50 people finds that 12 prefer tea. The relative frequency of "tea" is \(12 \div 50 = 0.24\), or 24%. If 38 prefer coffee, its relative frequency is \(38 \div 50 = 0.76\) (76%). Notice that \(0.24 + 0.76 = 1.00\), confirming the distribution is complete.

Bar chart with one category highlighted among several
Each category's relative frequency shows its share of the total distribution.

Interpreting Relative Frequency

Relative frequency is the share of observations that fall in a given class or category. It is calculated as \(\text{Relative Frequency} = \frac{f}{N}\), where \(f\) is the class frequency and \(N\) is the total count. The result always lies between 0 and 1 (or 0% and 100%).

What the values indicate

  • Near 0: the category is rare in the data. A value of exactly 0 means it was never observed.
  • Near 0.5: about half of the observations belong to the category. For example, 48 of 100 gives 0.48.
  • Near 1: almost all observations belong to the category. A value of exactly 1 means every observation falls in it.

Link to empirical probability

Relative frequency is an empirical estimate of probability: it describes how often an outcome actually occurred in the observed data. With few observations it can vary a lot. As the sample size grows, the relative frequency tends to stabilize near the true underlying probability, which is the idea behind the law of large numbers. For example, the relative frequency of heads in 10 coin tosses might be 0.7, but over thousands of tosses it typically settles close to 0.5 for a fair coin.

Sum across classes

If the classes are mutually exclusive and cover every observation, their relative frequencies add up to 1 (or 100%):

$$\sum_{i} \frac{f_i}{N} = \frac{f_1 + f_2 + \dots + f_k}{N} = \frac{N}{N} = 1$$

Small deviations such as 0.999 or 1.001 can appear when individual values are rounded.

Relative vs. cumulative relative frequency

Relative frequency describes a single class on its own. Cumulative relative frequency is the running total of relative frequencies up to and including a given class, so it shows the proportion of observations at or below that class. It is non-decreasing and ends at 1 for the last class. For instance, if the first three classes have relative frequencies 0.10, 0.25, and 0.30, the cumulative relative frequency at the third class is 0.10 + 0.25 + 0.30 = 0.65.

Advertisement

Key Terms: Frequency, Relative Frequency, and Related Measures

Absolute frequency (\(f\))
The number of times a value or category occurs in a data set, or the number of observations in a class. It is a count, so it is a whole number of 0 or more.
Relative frequency
The absolute frequency divided by the total count, \(f / N\). It is a proportion between 0 and 1.
Percentage frequency
The relative frequency multiplied by 100, expressed as a percent: \(\frac{f}{N} \times 100\%\).
Cumulative frequency
The running total of absolute frequencies from the first class up to and including the current class. For the last class it equals \(N\).
Cumulative relative frequency
The running total of relative frequencies up to and including the current class, or equivalently the cumulative frequency divided by \(N\). It ends at 1 (100%).
Class
A category or interval into which observations are grouped, such as a color, a survey answer, or a numeric range like 10–19. Classes should not overlap and should together cover all the data.
Total count (\(N\))
The total number of observations in the data set, equal to the sum of all class frequencies: \(N = f_1 + f_2 + \dots + f_k\). It is the denominator used for relative frequency.

FAQ

What is the difference between frequency and relative frequency? Frequency is the raw count of occurrences; relative frequency is that count divided by the total, giving a proportion.

Can relative frequency be greater than 1? No. Since the frequency can never exceed the total count, the result is always between 0 and 1 (0% to 100%).

How do I turn it into a percentage? Multiply the relative frequency by 100. A relative frequency of 0.24 equals 24%.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators