Relative Frequency Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter how many observations fall in one class (or category) and the total number of observations to get that class's relative frequency, as a decimal and a percent.
Result
Relative frequency
Relative frequency (percent)
- Cumulative relative frequency
- Cumulative relative frequency (percent)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Frequency of the class (count): enter 0 or more.
- Total number of observations: enter 0 or more.
- Cumulative frequency up to and including this class (count): enter 0 or more.
- Read the result: Relative frequency; the panel also shows Relative frequency (percent), Cumulative relative frequency and Cumulative relative frequency (percent).
How this calculator works
Relative frequency = f ÷ N, where f is the number of observations in the class and N is the total number of observations. Multiply by 100 for a percent.
Cumulative relative frequency = (sum of the frequencies of this class and every class before it) ÷ N. For the last class it equals 1.
The relative frequencies of all the classes of a frequency table add up to 1 (100%), apart from rounding.
The formula
| Symbol | Meaning |
|---|---|
| Frequency of the class (count) | |
| Total number of observations | |
| Relative frequency |
Worked example
| Frequency of the class (count) | 12 |
|---|---|
| Total number of observations | 50 |
| Cumulative frequency up to and including this class (count) | 30 |
| Relative frequency (percent) | 24% |
|---|---|
| Cumulative relative frequency | 0.6 |
| Cumulative relative frequency (percent) | 60% |
Relative frequency 0.24
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the relative frequency of 12 out of 50?
12 ÷ 50 = 0.24, or 24%.
What is the difference between frequency and relative frequency?
Frequency is the count of observations in a class; relative frequency is that count divided by the total, so classes from samples of different sizes can be compared.