Mean, Median and Standard Deviation Calculator

This mean median and standard deviation calculator shows all three for your data and tests how much the largest value moves each one.

Checks on your data

  • When the mean and median differ noticeably, the data are skewed or contain an outlier, and the median is the safer measure of a typical value.
  • 1 possible outlier (64) lie beyond 1.5 × IQR from the quartiles. Check for typing errors, then see how much the result changes without them. See the box plot →
  • The data are strongly right-skewed (skewness 2.46). The mean and standard deviation can mislead here; the median and IQR describe skewed data better. Measure skewness →

Results

Mean
21.6
Median
17
Standard deviation (sample)
15.225709
Standard deviation (population)
14.444376
Mean − median
4.6
far from 0 means skew or outliers
Mean change if the largest value is dropped
-4.7111111
Median change if the largest value is dropped
-1
Values with the mean ± 1 SD
204060mean 21.6
Histogram
0512 – 22.4: 9922.4 – 32.8: 032.8 – 43.2: 043.2 – 53.6: 053.6 – 64: 111222.432.843.253.664
How much one extreme value matters
StatisticAll valuesWithout the largestChange
Mean21.616.88889-4.71111
Median1716-1
Sample SD15.225713.333333-11.8924
Show step-by-step solution
  1. Mean = 216 ÷ 10 = 21.6.
  2. Median = middle of the sorted values = 17.
  3. Sample SD = √(2086.4 ÷ 9) = 15.225709.
  4. Dropping the largest value (64) moves the mean by -4.71111 but the median by only -1.
MeanΣx / n
MedianMiddle value
SDSpread
Outlier testDrop the largest

What Is Mean Median and Standard Deviation?

The mean, median and standard deviation answer two questions about a data set: where is the centre, and how spread out is it? The mean and median give two different centres, and the standard deviation measures spread around the mean.

Enter at least three values to get all three statistics, the gap between mean and median and the sample and population SD. A table then drops the largest value and shows how far each statistic moves, so you can see which summary is robust to outliers.

The sections below give the formulas, a worked example with an outlier and answers on when to prefer the median.

How to Use the Mean Median and Standard Deviation Calculator

  1. Enter at least three values.
  2. Read the mean, median and SD.
  3. Compare the mean and median.
  4. Check the outlier-effect table.

Mean Median and Standard Deviation Formula

Mean

xˉ=∑xn\bar x=\frac{\sum x}{n}

Sample SD

s=∑(x−xˉ)2n−1s=\sqrt{\frac{\sum(x-\bar x)^2}{n-1}}

Mean Median and Standard Deviation Variables Explained

SymbolMeaningNotes
x̄Mean
MedianMiddle sorted value
sSample standard deviation
nNumber of values

Mean Median and Standard Deviation Worked Example

For 12, 14, 15, 15, 16, 18, 19, 21, 22, 64 the mean is 21.6 and the median is 17. The value 64 pulls the mean up. Without it the mean is 16.9 while the median is 16, so the median barely moves.

With the example values loaded in the calculator above, the steps are:

  1. Mean = 216 ÷ 10 = 21.6.
  2. Median = middle of the sorted values = 17.
  3. Sample SD = √(2086.4 ÷ 9) = 15.225709.
  4. Dropping the largest value (64) moves the mean by -4.71111 but the median by only -1.

Result: Mean = 21.6; Median = 17; Standard deviation (sample) = 15.225709.

How to Read Mean, Median and Standard Deviation Together

When the mean and median differ a lot, the data are skewed or have an outlier. For 12, 14, 15, 15, 16, 18, 19, 21, 22, 64 the mean is 21.6 but the median is 17. The value 64 pulls the mean up.

Dropping the largest value moves the mean from 21.6 to 16.9, while the median moves from 17 to 16. The median barely moves, so it is the more robust summary here. The standard deviation also falls sharply once 64 is gone.

Where Mean Median and Standard Deviation Is Used

Choosing a summary

Decide between the mean and the median from how far apart they are.

Outlier checks

See how much one extreme value shifts each statistic.

Reports

Quote the centre and spread together.

Homework

Check all three statistics in one step.

Common Mean Median and Standard Deviation Mistakes to Avoid

  • A large gap between the mean and median points to skew or an outlier.
  • Use the median and IQR when the data are skewed.
  • Report which standard deviation you used, sample or population.
  • Check the outlier before you drop it. It may be a real value.

Mean Median and Standard Deviation Terms and Definitions

Robust
Little affected by extreme values.

Mean Median and Standard Deviation FAQs

How do I find the mean, median and standard deviation?

Add the values and divide by n for the mean, find the middle value for the median, and take the square root of the average squared distance from the mean for the standard deviation, dividing by n − 1 for a sample.

Why are the mean and median different?

The mean uses every value, so extreme values pull it toward them. The median is the middle value and ignores how large the extremes are.

Which is more robust?

The median. It changes little when an outlier is added, while the mean and standard deviation change a lot.

Sample or population SD?

Use the sample version when the data come from a larger group, which is most cases. Use the population version only for the whole group.

Related calculators

Last updated 2026-11-09. See our disclaimer.