Back to homeMathematics · Algebra 1 · Change subject
Start for free
Algebra 1 · Mathematics
Statistics · Statistics

Mean, Median, and Mode

Before you start, make sure you know: Statistical parameters (Math 8 (Pre-Algebra))
Before you start, make sure you know: Tables (Math 8 (Pre-Algebra))

A small sneaker startup brags: "The average pay here is $\$3{,}000$ a month!" But six of the seven employees earn $\$2{,}000$ a month, and the owner takes $\$9{,}000$. Is $\$3{,}000$ a "typical" paycheck? The mean, the median, and the mode don't always tell the same story, and by the end of this page you'll know which one to trust.

The Three Measures of Center

A single number that describes the "middle" or "typical" value of a data set is a measure of center. There are three common ones.

Why the median uses the middle: half of the data lies at or below it and half at or above it. If $N$ is odd, the median sits at position $\frac{N+1}{2}$ of the ordered list.

Change the data below and watch how the three measures react.

If $N$ is odd it's even easier. For $3, 5, 5, 6, 8$ the middle value is $5$, so the median is $5$.

Practice★☆☆Not started
In a botany experiment, the number of leaves of $8$ plants of the same species has been measured after two weeks of growth. The results obtained are:…

In a botany experiment, the number of leaves of $8$ plants of the same species has been measured after two weeks of growth. The results obtained are: $12, 15, 14, 12, 16, 12, 18, 13$.

Calculate the arithmetic mean, the median and the mode of this data.

Solve
Practice★☆☆Not started
Given the following two data sets referring to the number of books read in a year by two groups of young people: Set A: $2, 4, 5, 7, 9$ Set B: $1, 3, 4, 6, 8, 10$ Find…

Given the following two data sets referring to the number of books read in a year by two groups of young people:

  • Set A: $2, 4, 5, 7, 9$

  • Set B: $1, 3, 4, 6, 8, 10$

Find the median for each of the sets and explain the difference in the calculation procedure when having an even or odd number of data points.

Solve

Frequency Tables and Bar Charts

When a value repeats many times, it is shorter to write how often it occurs. The frequency $f$ of a value is the number of times it appears. A bar chart shows the same information: the height of each bar is the frequency.

Here is the number of pets owned by $25$ students:

Pets $x$ Frequency $f$ $x \cdot f$
0 5 0
1 9 9
2 6 12
3 3 9
4 2 8
Total $N = 25$ $38$
Bar chart of the number of pets owned by 25 students: 5 students have 0 pets, 9 have 1, 6 have 2, 3 have 3, and 2 have 4. 59632 01234 number of pets

Categorical data. If the data are categories (colors, pizza toppings, brands), you can't add or order them. Only the mode makes sense. If $9$ students pick pepperoni, $7$ cheese, and $4$ veggie, the mode is pepperoni. A "mean topping" has no meaning.

Practice★☆☆Not started
The ages of the participants in a robotics workshop are summarized in the following frequency table: $14$ years old: $5$ people $15$ years old: $8$ people $16$ years…

The ages of the participants in a robotics workshop are summarized in the following frequency table:

  • $14$ years old: $5$ people

  • $15$ years old: $8$ people

  • $16$ years old: $4$ people

  • $17$ years old: $3$ people

Determine the mean age, the median age and the mode.

Solve
Practice★☆☆Not started
The following bar chart shows the number of siblings the students in a class have. From the chart, construct the frequency table and calculate the mode and the…

The following bar chart shows the number of siblings the students in a class have.

No. of siblings Students 0 5 10 0 1 2 3 4 6 10 5 2 1

From the chart, construct the frequency table and calculate the mode and the arithmetic mean.

Solve
Practice★☆☆Not started
$20$ people were asked for their favorite color for the interface design of a new mobile app. The results are: Blue: $8$ people Green: $5$ people Red: $4$ people Yellow:…

$20$ people were asked for their favorite color for the interface design of a new mobile app. The results are:

  • Blue: $8$ people

  • Green: $5$ people

  • Red: $4$ people

  • Yellow: $3$ people

State which is the mode. Does it make sense to calculate the mean or the median in this case? Explain your answer.

Solve

Outliers: When the Mean Misleads

The mean uses every data value, so one extreme value, called an outlier, drags it toward itself. The median only depends on order, so it barely moves.

Now back to the startup. Here is the pay data on a number line.

Dot plot of monthly pay: six dots stacked at 2,000 and one lone dot at 9,000. The median line is at 2,000 and the mean line at 3,000. owner median = 2,000 mean = 3,000 05,00010,000
Practice★☆☆Not started
In a quality control test, the time in seconds it takes for a computer to boot up is measured. The following times are obtained: $12, 11, 13, 12, 14, 85$. Calculate the…

In a quality control test, the time in seconds it takes for a computer to boot up is measured. The following times are obtained: $12, 11, 13, 12, 14, 85$.

Calculate the mean and the median. Which of the two measures better represents the central tendency of this data? Justify your answer.

Solve
Practice★★☆Not started
In a small technology company, the monthly salaries of its $7$ employees are: $1200 \text{ \$}, 1250 \text{ \$}, 1300 \text{ \$}, 1200 \text{ \$}, 1400 \text{ \$}, 1350…

In a small technology company, the monthly salaries of its $7$ employees are:

$1200 \text{ \$}, 1250 \text{ \$}, 1300 \text{ \$}, 1200 \text{ \$}, 1400 \text{ \$}, 1350 \text{ \$}, 8500 \text{ \$}$.

Calculate the mean and the median. Write a short text explaining to future employees which of the two measures more realistically represents the usual salary they will earn and why.

Solve

Back to the start: $\$3{,}000$ is not a typical paycheck. Six of the seven employees earn $\$2{,}000$. The owner's $\$9{,}000$ is an outlier that pulls the mean up, while the median, $\$2{,}000$, describes what a new employee will usually earn.

Working Backward from the Mean

The mean formula can be turned around. Multiply both sides by $N$:

This turns "find the missing value" problems into one-step equations. Here the five scores below are drawn as gaps from their mean of $85$: the gaps above and below the mean cancel out.

Five test scores drawn as bars above or below a mean line at 85: scores 90 and 95 rise above the line, scores 80 and 75 fall below, and 85 sits on it. The gaps cancel. the gaps above and below the mean cancel out mean 85 8090857595

The same idea finds an unknown frequency. Suppose people at a party ate $1$ slice ($4$ people), $2$ slices ($6$ people), $3$ slices ($f$ people), or $4$ slices ($5$ people), and the mean was $2.5$ slices.

Practice★☆☆Not started
A 10th-grade student has taken five math exams throughout the term. His grades on the first four are: $6, 7, 5$ and $8$. If he wants his exact average grade to be a $7$,…

A 10th-grade student has taken five math exams throughout the term. His grades on the first four are: $6, 7, 5$ and $8$.

If he wants his exact average grade to be a $7$, what grade must he get on the fifth exam?

Solve
Practice★★☆Not started
When calculating the mean of the grades of $25$ students, the teacher obtained a $6,4$. Later, reviewing the exams, he realized that he had mistakenly written down a $3$…

When calculating the mean of the grades of $25$ students, the teacher obtained a $6,4$. Later, reviewing the exams, he realized that he had mistakenly written down a $3$ for a student whose actual grade was a $8$.

Calculate the new correct mean without needing to know all the individual grades.

Solve
Practice★★☆Not started
In a shoe store, the number of pairs sold according to size during a weekend has been recorded. The mean size sold was $39,5$. Knowing the following data, determine the…

In a shoe store, the number of pairs sold according to size during a weekend has been recorded. The mean size sold was $39,5$. Knowing the following data, determine the number of pairs sold of size $40$ (represented by $f$).

  • Size $38$: $4$ pairs

  • Size $39$: $8$ pairs

  • Size $40$: $f$ pairs

  • Size $41$: $5$ pairs

Solve

Weighted Mean

Not every value counts the same. In many classes, a final exam is worth more than homework. Then each value is multiplied by its weight before adding.

Three horizontal blocks whose widths show the weights 20%, 30%, and 50% for scores of 90, 80, and 70 in a weighted mean. 90 × 20% 80 × 30% 70 × 50% a wider block means a bigger weight

Weighted means also answer "what do I need?" questions, using an inequality.

Practice★★☆Not started
The final grade for the Physics course is calculated using a weighted mean. The lab assignments are worth $20\%$, the research projects $30\%$ and the final exam $50\%$.…

The final grade for the Physics course is calculated using a weighted mean. The lab assignments are worth $20\%$, the research projects $30\%$ and the final exam $50\%$.

If a student has a $8$ on the labs, a $6$ on the projects and a $7,5$ on the final exam, calculate her final average grade.

Solve
Practice★★★Not started
In the assessment of a subject, the final grade is calculated using three components: Mid-term exam (weighting $30\%$) Research project (weighting $20\%$) Final exam…

In the assessment of a subject, the final grade is calculated using three components:

  • Mid-term exam (weighting $30\%$)

  • Research project (weighting $20\%$)

  • Final exam (weighting $50\%$)

A student has a $4,5$ in the mid-term exam and a $6$ in the project. The final exam grade must be an integer or have exactly one decimal place. What is the minimum grade they must get in the final exam for their weighted mean to be at least $5,0$? If the maximum grade is $10$, is it possible for them to achieve a mean of $8,0$?

Solve

Combining Groups and Mixtures

You can also use a weighted mean when the weights are the sizes of groups. You can't just average two group means. A bigger group should count more.

Balance on a number line: a small group with mean 78 on the left, a larger group with mean 88 on the right, and the overall mean 84 closer to the larger group. 20 students30 students 7888 mean 84 the bigger group pulls the mean closer to it

When one of the weights is the unknown, write an equation.

The same idea works for mixtures. If a mix is made of a fraction $x$ of one ingredient and $1 - x$ of another, the mean value of the mix is a weighted mean with those fractions as weights.

Practice★★☆Not started
A logistics company has two industrial warehouses. In the Dallas warehouse, $45$ workers work with a mean salary of $1800 \text{ \$}$. In the Chicago warehouse, $30…

A logistics company has two industrial warehouses. In the Dallas warehouse, $45$ workers work with a mean salary of $1800 \text{ \$}$. In the Chicago warehouse, $30$ workers work with a mean salary of $2100 \text{ \$}$.

Calculate the mean salary of all the workers in the company as a whole.

Solve
Practice★★★Not started
An investor buys shares in a company for three consecutive months. The first month he buys $n$ shares at a mean price of $12 \text{ \$}…

An investor buys shares in a company for three consecutive months. The first month he buys $n$ shares at a mean price of $12 \text{ \$}$. The second month he buys twice as many shares as the first month at a mean price of $15 \text{ \$}$. The third month he buys $50$ shares at $10 \text{ \$}$.

If the overall mean price of all the shares bought in the three months is $13 \text{ \$}$, how many shares did he/she buy in the first month?

Solve
Practice★★★Not started
A metal alloy is composed of two metals $A$ and $B$. The density of metal $A$ is $3 \text{ g/cm}^3$ and that of metal $B$ is $8 \text{ g/cm}^3$. If the mean density of…

A metal alloy is composed of two metals $A$ and $B$. The density of metal $A$ is $3 \text{ g/cm}^3$ and that of metal $B$ is $8 \text{ g/cm}^3$.

If the mean density of the resulting alloy is $6 \text{ g/cm}^3$, what percentage of the total volume of the alloy corresponds to metal $B$? (Note that the mean density of an alloy behaves like the weighted mean of the densities of its components with respect to their volume fractions).

Solve

Grouped Data

Sometimes data come in intervals (classes), as in a histogram, and the individual values are lost. We pretend every value in a class equals the class's midpoint. The interval $[a, b)$ includes $a$ but not $b$, and its midpoint is $\frac{a + b}{2}$.

Here are the daily minutes of streaming for $30$ students.

Histogram of streaming minutes for 30 students: classes 0 to 30, 30 to 60, 60 to 90, and 90 to 120 have frequencies 4, 9, 12, and 5. Dots mark each class midpoint. 49125 0306090120 minutes per day (dots mark the class midpoints)

When two frequencies are missing, use two equations: one for the total count and one for the mean.

Practice★★☆Not started
In a study on water consumption in a community, the monthly usage in cubic feet ($m^3$) of several homes has been recorded, grouped into the following intervals:…

In a study on water consumption in a community, the monthly usage in cubic feet ($m^3$) of several homes has been recorded, grouped into the following intervals:

  • $[0, 10)$: $12$ homes

  • $[10, 20)$: $25$ homes

  • $[20, 30)$: $18$ homes

  • $[30, 40)$: $5$ homes

Calculate the mean water consumption and state which is the modal class.

Solve
Practice★★☆Not started
The following histogram represents the time (in minutes) that a group of people spend playing sports per day. Calculate the mean time spent playing sports from the class…

The following histogram represents the time (in minutes) that a group of people spend playing sports per day.

Minutes People 0 5 10 15 20 0 20 40 60 80

Calculate the mean time spent playing sports from the class midpoints extracted from the chart.

Solve
Practice★★★Not started
In a medical center, the cholesterol level of $50$ patients has been recorded. The arithmetic mean of the distribution is $194 \text{ mg/dL}$. In the table, two…

In a medical center, the cholesterol level of $50$ patients has been recorded. The arithmetic mean of the distribution is $194 \text{ mg/dL}$. In the table, two frequencies, $f_1$ and $f_2$, have been accidentally erased.

  • $[160, 180)$: $10$ patients

  • $[180, 200)$: $f_1$ patients

  • $[200, 220)$: $f_2$ patients

  • $[220, 240)$: $8$ patients

Set up and solve a system of equations to find the absolute frequencies $f_1$ and $f_2$.

Solve

Median of Grouped Data and the Cumulative Graph

For grouped data you can't pick out the middle value, but you can find the class that contains it and then estimate. Make a column of cumulative frequencies (running totals) and find the first class whose total reaches $\frac{N}{2}$.

A cumulative frequency graph (also called an ogive) plots the running totals above the class boundaries and joins the points with segments. To find the median, start at height $\frac{N}{2}$ on the vertical axis, go across to the graph, and then down to the horizontal axis. This is exactly the interpolation above.

Cumulative frequency graph for 50 commute times. The graph rises from 0 at 0 minutes to 50 at 40 minutes. A dashed line from height 25 meets the graph at about 22.5 minutes. 2550 010203040 median ≈ 22.5

The slope of each segment is $\frac{f}{w}$, so the steepest segment belongs to the class with the most values. That is the modal class (when the classes have equal widths). Here the steepest segment is $[20, 30)$, which has the most workers.

Practice★★☆Not started
The weight in pounds of a group of $40$ packages in a post office has been measured, obtaining the following distribution: $[0, 5)$: $6$ packages $[5, 10)$: $14$…

The weight in pounds of a group of $40$ packages in a post office has been measured, obtaining the following distribution:

  • $[0, 5)$: $6$ packages

  • $[5, 10)$: $14$ packages

  • $[10, 15)$: $12$ packages

  • $[15, 20)$: $8$ packages

Find the interval where the median is located and estimate its exact value using the linear interpolation formula.

Solve
Practice★★★Not started
The following cumulative frequency polygon (ogive) shows the distribution of the distances obtained by a group of $100$ athletes in the long jump event. From the graph,…

The following cumulative frequency polygon (ogive) shows the distribution of the distances obtained by a group of $100$ athletes in the long jump event.

Distance (ft) Cumul. Frequency 0 20 40 60 80 100 4.0 4.5 5.0 5.5 6.0 6.5 7.0

From the graph, estimate the value of the median. If the data were grouped in a frequency table with the intervals of the horizontal axis, what would be the modal class? Justify your answers based on the gradients of the graph.

Solve

What Happens to the Mean When the Data Change?

Suppose a teacher adds $5$ points to every score, or a store raises all prices by $10\%$. How do the center measures change?

Two number lines. Top: five scores 60, 70, 75, 80, 85 with mean 74. Bottom: the same scores shifted up by 5, giving 65, 75, 80, 85, 90 with mean 79. before after (+5) mean 74 mean 79 5075100

In words: adding $b$ to everything shifts the center by $b$. Multiplying everything by $a$ multiplies the center by $a$.

Practice★☆☆Not started
The mean height of a basketball team of $10$ players is $192 \text{ cm}$. If all the players decide to wear a special model of sneakers that increases their height by…

The mean height of a basketball team of $10$ players is $192 \text{ cm}$.

If all the players decide to wear a special model of sneakers that increases their height by $4 \text{ cm}$, what will be the new mean height of the team? Will the mode change if there was a more frequent height?

Solve
Practice★★★Not started
Let $X$ be a statistical variable with mean $\bar{x} = 15$. A new variable $Y$ is defined by the linear transformation $y_i = 3x_i - 4$. Prove algebraically, applying…

Let $X$ be a statistical variable with mean $\bar{x} = 15$. A new variable $Y$ is defined by the linear transformation $y_i = 3x_i - 4$.

Prove algebraically, applying the properties of summation and the arithmetic mean, that the mean of the new variable is $\bar{y} = 3\bar{x} - 4$, and calculate its numerical value.

Solve

Putting It All Together: Reasoning Problems

The hardest problems give you clues about the mean, median, mode, and range, or tell you how adding a value changes the mean. The plan is always the same: turn every clue into an equation or an inequality.

Clue → math

  • Mean $= m$ for $N$ values: the sum is $m \cdot N$.

  • Median of five ordered values $a \le b \le c \le d \le e$: it is $c$.

  • Range: $e - a$.

  • Adding a new value $D$: new sum $=$ old sum $+\, D$ and new count $= N + 1$.

Five ordered boxes labeled a, b, c, d, e. The middle box c is the median, and the span from a to e is the range. a + b + c + d + e = 5 × mean abcde median range = e − a
Practice★★★Not started
The mean of a set of $n$ data values is $\bar{x}$. If we add a new data value of $D$, the new mean increases by $2$ units. If instead of $D$, we add a data value of…

The mean of a set of $n$ data values is $\bar{x}$. If we add a new data value of $D$, the new mean increases by $2$ units. If instead of $D$, we add a data value of $D - 15$, the new mean decreases by $1$ unit with respect to the original mean $\bar{x}$.

Set up the corresponding equations and calculate the original number of data values $n$.

Solve
Practice★★★Not started
There is a set of five positive integers ordered from smallest to largest: $a, b, c, d, e$. It is known that they simultaneously satisfy the following conditions: The…

There is a set of five positive integers ordered from smallest to largest: $a, b, c, d, e$.

It is known that they simultaneously satisfy the following conditions:

  • The mode is $4$.

  • The median is $5$.

  • The arithmetic mean is $6$.

  • The range (difference between the largest and the smallest) is $7$.

Determine the exact value of the five numbers, reasoning your answer step by step.

Solve

Summary

See all the exercises in this section