# Averages from tables

It can be difficult and time-consuming to calculate or values if there is a large set of . To make calculations more efficient, tables are often used to condense the data.

The table below shows the amount of goals scored in 10 football matches.

Number of goalsFrequency
02
12
25
31

## Finding the mode from a table

The modal value is the value that occurs most. From a table, this means the modal value is the one with the highest .

Number of goalsFrequency
02
12
25
31

There were five football matches where 2 goals were scored, which is a higher frequency than any other amount of goals.

The modal amount of goals scored is 2.

## Finding the median from a table

The median value is the middle value when all items are in order. In this table, the amounts of goals are in order, as they start with zero goals and move up to three goals scored.

$$\text{Median} = \frac{n + 1}{2}$$. To find the value that is the median for a set of $$n$$ items of data, add 1 to $$n$$ and then divide by 2. The total frequency is 10, so there are 10 items of data.

Number of goalsFrequency
02
12
25
31
Total10

To find the median, work out $$\frac{n + 1}{2} = \frac{10 + 1}{2} = \frac{11}{2} = 5.5$$, which means the median will be half way between the 5th and 6th items of data. Go down the frequency column totalling the numbers until you find the category that contains the 5th and 6th items of data.

Number of goalsFrequencyCumulative frequency
02$2$
12$2 + 2 = 4$
25$4 + 5 = 9$
31$9 + 1 = 10$
Total10

The third group starts with the 5th item of data, so the 5th and 6th items of data will both be 2. The median number of goals is 2.