Relative Frequency Calculator

Paste raw data and get a full frequency table: each distinct value, its frequency, its relative frequency (share of the total) and the cumulative frequency and percentage, ready to copy into a worksheet.

12 values read.

Total count n
12
Distinct values
5
Mode
3
Highest relative freq.
41.67%
12345
▲ mean 3 · ◆ median 3

Step-by-step working

  1. Count how many times each distinct value appears: that is its frequency f1: 1, 2: 3, 3: 5, 4: 1, 5: 2
  2. Relative frequency = f ÷ n (the share of all observations)e.g. 1: 1 ÷ 12 = 0.0833
  3. Cumulative frequency adds the frequencies up to and including each row; the last row equals nlast row: 12 = n
Frequency table
ValueFrequencyRelativeCumulativeCum. %
110.083318.33%
230.25433.33%
350.4167975%
410.08331083.33%
520.166712100%

Formula relative frequency = f ÷ n cumulative frequency = running total of f

Ask the tutor about your result

An AI tutor reads your inputs and results above and explains them in plain English. The numbers come from the calculator; the explanation is AI-written, so check it against your notes.

How to build a frequency table

  1. List each distinct value once, in order.
  2. Count how many times each appears: that is the frequency f. The frequencies add up to n.
  3. Divide each f by n for the relative frequency. These add up to 1 (100%).
  4. Add the frequencies row by row for the cumulative frequency; the final row equals n.

Relative frequency as probability

Relative frequency is the experimental probability of each value: if a die lands on 6 in 9 of 50 rolls, the relative frequency of 6 is 0.18. With more trials it settles towards the theoretical probability (1/6 ≈ 0.167 for a fair die), which is the law of large numbers. For theoretical probabilities, see the probability calculator.

Frequently asked questions

What is the difference between frequency and relative frequency?

Frequency is a count (how many times). Relative frequency is that count divided by the total, so it is a proportion between 0 and 1 or a percentage.

Do relative frequencies always add up to 1?

Yes, apart from small rounding differences, because every observation is counted in exactly one row.

What is cumulative relative frequency used for?

It tells you the share of data at or below a value, which is the idea behind percentiles and the ogive (cumulative frequency graph).