A Quick Definitions Overview

MeasureWhat It IsBest Used When...
MeanSum of all values divided by countData is fairly evenly distributed, no extreme outliers
MedianMiddle value when sortedThere are extreme values that would skew the mean
ModeMost frequently occurring valueYou want the most common category or value

How to Calculate the Mean

Add up all the values, then divide by how many there are. That's the arithmetic mean — what most people mean when they just say "the average."

Formula: Mean = Sum of all values ÷ Number of values

Test scores: 72, 85, 91, 68, 88, 76
Sum = 72 + 85 + 91 + 68 + 88 + 76 = 480
Count = 6
Mean = 480 ÷ 6 = 80

The mean is sensitive to extreme values. If one student scored 20 instead of 72, the mean drops to around 71 — a big shift because of one outlier. That's its main weakness.

How to Calculate the Median

Sort the values from lowest to highest. The median is the middle one. If there's an even number of values, take the two middle ones and average them.

Odd count example:
Values: 3, 7, 8, 12, 15
Sorted: 3, 7, 8, 12, 15
Median = 8

Even count example:
Values: 4, 9, 13, 20, 25, 31
Middle two: 13 and 20
Median = (13 + 20) ÷ 2 = 16.5

Median is the one to use when data is skewed. Salaries are a classic example — a few very high earners can pull the mean way up, making it look like everyone earns more than they really do. The median salary is usually a more honest number for this reason.

How to Calculate the Mode

Just find which value appears most often. There's no formula — you're looking for frequency.

Dataset: 5, 8, 3, 5, 9, 2, 5, 7, 8
5 appears 3 times (most frequent)
Mode = 5

A dataset can have more than one mode (bimodal if two values tie, multimodal for more). Or it can have no mode if every value appears only once.

Mode is particularly useful for categorical data. If you're looking at shoe sizes sold in a store, you can't take a "mean shoe size" and use it to stock inventory — but the most commonly sold size (mode) tells you exactly what to order more of.

Real Dataset — All Three Together

Let's use the same dataset and compare what each measure tells us.

Monthly household income (8 households, in $): 2400, 2800, 3100, 3100, 3600, 4200, 4800, 18000

Sorted: 2400, 2800, 3100, 3100, 3600, 4200, 4800, 18000

Mean = (2400+2800+3100+3100+3600+4200+4800+18000) ÷ 8
= 42000 ÷ 8 = $5,250

Median = (3100 + 3600) ÷ 2 = $3,350

Mode = $3,100 (appears twice)

See how different those are? That one household earning $18,000 dragged the mean up to $5,250 — a number that doesn't really represent what most households earn. The median ($3,350) and mode ($3,100) are much closer to reality for most people in that group. This is exactly why income statistics use median income rather than mean.

When Each Measure Works Best

SituationUse ThisWhy
Test scores in a classMeanScores tend to cluster around a central value
House prices in a cityMedianA few luxury properties would skew the mean
Most popular T-shirt sizeModeYou want the most common, not an average
Average daily temperatureMeanTemperature is continuous and evenly distributed
Salary comparisonsMedianExecutive pay creates outliers
Most ordered pizza toppingModeCategorical data — mean is meaningless

Range — The Fourth Measure Worth Knowing

Range isn't technically an average, but it often gets mentioned alongside these three. It's just the difference between the highest and lowest values, and it tells you how spread out the data is.

Range = Maximum − Minimum

Values: 12, 15, 22, 31, 45
Range = 45 − 12 = 33

A large range means the data is widely spread. A small range means it's bunched together. Knowing the range alongside the mean gives you a much better picture of the dataset than the mean alone.

Using the Calculator

The SolveCalc statistics calculator will calculate mean, median, mode, and range (plus standard deviation) for any dataset you enter. Just type in the numbers separated by commas and it handles the rest.

Conclusion

Mean, median, and mode aren't competing — they each describe something different. Mean is the balancing point of a dataset, median is the middle split, and mode is the most popular value. For most everyday calculations with normally distributed data, the mean is fine. But when you're dealing with income, prices, ages, or anything with outliers, the median is usually more honest. Mode is your friend when you care about frequency rather than magnitude. Understanding all three makes you a much more critical reader of statistics — which, let's be honest, is a skill worth having.