Relative frequency

By Jude Wallis · Published

A relative frequency is the count in a category divided by the total number of observations, giving that category as a share of the whole.

A relative frequency turns a count into a share of the whole: divide the number of observations in a category by nn, the total number of observations. The result always lands between 0 and 1, and multiplying by 100 reports the same quantity as a percent. When the categories are mutually exclusive and cover every observation, the relative frequencies add to exactly 1.

Forty students report how they get to school: 18 walk, 14 take the bus, 8 come by car. The relative frequencies are 18/40=0.4518/40 = 0.45, 14/40=0.3514/40 = 0.35, and 8/40=0.208/40 = 0.20, and those add to 1.00. As percentages, 45 percent, 35 percent, and 20 percent.

The mistake relative frequency exists to prevent is comparing raw counts across groups of different sizes. "School B had 30 walkers to our 18, so walking is more common there" collapses if School B has 200 students: 30/200=0.1530/200 = 0.15 against 18/40=0.4518/40 = 0.45. The count is larger and the share is a third as big. A smaller slip is reporting the relative frequency as 45 when the value is 0.45. The proportion and the percent are the same quantity on two scales, so say which one you are using.

The shares only add to 1 when each observation is counted once. Let students name every method they use and someone who walks and buses appears twice, the shares total more than 1, and the denominator has stopped being the number of students. In a two-way table one word covers three different divisions, by the grand total, by a row total, or by a column total, so a relative frequency there means nothing until you state what you divided by.

Relative frequency is also how a probability gets estimated from data: run a random process many times and the share of trials producing an outcome settles near its probability as the number of trials grows. That share is an estimate built from one set of trials, not the probability itself. Summary statistics for one categorical variable are Unit 1 topic 1.3.

Where this comes up

16 pages on the site use this term.

More describing data terms, or browse the full statistics glossary.