Mean, Median and Mode Guide
Mean, median and mode answer different questions about a data set. Looking at all three helps show whether repeated values or skew are changing the picture.
Method
- List the numeric observations.
- Add the values and divide by n for the mean.
- Sort the data and take the middle value or average the two middle values for the median.
- Count repeated values to identify any mode or tied modes.
Worked example
For 2, 4, 4, 7, 8 the mean is 5, median is 4 and mode is 4.
For 1, 2, 3 there is no repeated mode under Lynara’s rule.
Notes
- The mean can be pulled by extreme values.
- The median depends on sorted position, not frequency.
- A data set can be multimodal when several values tie for the highest repeated frequency.
One small dataset shows why the summary statistic matters
Consider five observed values: 2, 3, 3, 8 and 9. Their sum is 25, so the mean is 5. The sorted middle value is 3, so the median is 3, and the most frequent value is also 3, making 3 the mode. All three answers are correct but describe different features of the same sample.
Replace the final 9 with an unusually large 50. The mean becomes (2 + 3 + 3 + 8 + 50) ÷ 5 = 13.2 while the median and mode stay 3. Reporting only the mean would now hide the experience of most observations; reporting only the median would hide the extreme magnitude.
Check for missing values, mixed measurement units and non-numeric entries before calculating. For survey categories, a mode may be meaningful while a numerical mean is not; for strongly skewed amounts, accompany a center statistic with an indication of spread.
Choose the measure of center that matches the data question
The mean uses every numeric value and is sensitive to extreme observations. The median is the middle ordered value and is more resistant to outliers. The mode identifies the most frequent value and can be useful even for categories where a numerical mean would make no sense.
No single measure is always best. Income distributions, for example, are often skewed enough that the median communicates a typical position more clearly than the mean, while physical measurements from a symmetric process may be well summarized by the mean.
A dataset can have no mode or multiple modes
If every value occurs equally often, calling one value the mode would be arbitrary. If several values tie for the highest frequency, the dataset can be multimodal. Software should show that structure rather than forcing one answer.
Pair a measure of center with a measure of spread or a visual distribution when the shape matters. Two datasets can share the same mean and median while having very different variability.
Editorial review and limitations
Continue with the related tools
Use the linked tools for your own inputs and scenarios.
- Standard Deviation Calculator — Calculate population and sample variance and standard deviation from a numeric data set.
- Five Number Summary & Outlier Calculator — Calculate min, Q1, median, Q3, max, IQR, 1.5×IQR fences, box-plot whiskers and flagged outliers from numeric data.
- Z-Score & Normal Percentile Calculator — Calculate a z-score from value, mean and standard deviation, plus normal-model percentile and right-tail probability.