# How to Find Mean & Standard Deviation of Grouped Data

Often we may want to calculate the mean and standard deviation of data that is grouped in some way. For example, suppose we have the following grouped data:

While it’s not possible to calculate the exact mean and standard deviation since we don’t know the raw data values, it is possible to estimate the mean and standard deviation.

The following steps explain how to do so.

### Calculate the Mean of Grouped Data

We can use the following formula to estimate the mean of grouped data:

Mean: Σmini / N

where:

• mi: The midpoint of the ith group
• ni: The frequency of the ith group
• N: The total sample size

Here’s how we would apply this formula to our dataset from earlier:

The mean of the dataset turns out to be 22.89

Note: The midpoint for each group can be found by taking the average of the lower and upper value in the range. For example, the midpoint for the first group is calculated as: (1+10) / 2 = 5.5.

### Calculate the Standard Deviation of Grouped Data

We can use the following formula to estimate the standard deviation of grouped data:

Standard Deviation:Σni(mi-μ)2 / (N-1)

where:

• ni: The frequency of the ith group
• mi: The midpoint of the ith group
• μ: The mean
• N: The total sample size

Here’s how we would apply this formula to our dataset:

The standard deviation of the dataset turns out to be 9.6377.

## 11 Replies to “How to Find Mean & Standard Deviation of Grouped Data”

1. Danny Dinh says:

Thank you so much for your explanation of grouped data. I was left so confused from my Statistics class on what to do since it was not covered in my lessons.

2. Sanzida says:

Is the answer right of standard deviation math?

3. Husna says:

this was very helpful but the sum of the frequency is 33 not 23

4. Juliet19820 says:

Great and well estimated.

5. Shubham Sharma says:

At last, when calculating standard deviation
It should be divided by 23 instead of 22
Thankyou

6. Themba modau says:

f= 22 not 23

7. KRIS PHIRI says:

Very helpful with less effort to understand. Thank you

8. Ayorinde Damilola says:

Thank you for these explanations

9. Liz says:

Great work. Thank you for educating us

10. Meshack A.(Iringa-Tanzania) says:

thanks a lot for providing a good statistical work to us

1. James Carmichael says:

You are very welcome Meshack! We appreciate the support and kind words!