Statisticsā± 5 min read

Mean, Median & Mode

x̄ = (Σx) / n

What is the Mean, Median & Mode?

Mean, median, and mode are the three standard ways to describe a data set's "center" or typical value, and each responds differently to unusual data. The mean (xĢ„ = Ī£x/n) is the sum of all values divided by the count — it's the most common measure, but it's sensitive to extreme outliers.

The median is the middle value once the data is sorted — resistant to outliers, since it only depends on position, not magnitude. For an odd number of values, it's the single middle one; for an even number, it's the average of the two middle values. The mode is simply the value that appears most often — a data set can have one mode, several, or none at all.

What Each Variable Means

x̄
Mean (average)The sum of all values divided by how many values there are.
Ī£x
Sum of valuesThe total of every value in the data set added together.
n
CountThe number of values in the data set.

When to Use It

  • Mean — best for roughly symmetric data without extreme outliers
  • Median — best when data has outliers that would skew the mean, like income or house prices
  • Mode — best for categorical data where averaging doesn't make sense, like a favorite color or shoe size
Advertisement

Step-by-Step Example

Problem: Find the mean, median, and mode of {4, 7, 2, 9, 3, 4}.

1
Find the mean

Add all values and divide by the count.

xĢ„ = (4+7+2+9+3+4)/6 = 29/6 ā‰ˆ 4.83
2
Sort the data to find the median

Arrange from smallest to largest.

{2, 3, 4, 4, 7, 9}
3
Find the middle value(s)

With 6 values (even), average the two middle ones.

Median = (4 + 4)/2 = 4
4
Find the mode

Identify the most frequent value.

4 appears twice — Mode = 4
āœ“
Answer: Mean ā‰ˆ 4.83, Median = 4, Mode = 4

Common Mistakes

  • Mistake: Forgetting to sort the data before finding the median.

    Fix: The median is defined by position in sorted order — finding the "middle" of unsorted data gives a meaningless result.

  • Mistake: Averaging the two middle values only when the count is odd.

    Fix: It's the reverse: average the two middle values when the count is even. With an odd count, there's a single true middle value and no averaging is needed.

Practice Questions

  1. Find the mean of {10, 15, 20, 25, 30}.

  2. Find the median of {8, 3, 5, 12, 1}.

    Hint: Sort first: {1, 3, 5, 8, 12}.

Frequently Asked Questions

Can a data set have no mode?

Yes — if every value appears exactly once (or all values appear the same number of times), there's no single most-frequent value, and the data set is described as having no mode.

Which measure should I use for a data set with an outlier?

The median — it only depends on position in sorted order, so a single extreme value doesn't drag it far the way it would drag the mean.