Concept · 6 min read

Mean vs median: which average should you use?

Two ways to describe a “typical” value, and why choosing the wrong one can make an honest number misleading.

Advertisement
Updated November 2026 · Plain English

"Average" usually means the mean: add everything up and divide by the count. But the mean is only one way to describe the centre of a dataset, and for many real-world measurements it is a misleading one. This guide explains when the mean, the median, and a few less familiar alternatives are the right choice, how the choice connects to which statistical test you run, and how to summarise data honestly in a paper or report.

Two definitions

For symmetric data the two are nearly identical. They part ways when the data are skewed or contain extreme values.

An example: salaries

Eight people in a small company earn (in thousands per year):

30, 32, 35, 38, 40, 42, 45, 250

Seven of the eight people earn less than the mean. The single high salary (the founder) drags the mean far above anything typical. If a job advert said "average salary 64k", it would be technically correct and practically misleading. The median, 39k, describes what a typical employee earns. Remove the founder and the mean drops to 37.4k while the median barely changes (to 38k). That stability is called robustness.

When to use which

SituationBetter summaryWhy
Roughly symmetric data, no extreme valuesMean (± SD)Uses all the information; matches t-tests and ANOVA.
Skewed data (incomes, reaction times, hospital stays, concentrations)Median (IQR)Represents the typical value; not dragged by the tail.
Genuine outliers presentMedian (IQR)One value cannot move it much. See handling outliers.
Ordinal scales (ratings, pain scores, grades)MedianThe distance between "2" and "3" may not equal the distance between "4" and "5", so adding them up is questionable.
You care about totals (total cost, total rainfall, total yield)MeanMean × n = total. The median cannot tell you the budget.
Multiplicative processes (growth rates, fold changes, ratios)Geometric meanAverages on the log scale, so a doubling and a halving cancel out.

The last two rows are a reminder that the median is not always "better". If a hospital wants to budget for patient stays, the mean length of stay is exactly what it needs, long tail included.

Two useful alternatives

Trimmed mean

Discard a fixed percentage of the smallest and largest values (often 10% or 20% from each end) and take the mean of the rest. It is a compromise: more robust than the mean, but uses more of the data than the median. Olympic judging uses the same idea by dropping the highest and lowest scores.

Geometric mean

Multiply the n values together and take the n-th root, or equivalently, average the logarithms and transform back. It is the natural centre for right-skewed, positive data that vary by multiplication, such as bacterial counts, antibody titres or investment returns. Running a t-test on log-transformed data compares geometric means. See how to check normality for when a log transformation helps.

A quick skewness check

Comparing the mean with the median is a simple diagnostic:

Then confirm with a graph, because the summary numbers cannot show two peaks or a single wild value. A histogram or a box plot with individual points shows the whole picture.

Match the summary to the test

The summary statistic you report should match the analysis you ran, otherwise readers get a confusing message:

StatFlo follows this convention automatically: the results table shows means with your chosen error measure after a t-test or ANOVA, and medians with IQR after a Mann-Whitney U or Kruskal-Wallis test.

Graphs: bars or boxes?

A bar graph shows a mean. For skewed data, a bar's height can sit above most of the actual values, just like the 64k salary. A box plot shows the median and quartiles directly, and with individual points overlaid, nothing is hidden. As a rule of thumb: bar graphs for roughly symmetric data with means; box or violin plots for skewed data, small samples, or whenever you report medians.

Summary

Use the mean for symmetric data and when totals matter; the median for skewed data, outliers and ordinal scales; the geometric mean for multiplicative data. Report the summary that matches your test, and always show the distribution in a graph.

Means or medians, StatFlo reports the right one.

Run a test and the results table automatically shows the summary that matches it.

Open StatFlo