Measures of Center: Mean and Median
Quick Reference
| Field | Value |
|---|---|
| Textbook | Moore, McCabe, Craig, Introduction to the Practice of Statistics (IPS), 9th edition |
| Location | Chapter 1, Looking at Data: Distributions; Section 1.3, Describing Distributions with Numbers |
| Subsection | Section 1.3, measuring center: the mean and the median |
| Pages | Page numbers pending faculty verification. |
| Course | MATH380 |
| Role | First numerical summary in the course. After Section 1.2 displays a distribution as a picture, Section 1.3 reduces the center of that distribution to a single number. The mean and the median are the two standard measures of center, and the comparison between them sets up the discussion of skewness and of resistant measures that follows. |
Try This First
A small tutoring center records how many minutes each of seven sessions lasted in one afternoon.
\[ 38, \quad 42, \quad 45, \quad 40, \quad 41, \quad 39, \quad 43 \]
Before reading any definition, work these on paper.
- Add the seven numbers and divide by 7. Write down the result.
- Now put the seven numbers in order from smallest to largest. Circle the number that sits exactly in the middle of the ordered list.
- Predict, before checking: will the two numbers you found be close together, or far apart? Then keep reading.
Check your three answers
- The sum is $38 + 42 + 45 + 40 + 41 + 39 + 43 = 288$, and $\frac{288}{7} \approx 41.1$ minutes. This is the mean.
- In order the values are $38, 39, 40, 41, 42, 43, 45$. There are seven values, so the middle one is the fourth: $41$ minutes. This is the median.
- The two numbers ($41.1$ and $41$) are very close. When a list has no extreme outlier and is roughly symmetric, the mean and the median land near each other.
You have just computed both measures of center by hand. The mean is the balance point of the values; the median is the middle of the ordered values. Those two ideas become precise below, along with the one situation, an outlier, where choosing between them matters.
An Intuitive Introduction
A measure of center answers a single question about a quantitative variable: if the whole distribution had to be reported as one typical number, what would that number be? There are two standard answers, and they describe “typical” in two different ways.
The mean is the arithmetic average. Think of the data values as weights placed along a ruler. The mean is the point where the ruler balances. Because every value pushes on the balance point, moving any one value moves the mean. A single very large value pulls the balance point toward itself.
The median is the physical middle of the ordered list. Half of the observations sit at or below it, and half sit at or above it. The median only cares about which value is in the middle position, not about how large the values on the ends are. Pushing the largest value out to infinity does not move the median at all, because the middle position has not changed.
Both numbers report a center. They agree when the distribution is roughly symmetric. They disagree when the distribution is skewed or contains an outlier, and that disagreement is itself information: the gap between the mean and the median is a signal about the shape of the data.
Prerequisite Hub
Builds On
| Skill | Why it is needed |
|---|---|
| Sigma (Summation) Notation | The mean is defined as $\frac{1}{n}\sum x_i$, so the reader must be able to read and evaluate a sum of indexed observations. |
| Basic Algebra Review | Computing a mean and locating a median require ordering numbers and doing arithmetic on them accurately. |
| Describing a Distribution: Shape, Center, Spread | Center is one of the three features used to describe a distribution. The reader must already know that a distribution has a shape, a center, and a spread before isolating the center as a number. |
Unlocks
| Skill | What it adds |
|---|---|
| Measures of Spread: Quartiles and the IQR | The median splits the data in half; the quartiles split each half again, giving a measure of spread that pairs with the median. |
| Measures of Spread: Variance and Standard Deviation | The standard deviation measures spread around the mean, so it is the companion of the mean just as the IQR is the companion of the median. |
| Density Curves | A density curve is an idealized distribution whose mean is its balance point and whose median splits its area in half, carrying both measures from data to a smooth model. |
Cross-Course Prerequisites
None. The summation notation and the arithmetic of ordering numbers are in the review nodes above.
The Official Definitions
Mean ($\bar{x}$). To find the mean of a set of observations, add their values and divide by the number of observations. If the $n$ observations are $x_1, x_2, \ldots, x_n$, their mean is \[ > \bar{x} = \frac{x_1 + x_2 + \cdots + x_n}{n}, > \] which in summation notation is \[ > \bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i. > \]
(Moore, McCabe, Craig, IPS 9th edition, Section 1.3, Describing Distributions with Numbers; corroborated by OpenStax Introductory Statistics 2e, mean as a measure of central tendency commonly called the average, https://openstax.org/books/introductory-statistics-2e/pages/2-key-terms.)
Median ($M$). The median $M$ is the midpoint of a distribution, the number such that half the observations are smaller and the other half are larger. To find it, arrange the observations in order of size from smallest to largest.
- If the number of observations $n$ is odd, the median is the center observation in the ordered list.
- If the number of observations $n$ is even, the median is the mean of the two center observations.
(Moore, McCabe, Craig, IPS 9th edition, Section 1.3, Describing Distributions with Numbers; corroborated by OpenStax Introductory Statistics 2e, median separates ordered data into halves, https://openstax.org/books/introductory-statistics-2e/pages/2-key-terms.)
Section 1.3 of IPS states no theorem here. The content is two definitions and the practice of computing each one correctly, plus the comparison between them. Three constraints inside the definitions are easy to miss and worth holding onto.
- The mean uses every value, so it responds to every value, including an outlier.
- The median requires the data to be in order first. Computing a median on an unsorted list is the single most common arithmetic error here.
- When $n$ is even there is no single middle value, so the median is the average of the two middle values, and that average need not be one of the observed data points.
The Locating Rule for the Median
A clean way to find the position of the median in an ordered list of $n$ values is the locating index $\frac{n+1}{2}$, counting from the smallest value.
| If $n$ is... | $\frac{n+1}{2}$ is... | The median is... |
|---|---|---|
| Odd | a whole number | the single value at that position |
| Even | a half-integer (like $4.5$) | the average of the values at the two neighboring positions |
For $n = 7$, $\frac{n+1}{2} = 4$, so the median is the 4th value. For $n = 8$, $\frac{n+1}{2} = 4.5$, so the median is the average of the 4th and 5th values. The locating index gives the position; it is never the median value itself.
Reading the Two Measures Side by Side
| What you want | Measure to use | What it ignores |
|---|---|---|
| A balance point that uses every value | Mean ($\bar{x}$) | Nothing; every value counts, so an outlier counts too. |
| A middle value that resists extremes | Median ($M$) | The size of the extreme values; only the middle position matters. |
Both numbers report a center. Read the data list, compute the mean and the median, and explain when they agree and when they split.
Worked Examples
Example 1: Mean and Median of an Odd-Length List
A campus bike-share station records how many bikes were available at seven hourly checks during one morning.
\[ 12, \quad 9, \quad 15, \quad 11, \quad 14, \quad 10, \quad 13 \]
Predict first. Before any arithmetic, the values run from 9 to 15 with nothing extreme, so the mean and the median should land near the middle of that range, somewhere around 12.
Step 1: Compute the mean. Add all seven values and divide by 7.
\[ \bar{x} = \frac{12 + 9 + 15 + 11 + 14 + 10 + 13}{7} = \frac{84}{7} = 12 \text{ bikes}. \]
Step 2: Order the data and locate the median. In order:
\[ 9, \quad 10, \quad 11, \quad 12, \quad 13, \quad 14, \quad 15. \]
Here $n = 7$, so the locating index is $\frac{7+1}{2} = 4$. The median is the 4th value: $M = 12$ bikes.
Read it back. The mean is 12 and the median is 12. They match exactly, which fits the prediction: this list is symmetric around 12, so its balance point and its middle position are the same number.
Example 2: Median of an Even-Length List
A coffee stand records the number of customers in each of eight five-minute intervals.
\[ 7, \quad 4, \quad 9, \quad 6, \quad 8, \quad 5, \quad 11, \quad 6 \]
Predict first. There are eight values, an even count, so there is no single middle value. The median will be the average of the two middle values, and it may not equal any value in the list.
Step 1: Order the data.
\[ 4, \quad 5, \quad 6, \quad 6, \quad 7, \quad 8, \quad 9, \quad 11. \]
Step 2: Locate the two middle values. Here $n = 8$, so the locating index is $\frac{8+1}{2} = 4.5$. The median is the average of the 4th and 5th values. The 4th value is 6 and the 5th value is 7.
\[ M = \frac{6 + 7}{2} = 6.5 \text{ customers}. \]
Step 3: Compute the mean for comparison.
\[ \bar{x} = \frac{4 + 5 + 6 + 6 + 7 + 8 + 9 + 11}{8} = \frac{56}{8} = 7 \text{ customers}. \]
Read it back. The median is 6.5 and the mean is 7. The median, 6.5, is not one of the recorded counts, which is expected for an even-length list. The mean is slightly higher than the median because the value 11 pulls the balance point up.
Example 3: One Outlier Splits the Mean and the Median
A real-estate listing reports the sale prices, in thousands of dollars, of five homes that sold on one street.
\[ 210, \quad 225, \quad 240, \quad 230, \quad 1{,}900 \]
The value 1,900 is a mansion among modest homes: a clear outlier.
Predict first. The median ignores the size of the extreme value and reports the middle of the ordered list, so it should stay near the cluster around 225. The mean adds the 1,900 into the total, so it should be pulled far above the cluster. Predict which number is the better description of a typical home on this street.
Step 1: Order the data.
\[ 210, \quad 225, \quad 230, \quad 240, \quad 1{,}900. \]
Step 2: Find the median. Here $n = 5$, so the locating index is $\frac{5+1}{2} = 3$. The median is the 3rd value: $M = 230$ thousand dollars.
Step 3: Find the mean.
\[ \bar{x} = \frac{210 + 225 + 230 + 240 + 1{,}900}{5} = \frac{2{,}805}{5} = 561 \text{ thousand dollars}. \]
Read it back. The median is 230 thousand dollars, right inside the cluster of ordinary homes. The mean is 561 thousand dollars, more than double every ordinary home on the street. No house actually sold for anything near 561 thousand dollars, so the mean is a misleading “typical” value here. The single outlier dragged the balance point far from the bulk of the data, while the median did not move. For a skewed list like this, the median is the honest measure of center.
The mean uses every value, which makes it sensitive to an outlier. The median uses only the middle position, which makes it resistant to an outlier. The gap between them ($561 - 230 = 331$ thousand dollars) is a flag that the distribution is strongly skewed to the right.
Common Misconceptions
the median is whatever value falls in the middle of the list as written. The median is the middle of the ordered list, not the middle of the list in the order it was recorded. For the data $7, 4, 9, 6, 8, 5, 11, 6$ from Example 2, the value sitting in the middle of the unsorted list is not the median. Predict-then-check: write any short list of five numbers out of order, take the middle entry as written, then sort the list and take the new middle entry. The two answers differ, which shows that ordering first is not optional.
the mean and the median are always the same, or are interchangeable. They are equal only for a symmetric distribution. When a distribution is skewed or has an outlier, they differ, and the difference is meaningful. In Example 3, the mean is 561 and the median is 230 for the same five homes. Predict-then-check: take any small symmetric list (such as $2, 4, 6, 8, 10$), confirm the mean and median match, then replace the largest value with a huge number and recompute. The median holds steady while the mean jumps, which proves the two measures are not interchangeable.
a single extreme value affects the mean and the median equally. The mean changes when any value changes, because every value enters the sum. The median changes only if the value in the middle position changes. Replacing 240 with 24,000 in Example 3 leaves the median at 230 but sends the mean far higher. Predict-then-check: in any ordered list, push the largest value to ten times its size and recompute both. The mean moves a lot; the median does not move at all. This resistance is the property that makes the median the right choice for skewed data.
Practice Problems
Five students report the number of books they read over the summer: $3, 5, 2, 6, 4$. Find the mean number of books.
A runner records mile times, in minutes, for seven training runs: $9, 8, 11, 7, 10, 9, 12$. Find the median mile time.
A store records the number of items in eight customer carts: $5, 2, 8, 3, 7, 4, 9, 6$. Find the median number of items.
A small company reports the annual salaries, in thousands of dollars, of its five employees: $48, 52, 55, 50, 600$. The 600 is the owner’s salary.
(a) Find the mean and the median. (b) A recruiter writes “the typical salary at this company is over 160 thousand dollars.” Which measure of center did the recruiter use, and is the claim a fair description of a typical employee? Justify your answer.
A data set of nine quiz scores has a mean of 70 and a median of 78.
(a) Without seeing the individual scores, what does the relationship between the mean and the median tell you about the shape of this distribution? (b) Construct one specific list of nine scores (each between 0 and 100) whose mean is below its median, and verify your two values. (c) Explain, in terms of how each measure is computed, why a few very low scores can pull the mean below the median while leaving the median where it is.
Mastery Checklist
Novice (Level 1-2):
Competent (Level 3-4):
Proficient (Level 5):
Connections
Looking back:
- Sigma (Summation) Notation supplies the $\sum$ symbol used to write the mean compactly.
- Basic Algebra Review supplies the ordering and arithmetic behind both measures.
- Describing a Distribution: Shape, Center, Spread establishes center as one of the three features of a distribution.
Looking ahead:
- Measures of Spread: Quartiles and the IQR pairs with the median, splitting each half of the ordered data again.
- Measures of Spread: Variance and Standard Deviation pairs with the mean, measuring spread around the balance point.
- Density Curves carry the mean (balance point) and median (equal-area point) from a data list to a smooth model.
Real-world connections:
- Reported “average” incomes are usually the median, because a small number of very high incomes would inflate the mean and misrepresent a typical household.
- Home-price reports use the median sale price for the same reason: one mansion sale would distort the mean for a neighborhood of modest homes.
- A teacher comparing the mean and the median of an exam can detect a tail of very low scores without looking at every paper, because a mean well below the median points to a left-skewed distribution.
Resources
| Resource | What it covers |
|---|---|
| Moore, McCabe, Craig, Introduction to the Practice of Statistics (IPS), 9th edition, Chapter 1, Section 1.3, Describing Distributions with Numbers | The primary text for this node. The mean and the median as measures of center, and the comparison between them. Page numbers pending faculty verification. |
| OpenStax Introductory Statistics 2e, 2.5 Measures of the Center of the Data | An open-source companion treatment of the mean and the median, with worked examples and exercises. |
| Previous | Up | Next |
|---|---|---|
| Displaying Categorical Data: Bar Graphs and Pie Charts | Skills Index | Measures of Spread: Quartiles and the IQR |
Last updated: 2026-06-16