Learn how to calculate mean, median, and mode with step-by-step examples. Covers when to use each measure, the effect of outliers, and how they differ in skewed data distributions.
Mean, median, and mode are three ways to describe the "center" of a dataset โ what mathematicians call measures of central tendency. They often give different answers, and knowing which one is appropriate for a given situation is one of the most practical statistical skills you can develop. Choosing the wrong measure โ as often happens in news reporting and advertising โ can give a deeply misleading picture of the data.
Mean = Sum of all values รท Number of values
The mean is the most common "average" and what most people mean when they say "average."
Mean = (72 + 85 + 90 + 78 + 95) รท 5 = 420 รท 5 = 84
When values have different importance or frequency:
Weighted Mean = ฮฃ(value ร weight) รท ฮฃ(weights)
Example: Final grade where homework (weight 20%) = 88, midterm (30%) = 82, final (50%) = 90:
Weighted Mean = (88ร0.20 + 82ร0.30 + 90ร0.50) = 17.6 + 24.6 + 45 = 87.2
The median is the middle value when data is sorted in order. It is the value that splits the dataset into two equal halves.
Sort the data, take the middle value.
Scores: 72, 78, 85, 90, 95 โ Median = 85 (3rd of 5 values)
Sort the data, average the two middle values.
Values: 10, 20, 30, 40 โ Middle two: 20 and 30 โ Median = (20+30)/2 = 25
The mode is the value that appears most often. A dataset can have:
7 appears 3 times (more than any other) โ Mode = 7
Both 4 and 5 appear twice โ Mode = 4 and 5 (bimodal)
The most critical difference between mean and median is their sensitivity to outliers (extreme values).
$28,000, $31,000, $32,000, $35,000, $38,000, $41,000, $250,000
The $250,000 CEO salary pulls the mean up dramatically. "Average salary" of $65,000 is misleading when 6 of 7 employees earn $28,000โ$41,000. The median of $35,000 better represents the "typical" worker's pay.
This is exactly the difference between "mean household income" and "median household income" โ the US government reports both, but median income is the more useful measure of typical economic wellbeing because it's not distorted by the ultra-wealthy.
In a right-skewed distribution (long tail to the right โ like income, home prices, viral content views):
In a left-skewed distribution (long tail to the left):
In a symmetric (normal) distribution (bell curve):
| Measure | Use When | Avoid When |
|---|---|---|
| Mean | Data is symmetric; no extreme outliers; numerical further calculations needed (variance, SD) | Data has extreme outliers; skewed distributions |
| Median | Data has outliers; skewed distributions; income, prices, or time data | Rarely; good choice in most real-world scenarios |
| Mode | Categorical data; most common size/type/value; when "most popular" is the question | Continuous numerical data where no repeats occur |
Alongside central tendency, spread measures complete the picture:
Use our free Mean, Median, Mode Calculator — results appear as you type. No sign-up needed!
🚀 Open Mean, Median, Mode Calculator Free