Statistics
Mean, Median and Mode Explained with Examples
Math Solver Free Team
Mean, median and mode are the three numbers every student meets first in statistics — and the three most often confused. They all describe the "centre" of a dataset, but each measures it differently. This guide works all three on a single dataset, so you can see where they agree and where they split.
\nThe dataset we will use throughout is ten quiz scores out of 50: 4, 7, 7, 8, 9, 10, 10, 10, 12, 45. Nine ordinary scores and one very high one. The mean is 12.2, the median is 9.5, and the mode is 10.
\nHow to calculate the mean
\nThe mean is the ordinary average: add all the values, then divide by how many there are (x̄ = Σx ÷ n).
\n**Worked example.** 4 + 7 + 7 + 8 + 9 + 10 + 10 + 10 + 12 + 45 = 122, and there are 10 scores, so the mean is 122 ÷ 10 = **12.2**. Nine of the ten scores are 12 or below, yet the mean is 12.2. The single 45 pulled the total so far that the mean no longer looks like any score a typical student got: the mean uses every value, so every value moves it.
\nThe mean suits roughly symmetric data with no wild outliers — test scores in a normal class, heights, repeated measurements. It is also the only one of the three that supports further arithmetic: you can combine means or work backwards to a missing value. Our standard deviation guide builds on the mean, and the average calculator checks your arithmetic.
\nHow to find the median
\nThe median is the middle value when the data are in order — it does not care how big the biggest value is, only where the middle falls.
\n**Worked example (even count).** Our scores are already ordered: 4, 7, 7, 8, 9, 10, 10, 10, 12, 45. With 10 values there is no single middle one, so average the two middle values — the 5th and 6th, 9 and 10: the median is (9 + 10) ÷ 2 = **9.5**. The 45 barely matters: whether it were 45 or 450, the median would still be 9.5.
\n**Odd count.** For 3, 5, 8, 11, 14 the middle one is the 3rd: the median is **8**. The position rule is (n + 1) ÷ 2.
\nThe median suits skewed data — incomes, house prices, waiting times — where a few huge values would drag the mean away from the typical case. A headline's "typical" salary or house price is almost always a median.
\nHow to find the mode
\nThe mode is the value that occurs most often — the only one of the three that also works on categories, such as favourite colours or the busiest day of the week.
\n**Worked example.** Count the repeats: 7 appears twice, 10 three times, every other score once. The mode is **10**. The figure above marks all three on one number line: the mode on the tallest pile of scores, the median splitting the list in half, the mean off to the right, pulled by the outlier.
\n**No mode:** 2, 4, 6, 8 has no repeats, so it has **no mode**. **Two modes (bimodal):** 3, 3, 5, 5, 7 ties two values at the highest frequency, so its modes are **3 and 5**.
\nThe mode suits the question "what is most common?" — the most popular size, the most frequent score. It needs no ordering and no arithmetic, so it is the fastest of the three to find.
\nMean, median and mode compared
\nOne dataset, three answers:
\n| Measure | What it does | Best when | Weak when |
|---|---|---|---|
| Mean | Adds all values, divides by the count | Symmetric data, no outliers | Outliers or skew drag it away |
| Median | Takes the middle value of the ordered list | Data are skewed or contain outliers | Ignores most values |
| Mode | Takes the most frequent value | Asking what is most common | May not exist |
In a right-skewed dataset — a long tail of high values, like incomes — the mean sits right of the median, which sits right of the mode. In a left-skewed dataset the order reverses; in a symmetric dataset all three coincide. That ordering, shown above, is a favourite exam question.
\nWhen each measure misleads
\n**The mean and the outlier.** Seven people earn, in thousands, 30, 32, 35, 38, 40, 42 and 250. The mean is 467 ÷ 7 ≈ **66.7 thousand**, yet six of the seven earn less than half of that; the median, **38 thousand**, describes the group far better. Whenever one value is wildly different from the rest, distrust the mean.
\n**The median and the hidden shape.** The median tells you nothing about the spread: two classes can both have a median of 70 while one clusters tightly around 70 and the other splits between 40s and 90s. For consistency you need a measure of spread — see our standard deviation guide.
\n**The mode and the small sample.** In a class of six with scores 5, 6, 7, 8, 9, 9, the mode is 9 — but it rests on just two students, so with small samples the mode is fragile. Treat it as a hint about popularity, not a summary. Khan Academy's mean, median, and mode review covers the same definitions with short videos.
\nGrouped data: mean, median and mode from a frequency table
\nTwenty-seven players scored these numbers of goals in a season:
\n| Goals | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Players | 4 | 7 | 9 | 5 | 2 |
**Mean.** Multiply each value by its frequency and add: 0×4 + 1×7 + 2×9 + 3×5 + 4×2 = 48. Divide by 27 players: 48 ÷ 27 ≈ **1.78 goals per player**.
\n**Median.** The middle position of 27 players is the 14th: the 0s fill positions 1–4, the 1s 5–11, the 2s 12–20 — so the median is **2**.
\n**Mode.** The highest frequency is 9 players, who scored 2 goals — the mode is **2**. When data are grouped into classes, the highest-frequency class is the **modal class**, and the mean is estimated from class midpoints. For probability work on the same summaries, see our what is probability guide.
\nCommon mistakes to avoid
\n- **Forgetting to order the data before finding the median.** The median of 9, 4, 10 is not 4 — order first and the median is 9.
- **Averaging the wrong pair for an even count.** With 10 values, the middle pair is the 5th and 6th.
- **Reporting the frequency as the mode.** If 10 occurs three times, the mode is 10, not 3.
- **Using the mean on skewed data without saying so.** A mean salary of 67 thousand here is arithmetically correct and practically misleading.
Practice: try these, then check
\n(1) 6, 8, 8, 9, 12, 15, 15, 15, 20. (2) 2, 3, 5, 5, 7, 11, 13, 40. (3) 4, 9, 12, 15, 21. Find the mean, median and mode of each. Answers: (1) mean 12, median 12, mode 15 — sum 108 over 9 values; 15 occurs three times. (2) mean 10.75, median 6, mode 5 — sum 86 over 8 values; the 40 drags the mean far above the median. (3) mean 12.2, median 12, no mode. If any answer differs, recheck the ordering first. Check instantly with the average calculator.
\nPeople also ask
\nWhat is the difference between mean, median and mode?
\nThe mean is the sum of all values divided by how many there are. The median is the middle ordered value. The mode is the value that occurs most often.
\nWhen should I use the median instead of the mean?
\nUse the median when the data contain outliers or are strongly skewed, such as incomes or house prices. The median ignores extreme values.
\nHow do I find the median with an even number of values?
\nOrder the values and average the two middle ones: for 2, 4, 6, 7, 8, 9 they are 6 and 7, so the median is 6.5.
\nWhy is the mean misleading for salaries?
\nBecause one very high salary pulls the mean far above what most people earn. For earnings of 30, 32, 35, 38, 40, 42 and 250 thousand, the mean is about 67 thousand while the median is 38 thousand.
\nHow do I find the mean, median and mode of grouped data?
\nUse the frequency table. The mean is value times frequency, summed, divided by the total frequency. The median is the middle-position value. The mode is the value — or class — with the highest frequency.
\nMean, median and mode are three lenses on the same dataset: the mean for symmetric data, the median when outliers or skew would hijack the average, the mode for what happens most.