Mean, Median, and the Five Statistics That Describe Any Dataset
A practical guide to descriptive statistics — mean, median, mode, range, variance, and standard deviation — with a worked example and a note on when the median wins.
Mean, Median, and the Five Statistics That Describe Any Dataset
Hand someone a column of numbers and ask "what does this say?" and most people freeze. A list of forty exam scores or sixty reaction times is just a wall of digits until you reduce it to a handful of summary numbers. That reduction is the whole job of descriptive statistics: turn a dataset into five or six values you can hold in your head and reason about. This post walks through the core ones — mean, median, mode, range, variance, and standard deviation — and shows where each one earns its keep.
Center: where the data sits
Two numbers answer "where is the middle?" and they answer it differently.
The mean is the average: add every value and divide by how many you have. It uses all the data, which is its strength and its weakness. Every number tugs on the mean, so a single huge value drags it upward.
The median is the middle value: sort the numbers and pick the one in the center (average the two middle ones if you have an even count). The median only cares about position, not magnitude, so it doesn't notice whether the largest value is 15 or 15,000. That property has a name worth remembering: the median resists outliers.
The mode is the value that appears most often. It's the only center statistic that works on non-numeric categories ("most common shirt size"), and on a clean continuous dataset where every value is unique, the honest answer is "no mode" — not a bug, just the truth.
Spread: how scattered the data is
Knowing the center tells you nothing about how tightly the data clusters. Two classes can both average 75 on a test, but one has everyone between 70 and 80 while the other has half the room at 95 and half at 55. Spread statistics separate those two stories.
Range is the simplest: max minus min. It's a one-line sanity check, but because it depends only on the two extreme values, one typo can blow it up.
Variance measures the average squared distance from the mean. Squaring keeps negative and positive deviations from canceling and punishes far-flung values harder than near ones. The catch is units — if your data is in centimeters, the variance is in centimeters squared, which nobody can picture.
Standard deviation fixes that by taking the square root of the variance, landing you back in the original units. A standard deviation of 4 points on a 100-point test means "typical scores fall about 4 points from the average." This is the spread number you'll actually quote in a report.
One fork in the road: divide by n for a population standard deviation (σ), or by n−1 for a sample standard deviation (s). Use s when your numbers are a sample you're generalizing from, which is almost always the case in applied work — the n−1 correction makes the estimate unbiased. The statistics basic calculator prints both side by side so you never have to guess which one the assignment wanted.
When the median beats the mean
Here's the decision that trips up the most people. The mean is the default, and for symmetric, outlier-free data it's the right call — it uses every value and feeds cleanly into later tests. But two situations flip the choice to the median.
The first is skew. Income, house prices, and wait times all have a long right tail: most values cluster low, a few stretch far high. The mean chases that tail upward and lands somewhere most of your data isn't. That's exactly why governments report median household income, not mean — the median tracks the typical household, while the mean gets yanked by a handful of billionaires.
The second is outliers. A single fat-fingered data entry — 1500 where you meant 15.0 — barely moves the median but can wreck the mean. If you're not sure whether an extreme value is real or a mistake, the median keeps describing the bulk of your data while you investigate.
A quick test: compute both. If the mean and median are close, the data is roughly symmetric and either works. If they diverge noticeably, the gap is the signal — the data is skewed, and the median is the safer summary of "typical."
A worked example
Take a small, deliberately lopsided dataset:
4, 4, 5, 6, 6, 7, 8, 9, 42
Nine values. Walk the statistics:
- Mean: the sum is 91, divided by 9 = 10.1. Notice that only one of the nine values (the 42) is actually above the mean — that's the outlier doing its work.
- Median: sorted, the middle (5th) value is 6. That's a far better description of where the data sits; eight of nine values are clustered between 4 and 9.
- Mode: both 4 and 6 appear twice, so the dataset is bimodal at 4 and 6.
- Range: 42 − 4 = 38, almost entirely an artifact of the single large value.
- Standard deviation (sample, s): the deviations from the mean squared and summed give a sum of squares around 1156; divide by n−1 = 8 and take the root for s ≈ 12.0.
The mean (10.1) and median (6) sit four units apart on data that mostly lives near 6 — a textbook case where the median is the honest center. And the standard deviation of 12 is larger than seven of the nine values themselves, which immediately tells you the spread is dominated by one extreme point, not by genuine variability across the set.
When I'm sanity-checking a dataset, this mean-versus-median gap is the first thing I look at. If they're glued together I trust the mean and move on. If they've drifted apart I stop and find the value causing it, because that single number usually explains the entire shape of the distribution faster than any chart does. It's saved me from reporting a "typical" figure that no real data point sat anywhere near more than once.
Putting it to work
You rarely need to hand-crank these. Paste your numbers into the statistics basic calculator and read the mean, median, mode, range, variance, and both standard deviations off one card, with a histogram and box plot that make skew and outliers visible at a glance. For the square roots, exponents, and logarithms behind these formulas — or to double-check a variance calculation by hand — the scientific calculator covers the arithmetic.
The skill that matters isn't computing these numbers; software does that in milliseconds. It's reading them together: a mean far from the median means skew, a standard deviation larger than your values means an outlier, a range that dwarfs your spread means one extreme point is running the show. Six numbers, read as a set, tell you the story of a dataset before you plot a single point.
Made by Toolora · Updated 2026-06-13