If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Calculating the mean

Learn how to calculate the mean by walking through some basic examples & trying practice problems.
The mean is used to summarize a data set. It is a measure of the center of a data set. Let's look at an example.
Let's start by drawing a picture to show each person and their cookies:
Imagine that the girls combined all of their cookies
and then each took the same number of cookies.
Each girl would have 4 cookies. So, the mean is 4 cookies.
Key idea: We can think of the mean as the number of cookies each girl would have if they were equally distributed among the four girls.
Find the mean number of bananas each of the monkeys has in the picture below.
bananas

## Calculating the mean

We don't need to draw a picture every time we want to calculate the mean. Instead, we can follow these steps:
Step 1: Add up all of the data points (this is like combining all of the cookies)
Step 2: Divide the total by the number of data points in the data set (this is like each girl taking the same number of cookies)
Let's do this for the data set left brace, 7, comma, 2, comma, 8, comma, 6, comma, 7, right brace:
\begin{aligned} 7 + 2+ 8 + 6 + 7&= \blueD{30} &\small{\gray{\text{Step 1}}} \\\\\\\\ \dfrac{\blueD{30}}{5} &= 6&\small{\gray{\text{Step 2}}}\end{aligned}
The mean of this data set is 6.

## Calculating the mean walkthrough

Let's find the mean of the data set left brace, 2, comma, 1, comma, 2, comma, 4, comma, 5, comma, 4, right brace together.
Add up all of the data points.

How many data points are in the data set?

Great! Now divide the total by the number of data points.
The mean of this data set is
.

Now it's time to try some practice on your own.

## Practice

Find the mean of the data set left brace, 5, comma, 23, comma, 8, comma, 12, right brace.

Find the mean of the data set left brace, 2, comma, 7, comma, 5, comma, 4, comma, 6, comma, 3, right brace.

Find the mean of the data set left brace, 4, point, 5, comma, 5, comma, 3, point, 5, comma, 2, comma, 2, point, 5, right brace.