Calculating the Mean
Introduction
Welcome back to Data Distributions and Center! You are now on lesson two of six in this course, and you are making great progress. In the previous lesson, we explored what a data distribution is and how to describe the overall pattern of a dataset by observing where values cluster, how far they spread, and whether any values stand apart. Now it is time to take the next step: calculating a single number that summarizes the center of a distribution. That number is the mean, and it is one of the most widely used tools in all of data analysis.
From Patterns to a Single Summary Number
Describing a distribution gives us a rich picture of our data, but sometimes we need a quick, simple summary. Imagine a friend asks, "How much do you usually spend on lunch?" They are not expecting a full breakdown of every meal — they want one number that captures the general idea.
This is exactly what a measure of center does. It condenses an entire dataset into a single representative value. The arithmetic mean, often just called the mean or average, is the most common way to do this. Let's see how it works.
The Mean Formula
Computing the mean involves two straightforward steps:
- Add up all the values in the dataset to get the sum.
- Divide that sum by the count (the number of values).
We can write this as a formula:
That is the entire procedure. Every value in the dataset contributes to the sum, which means every value has a direct effect on the result. This is an important property we will return to shortly.
A Worked Example
Let's walk through a complete calculation. Suppose we recorded the number of books five friends read last month:
| Friend | Books read |
|---|---|
| Amy | 2 |
| Brian | 4 |
| Carla | 3 |
| David | 6 |
| Elena | 5 |
Step 1 — Find the sum:
Step 2 — Divide by the count: There are values, so:
The mean number of books read is . Notice that not everyone read exactly books — some read fewer, some read more. The mean sits somewhere in the middle and accounts for all five values at once.


