Pie chart glossary · Updated November 20, 2026 by Ryan Doyle, who built Pie Chart Generator.

What Is Relative Frequency?

Relative frequency is how often something happens divided by the total number of observations: frequency ÷ total. If 12 of 30 students pick apples, the relative frequency is 12 ÷ 30 = 0.4. The relative frequencies of all categories add up to 1, or 100%, which is exactly what a pie chart shows.

The relative frequency formula

Relative frequency = frequency ÷ total number of observations. The answer is a decimal from 0 to 1.

Multiply it by 100 for a percentage, or by 360 for the angle of that category's slice on a pie chart. A relative frequency of 0.25 is 25% and a 90-degree slice.

Real example: 16,149 of the 20,428 charts in our download log (20,428 charts, January 29 to November 21, 2026) were pies, a relative frequency of 0.791.

Going the other way, frequency = relative frequency × total: a relative frequency of 0.3 in a class of 30 is 9 students. In a spreadsheet with counts in B2:B5, type =B2/SUM($B$2:$B$5) and fill it down.

Worked example: a relative frequency table

Thirty students named their favorite fruit. The frequency column is the count; every other column comes from dividing it by 30.

FruitFrequencyRelative frequencyPercentPie slice angle
Apples120.4040%144°
Bananas90.3030%108°
Grapes60.2020%72°
Oranges30.1010%36°
Total301.00100%360°

Relative frequency = frequency ÷ 30. Angle = relative frequency × 360.

Relative frequency in real data

Here is the chart type of every chart downloaded from this site, from our download log (20,428 charts, January 29 to November 21, 2026). Dividing each count by the 20,428 total gives its relative frequency.

Chart typeFrequencyRelative frequencyPercent
Pie16,1490.79179.1%
Doughnut3,6970.18118.1%
Bar4600.0232.3%
Line1220.0060.6%
Total20,4281.000100%

Source: this site's anonymous download log. No chart contents are stored.

Frequency, relative frequency and cumulative relative frequency

Frequency is the raw count. Relative frequency is that count as a share of the total. Cumulative relative frequency is a running total of relative frequencies, and it only makes sense when the categories have an order, such as scores, sizes or counts.

Slice counts have an order, so they can be accumulated. The last column below says what share of all downloaded charts had between 2 slices and that row's number.

SlicesFrequencyRelative frequencyCumulative, from 2 slices
2 slices3,6150.1770.177
3 slices3,0260.1480.325
4 slices3,3180.1620.488
5 slices4,1330.2020.690
6 slices1,7800.0870.777

Source: our download log (20,428 charts, January 29 to November 21, 2026). Charts with 1 slice or more than 6 are left out of the rows, so the last row does not reach 1.

Relative frequency and probability

A relative frequency from an experiment is called the experimental (or empirical) probability. Flip a coin 10 times and you might see 7 heads, a relative frequency of 0.7. Flip it 10,000 times and the relative frequency settles close to 0.5. That pull toward the true probability as trials grow is the law of large numbers.

How to chart relative frequencies

For named categories (fruit, chart type, country) a pie chart shows relative frequencies directly: each slice is one category's share. For numbers grouped into ranges (test scores, heights) use a relative frequency histogram, where each bar's height is the share of values in that range. If 8 of 40 test scores fall between 70 and 79, that bar is 8 ÷ 40 = 0.2 high.

Common mistakes

  • Dividing by the wrong total, such as the number of categories instead of the number of observations.
  • Rounding each relative frequency before adding them up, so the column sums to 0.99 or 1.01. Round at the end, or note the rounding.
  • Using a pie chart for answers where people could pick more than one option. Those shares add up to more than 1, so there is no whole to divide.

Related terms

  • Frequency table: A frequency table lists each category and how many times it occurs, often with a running total.
  • Proportion: A proportion is a part divided by the whole, written as a decimal between 0 and 1, such as 0.25.
  • Percentage: A percentage is a part of a whole written out of 100, so 25% means 25 of every 100.
  • Central angle: The central angle of a slice is the angle it makes at the center of the circle, and it equals the slice's share of 360 degrees.
  • Categorical data: Categorical data sorts things into named groups, such as eye color, country or product, instead of measuring them on a number line.

Questions

Frequently asked questions

How do you find relative frequency?

Divide the frequency of a category by the total number of observations. 9 bananas out of 30 answers is 9 ÷ 30 = 0.3.

What is the difference between frequency and relative frequency?

Frequency is the count (9 students). Relative frequency is that count divided by the total (9 of 30 = 0.3, or 30%). Relative frequencies can be compared across groups of different sizes; raw counts can't.

Do relative frequencies always add up to 1?

Yes, when every observation falls into exactly one category. Rounded values can add up to 0.99 or 1.01; that is rounding, not an error in the data.

Sources (read November 20, 2026)

  1. Frequency (statistics), Wikipedia: absolute, relative and cumulative frequency.
  2. Law of large numbers, Wikipedia: relative frequency approaching probability as trials grow.
  3. Our pie chart statistics: chart type and slice counts, January 29 to November 21, 2026.