Skip to content

Statistics Calculator

This statistics calculator summarises a list of numbers in one go. It gives the mean, median, mode, range, quartiles, spread, skewness and kurtosis, so you can describe your data before you analyse it.

Separate the numbers with commas or spaces.

Mean

18

Sum 108 ÷ count 6 = mean. Skewness and kurtosis need at least 3 and 4 values.

Median
15.5
Sample standard deviation
13.490738
Count
6
Range
38
All statistics (quartiles by the inclusive median-of-halves method)
MeasureValue
Count (n)6
Sum108
Mean18
Median15.5
ModeNone (every value occurs once)
Minimum4
Maximum42
Range (max − min)38
Q1 (lower quartile)8
Q3 (upper quartile)23
Interquartile range (Q3 − Q1)15
Sample variance (n − 1)182
Sample standard deviation13.490738
Population variance (n)151.666667
Population standard deviation12.315302
Standard error of the mean5.507571
Skewness (sample, adjusted)1.242611
Excess kurtosis (sample, adjusted)1.799746

How to use this calculator

  1. 1 Type your numbers, separated by commas or spaces.
  2. 2 Read the mean, median and sample standard deviation in the result cards.
  3. 3 Open the full table to see the mode, quartiles, interquartile range, skewness and kurtosis.

Which summary should I use?

A summary statistic describes a whole list with one number. Measures of centre say where the middle of the data is. Measures of spread say how far the values range around that centre.

The mean and median are the two main measures of centre. The mean is the average, and the median is the middle value when the numbers are sorted. When a few extreme values pull the mean away, the median is often the better guide.

Also, the range, interquartile range and standard deviation measure spread. The range is simply the largest value minus the smallest. The interquartile range covers the middle half of the data, so a few outliers do not affect it much.

Mean, median and mode

The mean is the sum of all the values divided by the count. For the numbers 4, 8, 15, 16, 23 and 42, the sum is 108 and the mean is 18.

The median is, in short, the middle value after sorting. With an even count, it is the average of the two middle values. For the same six numbers, the middle pair is 15 and 16, so the median is 15.5.

For example, the mode is the value that occurs most often. A list can have no mode, one mode, or several. If every value occurs once, the calculator reports that there is no mode.

Spread, skewness and kurtosis

The standard deviation measures the typical distance from the mean. The calculator reports the sample version, which divides by n − 1, so it suits a sample. The standard deviation calculator shows each step of that calculation.

Skewness measures how lopsided the data is. A value near zero suggests the data is roughly symmetrical. A positive value means a longer tail on the right, as with incomes, where a few high earners stretch the scale.

Excess kurtosis describes how heavy the tails are compared with a normal curve. A value near zero matches a normal curve. Higher values mean more extreme values than a normal curve would produce.

Reading the main summary values
MeasureWhat it tells youUse it when
MeanThe average valueThe data is roughly symmetrical
MedianThe middle valueThere are outliers or skew
ModeThe most common valueCounting categories or repeats
Standard deviationTypical distance from the meanYou need a spread for normal-like data
Interquartile rangeSpread of the middle halfYou want a spread that resists outliers

Tips for summarising data

Summaries can hide problems, so look at the raw numbers as well. These habits help:

  • Check for typing errors. A misplaced decimal point changes the mean and the spread a lot.
  • Compare mean and median. A large gap between them suggests skew or outliers.
  • Use the simple version for quick work. The mean, median, mode and range calculator is a faster choice for a basic summary.
  • Plan the next step. To judge how unusual one value is, use the z-score calculator. To estimate a range for the mean, use the confidence interval calculator.
  • Do not over-read small samples. Skewness and kurtosis are unstable with only a few values.

The formula

Mean

x̄ = (x₁ + x₂ + … + xₙ) ÷ n

x̄
the mean, or average

Median

Middle value of the sorted list, or the average of the two middle values when n is even

Sample standard deviation

s = √(Σ(xᵢ − x̄)² ÷ (n − 1))

Σ
add up over all the values

Interquartile range

IQR = Q3 − Q1

Q1
the lower quartile, the value below which a quarter of the data lies
Q3
the upper quartile, the value above which a quarter of the data lies

Worked example

Mean of 4, 8, 15, 16, 23, 42

  1. 1.Sum: 4 + 8 + 15 + 16 + 23 + 42 = 108.
  2. 2.Mean: 108 ÷ 6 = 18.
  3. 3.Median: (15 + 16) ÷ 2 = 15.5.
  4. 4.Sample variance: 910 ÷ 5 = 182, so the sample standard deviation is 13.490738.

The mean is 18. The median is 15.5, the sample standard deviation is 13.490738, and the skewness is 1.242611.

Frequently asked questions

What is the difference between mean and median?

The mean is the average, found by adding all values and dividing by the count. The median is the middle value. Extreme values pull the mean much more than the median.

What is the difference between sample and population standard deviation?

Use the population version when your list is every member of the group. Use the sample version when the list is a subset, because dividing by n − 1 gives a better estimate of the spread.

What does a skewness of zero mean?

It means the data is symmetrical around its mean, in a rough sense. Values on each side are balanced. Real data is rarely exactly zero, so a value close to zero is what you want to see.

What is a mode if every number is different?

There is no mode when every value occurs only once. The calculator reports that, rather than picking one value at random.

Why do quartiles sometimes differ between tools?

Different software uses different rules to split the data into quarters, especially for small lists. The results can differ slightly, so state the method when you report them.

Sources

Last reviewed by the GridCalculators team.