Mean, median, and mode all try to answer the same basic question — "what's a typical value in this dataset?" — but they answer it in genuinely different ways, and which one you should trust depends entirely on the shape of your data.

Why Mean and Median Diverge

The mean (the sum of all values divided by the count) and the median (the middle value once everything is sorted) agree closely when data is roughly symmetric. They diverge sharply when data is skewed by a few extreme values — a handful of very large numbers pulls the mean upward with them, since every value contributes to the total, while the median barely moves because it only cares about which value sits in the middle position. This is why income statistics are almost always reported as medians: a small number of very high earners would drag a mean income figure up to a number that doesn't represent a typical person's earnings at all.

Population vs. Sample Standard Deviation

Population standard deviation divides the sum of squared differences from the mean by the total count (n), and it's the correct formula when your numbers represent the entire group you care about — every student in a class, every day in a specific month. Sample standard deviation divides by n−1 instead, a correction (known as Bessel's correction) that compensates for the fact that a sample's own mean tends to underestimate the true variability of the larger population it was drawn from. If your numbers are a subset standing in for a bigger group, sample standard deviation is the one to use.

Tip: When in doubt about which standard deviation to use, ask whether you could theoretically collect more data of the same kind. If yes, you're almost certainly working with a sample, not a population.

When There's No Mode, or Several

Mode is the value that appears most frequently, but real datasets don't always cooperate with having exactly one. If two or more values are tied for the highest frequency, all of them count as modes at once — this is called a multimodal dataset, and it's a legitimate result, not an error. If every single value in the dataset appears exactly once, there's no meaningful "most frequent" value at all, and the honest answer is that there is no mode, rather than arbitrarily picking one.

Why Variance Squares the Differences

Variance is calculated by squaring each value's difference from the mean before averaging, rather than just averaging the raw differences. Squaring solves two problems at once: it makes every difference positive (so values above and below the mean don't cancel each other out to zero), and it weights larger deviations more heavily than smaller ones, since squaring amplifies bigger numbers disproportionately. Standard deviation is then just the square root of variance, which brings the units back to match the original data instead of staying in "squared" units.

Calculating It Instantly

Paste in a list of numbers and get the mean, median, mode, range, and both population and sample variance and standard deviation at once with our free Statistics Calculator.

FAQ

What's the difference between population and sample standard deviation? Population standard deviation divides the sum of squared differences from the mean by the total count (n), and is correct when your numbers are the entire group you care about. Sample standard deviation divides by n−1 instead, which corrects for the bias that comes from estimating a larger population from just a sample of it — use this one if your numbers are a sample drawn from a bigger group.

What if there's more than one mode, or no mode at all? If two or more values are tied for the highest frequency, all of them are shown as the mode (a "multimodal" dataset). If every value appears exactly once, there is no meaningful mode and the result is "No mode."

How is the median calculated for an even number of values? The numbers are sorted, and for an even count the median is the average of the two middle values; for an odd count it's simply the single middle value after sorting.

Why does one big outlier move the mean so much more than the median? The mean is calculated by summing every value and dividing by the count, so a single extreme value pulls the total — and therefore the average — directly toward it. The median only cares about which value sits in the middle position after sorting, so an outlier can only shift the median if it's extreme enough to change which value that is, which usually takes far more than one unusual data point.

Have a list of numbers to analyze? Try the free Statistics Calculator — instant results, no sign-up.