Use the mean when your data are roughly symmetric and you need every value to count, especially for totals and further statistical modeling. Use the median when the data are skewed, contain outliers, or describe incomes, home prices, wait times, or any quantity where a few extreme values would drag an average away from the typical case. The mean is the balance point of a distribution; the median is its halfway marker. They coincide only in a perfectly symmetric distribution, and the gap between them is itself a diagnostic signal about skew.

The mechanism: why the two statistics diverge

The mean sums every observation and divides by the count. That arithmetic gives each value proportional influence, so a single observation moved from USD 50 to USD 5,000 shifts the mean substantially while leaving the median untouched. The median sorts the data and takes the middle rank, so it responds only to changes in rank order, not to the magnitude of extremes. This is why statisticians call the median resistant or robust and the mean sensitive.

The divergence has a mathematical signature. In a right-skewed distribution, the mean sits above the median because the long tail pulls the balance point toward high values. In a left-skewed distribution, the mean falls below the median. A widely used rough rule states that for moderately skewed unimodal distributions, the mean minus the median is approximately three times the mean minus the mode, though this approximation degrades badly in heavy-tailed data and should be treated as a heuristic, not a law.

There is a deeper reason the median behaves this way. The median minimizes the sum of absolute deviations from a central point, while the mean minimizes the sum of squared deviations. Squaring amplifies large distances, so the mean is dragged toward outliers by design. If your loss function penalizes large errors heavily, the mean is the right center; if you care about typical distance regardless of magnitude, the median is.

Plain language: the mean feels every value, the median only counts positions.

Quantified context: how large the gap gets

The gap between mean and median scales with skew, and in real datasets it can be enormous. US household income is the canonical example. Median household income has hovered near USD 80,000 in recent years while mean household income runs roughly USD 110,000 to USD 115,000, a gap of about 35 to 40 percent driven by the top few percent of earners. Reporting only the mean overstates what a typical household earns.

Home prices show the same pattern at the local level. In markets with a mix of starter homes and luxury properties, the mean sale price can exceed the median by 10 to 25 percent, and the gap widens during bidding frenzies when a handful of high-end sales close. A city where the median sale price is USD 400,000 might report a mean of USD 480,000.

Wait times and service metrics behave similarly. Emergency department length of stay is right-skewed because most visits resolve in two to four hours but a minority stretch past 12 hours. Median wait time describes the typical patient; mean wait time describes total resource consumption. Both are true, and they answer different questions.

Sample size matters too. The median is more stable in small samples when outliers are plausible, but it discards information, so its standard error is larger than the mean's in clean symmetric data. With a sample of 30 from a roughly normal distribution, the mean is the more efficient estimator. With a sample of 30 from a log-normal income distribution, the median tells you more about the typical case, though it estimates the population median, not the population mean.

Edge cases that break naive rules

Bimodal distributions defeat both statistics. If a test score distribution has one cluster at 40 and another at 85, the mean might land near 62 and the median near whichever cluster holds more observations. Neither number describes a real student. You need the mode or a full histogram.

Ordinal data and censored measurements need care. On a 1-to-5 satisfaction scale, the mean of 3.7 is mathematically computable but the median of 4 is often more interpretable, because the spacing between scale points is not guaranteed equal. For survival data where the top observation is "still alive at 24 months," the mean is undefined without modeling; the median survival time is standard.

Heavy tails create a specific hazard. In distributions with infinite variance, such as certain power laws, the sample mean does not converge reliably as sample size grows, and its standard error is meaningless. Financial returns and file sizes behave this way. The median remains well-defined.

The counterintuitive professional caveat: trimming is often better than switching. If outliers are genuine but you want a robust center, a 10 percent trimmed mean, which discards the top and bottom 5 percent and averages the rest, often beats both the raw mean and the median. It retains more information than the median while resisting extremes. Sports analytics and economic reporting increasingly use trimmed means for this reason.

A second caveat: skew is not always bad. If you are forecasting total tax revenue, you need the mean, because the total depends on the sum and the high earners genuinely contribute. Using the median would systematically understate revenue.

Comparison of central-tendency measures

Measure Sensitivity to outliers Uses all values Best for Weakness Typical use
Mean High Yes Symmetric data, totals, modeling Dragged by extremes Revenue, regression inputs
Median Low No (rank only) Skewed data, incomes, prices Discards magnitude Household income, wait times
Mode None No Categorical, bimodal peaks Unstable with continuous data Survey categories
Trimmed mean Moderate Partially Robust symmetric data Arbitrary trim percentage Olympic scoring, wages
Geometric mean Low for multiplicative Yes (log scale) Growth rates, ratios Undefined for zeros/negatives Investment returns, titers
Weighted mean Depends on weights Yes Unequal importance Weight choice is subjective Survey weighting, GPA

The table shows no universal winner. The measure must match the distribution and the decision the number will inform.

Timeline: how to diagnose and choose, step by step

Step Action Decision threshold Why it matters
1 Plot a histogram Any visible asymmetry Shape drives the choice
2 Compute both statistics Gap above 10 percent of median Signals meaningful skew
3 Check outliers Values beyond 1.5 IQR Confirms tail influence
4 Inspect for bimodality Two or more clear peaks Both measures may mislead
5 Confirm data type Ordinal or censored Mean may be invalid
6 Match to decision Totals need mean; typicals need median Purpose overrides habit
7 Report both if stakes are high Gap exceeds 20 percent Readers can judge skew

This sequence takes minutes in a spreadsheet and prevents the most common reporting error: quoting whichever number looks better without checking shape.

Red-flag warnings and practical actions

Watch for these signals before publishing or acting on a single number.

A mean far above the median (gap exceeds 15 percent) on a metric you are calling "typical." A distribution with a long right tail and no stated trimming or transformation. Any report that gives an average without a count, a measure of spread, or a histogram. Satisfaction or rating scales summarized with means alone when the scale is ordinal. Survival or time-to-event data summarized with a mean that treats censored cases as complete. Small samples (below 30) with one or two extreme values where the mean dominates.

Practical actions, concrete steps, and thresholds:

Compute mean, median, and interquartile range together. If the mean falls outside the IQR, skew is severe and the median should lead. For right-skewed monetary data, report the median as the headline and the mean as supplementary, labeled as an aggregate. For revenue, cost, or population totals, use the mean regardless of skew, because the total depends on it. Consider a 10 percent trimmed mean when you need robust center and more efficiency than the median provides. Transform skewed data with a logarithm before using the mean for modeling, then back-transform for reporting. For ordinal scales, report the median and the full distribution of responses rather than a mean.

Each threshold traces back to the mechanism: the mean's sensitivity grows with the squared distance of extremes, so any heavy tail demands a check.

Limitations and the scope of the advice

These rules are guidance, not laws. Skewness rules of thumb, such as the three-times-mode approximation, assume unimodal distributions and fail in multimodal data. Robustness comes at a cost: medians discard information, so their estimates are noisier in small clean samples, and confidence intervals for medians require different methods such as bootstrapping.

Context can override statistics entirely. Regulators, professional standards, and reporting conventions sometimes mandate one measure regardless of distribution shape. If a contract specifies "average" without defining it, clarify which measure is intended before signing. And when there is genuine disagreement about which center matters, report both, state the gap, and let the reader see the shape.