Math Solver Free

Statistics

Mean, Median and Mode Explained with Examples

Math Solver Free Team

Quiz scores on a number line showing the mean, median and mode of one dataset
Number line of ten quiz scores with markers showing mean 12.2, median 9.5 and mode 10

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.

\n

The 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.

\n

How to calculate the mean

\n

The 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.

\n

The 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.

\n

How to find the median

\n

The 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.

\n

The 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.

\n

How to find the mode

\n

The 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**.

\n

The 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.

\n

Mean, median and mode compared

\n

One dataset, three answers:

\n
MeasureWhat it doesBest whenWeak when
MeanAdds all values, divides by the countSymmetric data, no outliersOutliers or skew drag it away
MedianTakes the middle value of the ordered listData are skewed or contain outliersIgnores most values
ModeTakes the most frequent valueAsking what is most commonMay not exist
\n

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.

\n

When 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.

\n

Grouped data: mean, median and mode from a frequency table

\n

Twenty-seven players scored these numbers of goals in a season:

\n
Goals01234
Players47952
\n

**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.

\n

Common 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.
\n

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.

\n
Skewed distributions showing the mean pulled toward the tail while the median stays central

People also ask

\n

What is the difference between mean, median and mode?

\n

The 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.

\n

When should I use the median instead of the mean?

\n

Use the median when the data contain outliers or are strongly skewed, such as incomes or house prices. The median ignores extreme values.

\n

How do I find the median with an even number of values?

\n

Order 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.

\n

Why is the mean misleading for salaries?

\n

Because 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.

\n

How do I find the mean, median and mode of grouped data?

\n

Use 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.

\n

Mean, 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.

About the Math Solver Team

The Math Solver Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team