Relative Frequency Formula - Definition, Steps, Examples

#Formula
TL;DR
The relative frequency formula divides a class frequency by the total number of observations, RF=fn\text{RF} = \frac{f}{n}. This article gives five worked examples and the probability link.
BT
Bhanzu TeamLast updated on November 4, 20266 min read

Key Points

  • The relative frequency formula is RF=fn\text{RF} = \frac{f}{n}, the frequency of a class divided by the total number of observations.

  • The NIST e-Handbook of Statistical Methods describes this as the normalised count, being the count in a class divided by the total number of observations.

  • Every relative frequency lies between 0 and 1, and the relative frequencies of all classes sum to exactly 1.

  • Multiplying by 100 converts a relative frequency to a percentage, which is the usual way of reporting it.

  • Relative frequency is the basis of empirical probability, where an observed proportion estimates the chance of an outcome.

What Is the Relative Frequency Formula?

The relative frequency formula turns a raw count into a proportion of the whole:

RF=fn\text{RF} = \frac{f}{n}

where ff is the frequency of the class and nn is the total number of observations. The NIST/SEMATECH e-Handbook of Statistical Methods calls this the normalised count, defined as the count in a class divided by the total number of observations.

Why the Total Is the Denominator

A raw frequency is only interpretable alongside the sample size. Twelve people preferring a product means something quite different in a survey of 20 than in a survey of 2,000.

Dividing by the total removes that dependence and puts every class on a common scale from 0 to 1. Two surveys of different sizes can then be compared class by class.

The proportions must sum to 1 because every observation falls into exactly one class, so the class counts add back to nn. That gives a free check on any relative frequency table.

Variable Key

Symbol

Meaning

Unit or type

Notes

RF\text{RF}

relative frequency

dimensionless

between 0 and 1

ff

frequency of the class

count

how many observations fall in it

nn

total observations

count

the sum of all class frequencies

×100\times 100

percentage conversion

dimensionless

optional reporting convention

Examples of the Relative Frequency Formula

Example 1

In a class of 40 students, 14 scored a B. Find the relative frequency of a B.

RF=1440=0.35\text{RF} = \frac{14}{40} = 0.35

Final answer: 0.350.35, or 35 per cent.

Example 2

A survey has four response categories with frequencies 8, 14, 12 and 6. Find the relative frequency of the first category by dividing by the number of categories.

There are four categories, so dividing by 4 looks natural: 84=2\frac{8}{4} = 2.

A relative frequency of 2 is impossible, since a proportion cannot exceed 1. The denominator must be the total number of observations, not the number of classes.

n=8+14+12+6=40,RF=840=0.20n = 8+14+12+6 = 40, \qquad \text{RF} = \frac{8}{40} = 0.20

Final answer: 0.200.20, or 20 per cent.

Example 3

For the same survey, build the full relative frequency table and check it.

840=0.20,1440=0.35,1240=0.30,640=0.15\frac{8}{40} = 0.20, \quad \frac{14}{40} = 0.35, \quad \frac{12}{40} = 0.30, \quad \frac{6}{40} = 0.15

Final answer: 0.20+0.35+0.30+0.15=1.000.20 + 0.35 + 0.30 + 0.15 = 1.00, so the table is consistent.

Example 4

A die is rolled 60 times and shows a six on 12 rolls. Find the relative frequency and compare it with the theoretical probability.

RF=1260=0.20\text{RF} = \frac{12}{60} = 0.20

Final answer: 0.200.20 against a theoretical 16≈0.167\frac{1}{6} \approx 0.167.

The observed proportion is an empirical estimate, and it drifts towards the theoretical value as the number of rolls grows.

Example 5

From the survey in Example 3, find the cumulative relative frequency up to the third category.

Add the relative frequencies in order rather than recomputing:

0.20+0.35+0.30=0.850.20 + 0.35 + 0.30 = 0.85

Final answer: 0.850.85, so 85 per cent of responses fall in the first three categories.

Don't Confuse These Four Frequency Measures

Measure

Formula

What it reports

Frequency

ff

the raw count in a class

Relative frequency

fn\frac{f}{n}

the proportion of the total

Cumulative frequency

running total of ff

count up to and including a class

Cumulative relative frequency

running total of fn\frac{f}{n}

proportion up to and including a class

The cumulative versions always end at nn and at 1 respectively, which is the quickest way to spot an arithmetic slip in either column.

The Errors That Cost Most Marks

Mistake 1: Dividing by the number of classes

Where it slips in: The class list is the visible structure of the table, so its length gets used as the denominator.

Don't do this: fnumber of classes\frac{f}{\text{number of classes}}

The correct way: fn\frac{f}{n}, where nn is the total of all frequencies. Any relative frequency above 1 is impossible and signals this error immediately.

Students who write the column total at the foot of the frequency column before computing any proportion avoid this entirely, because the denominator is then sitting in front of them.

Mistake 2: Mixing proportions and percentages in one column

Where it slips in: Some entries get multiplied by 100 and others do not, especially when a table is filled in over two sittings.

Don't do this: Record 0.35 and 30 per cent in the same column.

The correct way: Pick one form and apply it to every row. A column that sums to neither 1 nor 100 is the signature of a mixed column.

Mistake 3: Treating relative frequency as theoretical probability

Where it slips in: Both are numbers between 0 and 1 describing the same outcome.

Don't do this: Report an observed proportion of 0.20 as the probability of rolling a six.

The correct way: Keep them distinct. A relative frequency is what happened in this sample, while a theoretical probability is what the model predicts, and they agree only in the long run.

Wrapping Up

  • The relative frequency formula is RF=fn\text{RF} = \frac{f}{n}, a class count divided by the total number of observations.

  • Dividing by the total, never by the number of classes, is what puts every class on a 0 to 1 scale.

  • The relative frequencies of all classes sum to 1, which checks the whole table in one line.

  • An observed relative frequency estimates a probability but is not the same thing as a theoretical one.

  • To work through data handling with a teacher, explore a 6th grade math tutor or math tuition.

Practice These Three Before Moving On

A bag draw records 15 red, 25 blue and 10 green. Build the relative frequency table, confirm it sums to 1, then give the cumulative relative frequency after blue.

Want a live Bhanzu trainer to walk through more statistics problems? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the relative frequency formula?
RF=fn\text{RF} = \frac{f}{n}, the class frequency divided by the total number of observations.
Why must the relative frequency formula give values that add up to 1?
Because every observation belongs to exactly one class, so the class frequencies add back to nn, and dividing that total by nn gives 1. That makes the column total a free check on the whole table.
Can a relative frequency be greater than 1?
Not under the proportion definition, where the largest possible value is 1. NIST describes a second normalisation that divides by the total times the class width, and under that definition values above 1 are permissible.
How is relative frequency related to probability?
It is the basis of empirical probability, where an observed proportion estimates the chance of an outcome, as covered in the empirical probability formula.
✍️ 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 →