Step 1: calculate the sum of the numbers, add up all the numbers in the set
Step 2: calculate the sum of the frequencies, add up all the frequencies in the set
Step 3: divide the sum of the numbers by the sum of the frequencies this will give you the mean.