Relative Frequency Formula

Relative frequency is the fraction or percentage of times a value occurs out of the total number of observations.

The Formula

relative frequency=category frequencytotal frequency

Ask yourself: Do you need a raw count turned into a fraction or percent of the total number of observations?

Quick example

Class A: 1020 like math (50%). Class B: 30100 like math (30%). Despite fewer raw counts, Class A has higher relative frequency.

Notation

fi is the absolute frequency (count), p^i=fi/n is the relative frequency (proportion), and n is the total number of observations.

What this formula means

Relative frequency is the fraction or percentage of times a value occurs out of the total number of observations. It converts raw counts into proportions, enabling fair comparisons between groups of different sizes.

Test scores in percent already use relative frequency: 18 out of 20 and 45 out of 50 are both 90%, so tests of different lengths compare fairly. Like a percent score, a relative frequency hides how many items there were, so report the total alongside it.

Formal view

For value xi with absolute frequency fi in a dataset of n observations, the relative frequency is p^i=fin, where ∑p^i=1.

Worked examples

Example 1

medium
A survey of 200 people lists ice-cream flavors: vanilla 80, chocolate 60, strawberry 40, other 20. Build the relative frequency table.
Show solution

Answer

vanilla 0.40, chocolate 0.30, strawberry 0.20, other 0.10

First step

1.
Vanilla =80/200=0.40.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Two coins were flipped together 80 times. HH: 22, HT: 18, TH: 20, TT: 20. Build the relative frequency table and identify the most common outcome.

Example 3

easy
In a class of 30 students, 12 walk to school, 10 take the bus, 5 cycle, and 3 are driven. Calculate the relative frequency of each transport method.

Common mistakes

  • Comparing raw frequencies across different-sized groups
  • Forgetting to convert to same format
  • Rounding too early

Why this formula matters

Raw counts reward big groups: a school of 1,000 will have more of almost everything than a class of 25. Relative frequency takes group size out, so you can say that a player who made 9 of 20 free throws (45%) shoots worse than one who made 30 of 50 (60%). It is also the bridge to probability: the share of times something happened estimates how likely it is next time.

Frequently asked questions

What is the Relative Frequency formula?

Relative frequency is the fraction or percentage of times a value occurs out of the total number of observations. It converts raw counts into proportions, enabling fair comparisons between groups of different sizes.

How do you use the Relative Frequency formula?

Use relative frequency when counts come from groups of different sizes and you want to compare them, or when a question asks for a fraction, percent or share of a total. Divide each count by its own group's total. If the task only asks how many, a frequency table is enough; if no data were collected and the chance comes from equally likely outcomes, use basic probability instead.

What do the symbols mean in the Relative Frequency formula?

fi is the absolute frequency (count), p^i=fi/n is the relative frequency (proportion), and n is the total number of observations.

Why is the Relative Frequency formula important in Statistics?

Raw counts reward big groups: a school of 1,000 will have more of almost everything than a class of 25. Relative frequency takes group size out, so you can say that a player who made 9 of 20 free throws (45%) shoots worse than one who made 30 of 50 (60%). It is also the bridge to probability: the share of times something happened estimates how likely it is next time.

What do students get wrong about Relative Frequency?

Students often know a procedure related to relative frequency but skip the recognition step: Do you need a raw count turned into a fraction or percent of the total number of observations? That leads to a calculation or graph that looks reasonable but answers a different question.

What should I learn before the Relative Frequency formula?

Before studying the Relative Frequency formula, you should understand: frequency table.