Skip to content
One hour with George, then a written plan the next working day. Book yours.

Frequency tables for marks

A frequency table takes a long list of values, such as the marks of a class, and shows how often each value occurs. It needs four columns to be useful: the value, how many times it appears (the absolute frequency), what share of the total that is (the relative frequency), and a running total (the cumulative frequency).

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Quiz marks out of 10 for 30 students, as a frequency table
MarkFrequencyCumulative frequencyRelative frequencyCumulative relative frequency
3110.0330.033
4230.0670.100
5360.1000.200
66120.2000.400
78200.2670.667
86260.2000.867
93290.1000.967
101300.0331.000

Relative frequencies are rounded to three places, so the column can differ from 1 by a rounding digit. The cumulative columns are computed from the exact fractions.

Our own example data of 30 marks, tallied and totaled in code

The last row of each running total must land on the size of the data set, or on 1, and that is your built-in check.

What do the four columns mean?

The absolute frequency is a plain count. Eight students scored a 7, so the frequency of the mark 7 is 8. The counts together must add to n, the number of values, and here they add to 30.

The relative frequency is the count divided by n. Eight out of 30 is 0.267, or about 26.7 percent. Relative frequencies add to 1, because the pieces make up the whole.

The cumulative frequency is the count of values at or below a given value. Add each row's frequency to the total above it: 1, then 1 + 2 = 3, then 3 + 3 = 6, and so on. The cumulative relative frequency does the same with shares, and it answers questions such as "what share of the class scored a 6 or lower?" The table says 0.400, or 40 percent.

How do you build the table?

  1. List every value that occurs, from smallest to largest.
  2. Tally each value in the data as you go, one stroke per value.
  3. Write the tally count as the frequency, and check that the frequencies add to n.
  4. Build the cumulative column by adding down.
  5. Divide each frequency and each cumulative frequency by n for the two relative columns.

Reading the table back tells you things the raw list hides. The most common mark, the mode, is 7. The middle of 30 marks lies between the 15th and 16th in order, and the cumulative column shows both are 7, so the median is 7. The mean is 203 / 30, or about 6.77.

When should you group the data into classes?

Group when there are too many different values to list, or when the variable is continuous, such as a percentage score. Pick classes of equal width. The open textbook cited above says many histograms use five to 15 bars or classes. A class includes its lower limit and leaves out its upper limit, so a mark of exactly 70 belongs to the 70-80 class, not to 60-70. Each class gets a class mark, its middle value, which stands in for every value inside it.

Forty test percentages sorted from lowest to highest: 23, 38, 41, 45, 49, 52, 54, 56, 57, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 86, 87, 88, 90, 91, 93, 95.

Grouped frequency table for the 40 percentages, classes of width 10
ClassClass markFrequencyCumulative frequencyRelative frequencyCumulative relative frequency
20 to under 3025110.0250.025
30 to under 4035120.0250.050
40 to under 5045350.0750.125
50 to under 60555100.1250.250
60 to under 70659190.2250.475
70 to under 807510290.2500.725
80 to under 90857360.1750.900
90 to under 100954400.1001.000

Source: Counted for this page from the 40 values above; the range is 95 - 23 = 72, and eight classes of width 10 cover it.

What do you lose by grouping?

Grouping hides where inside a class the values fall. If you estimate the mean by multiplying each class mark by its frequency, you get 2,780 / 40 = 69.5. The true mean from the 40 original values is 2,764 / 40 = 69.1. The estimate is close but not exact, and that gap is the price of grouping.

Worked example: Reading a cumulative table to answer a question

Using the grouped table, what share of the students scored below 70, and how many scored 80 or higher?

  1. Scoring below 70 means the classes up to and including 60 to under 70. The cumulative frequency at the end of that class is 19.
  2. Divide by the total: 19 / 40 = 0.475, which is 47.5 percent.
  3. Scoring 80 or higher means the last two classes: 7 + 4 = 11 students.
  4. Check with the cumulative column: 40 - 29 = 11, which agrees.

Answer: 47.5 percent scored below 70, and 11 students scored 80 or higher.

Source: Original example by George Li Tutoring, using the grouped table above; every count was verified in code.

If frequency tables, histograms and the mean and median come up in a statistics unit, a tutor can work from your own class data. See high school course tutoring, the study planner, or book a first session.

Common questions

What is a frequency table?

A table that lists each value or class of a data set with how many times it occurs, often with relative and cumulative columns.

What is the difference between absolute and relative frequency?

Absolute frequency is a count. Relative frequency is that count divided by the total number of values, so it is a share between 0 and 1.

What is cumulative frequency?

A running sum of the counts up to and including a given value or class. The last cumulative frequency equals the number of values in the data.

How many classes should a grouped table have?

Many histograms use five to 15 classes of equal width. Too few hide the shape of the data, and too many look like the raw list.

Sources