Mean vs Median: What’s the Difference and When to Use Each

The mean adds every value and divides by the number of values. The median is the middle value after you sort the data. Both describe the center of a dataset, but they answer different questions.

Consider five delivery times: 10, 11, 12, 13, and 44 minutes. Their mean is 18 minutes, while their median is 12 minutes. Neither calculation is wrong. The difference tells you that one unusually slow delivery is pulling up the mean.

Mean and median at a glance

QuestionMeanMedian
How do you calculate it?Add the values and divide by their countSort the values and find the middle
Does an extreme value affect it strongly?It canUsually less strongly
Does it use every value’s magnitude?YesNo; it depends on the middle positions
Useful questionWhat amount per observation reproduces the total?What is the middle observation?

How to calculate the mean

Mean = sum of all values ÷ number of values

For the delivery times, add 10 + 11 + 12 + 13 + 44 = 90. Then divide 90 by 5. The mean is 18 minutes. Multiplying this mean by five gives the original total of 90 minutes.

How to calculate the median

First sort the values from smallest to largest. With five values, the third value is in the middle, so the median is 12 minutes.

With an even number of observations, average the two middle values. For 10, 11, 12, and 13, the median is (11 + 12) ÷ 2 = 11.5. A median does not have to be one of the original observations.

Why salary averages can look surprising

Imagine a business with an owner and four employees. Their annual earnings are $40,000, $45,000, $50,000, $52,000, and $500,000.

MeasureCalculationResult
Mean$687,000 ÷ 5$137,400
MedianThird value in the sorted list$50,000

The mean describes total earnings per person. The median better describes the middle earner in this example. Calling either figure simply “average salary” without explaining the method can confuse readers. Our income comparison guide explains how population definitions also change the result.

Which one should you use?

Use the median when your question concerns the middle observation and a few extreme values would distort the summary. Use the mean when totals matter, such as estimating total delivery minutes from a representative average and a delivery count.

Skewed data does not make the mean invalid. Often the best approach is to report both, together with the sample size and a measure of spread. For grades with unequal weights, neither a plain mean nor a median replaces a weighted average.

Check the example yourself

Enter 10, 11, 12, 13, 44 in the Arithmetic Mean Calculator and compare with the Median Calculator. Expect 18 and 12 respectively. Change 44 to 14: both become 12. This shows exactly how one large value affects the two measures.

Common questions

Can the mean and median be equal?

Yes. They are both 12 for 10, 11, 12, 13, 14. Equality alone does not prove that every dataset has a symmetric distribution.

Should I remove an unusual value?

Investigate it first. A genuine slow delivery belongs in a delivery-time record. See our guide to handling outliers before excluding observations.

Try it yourself

Open the related calculator to explore your own example, or browse all calculators.