What is the middle number in set of data?

The median.

If there are an odd number of elements in the set, there is a middle number which is the median.

If there are an even number of elements in the set, the median is the mean of the middle two numbers.