Skip to content

Statistics Calculator

Paste your data set to get every common summary statistic, with both sample and population variance and standard deviation explained.

How to use the statistics calculator

  1. Paste or type numbers separated by commas or spaces.
  2. Read center (mean, median, mode) and spread (range, variance, SD, IQR).

Examples

4, 8, 15, 16, 23, 42

Answer: mean 18, median 15.5

What the statistics calculator does

Paste or type a list of numbers and get a full summary: count, sum, mean, median, mode, range, quartiles and IQR, variance and standard deviation (sample and population), minimum and maximum, and outliers. Each statistic shows how it was calculated.

The main measures

Centre

  • Mean : the balance point, pulled by outliers.
  • Median: the middle value of the sorted data. Robust to outliers.
  • Mode: the most frequent value.

Spread

  • Range = max − min
  • IQR = , the spread of the middle 50%
  • Standard deviation: the typical distance from the mean

Worked example

Data: 4, 8, 6, 5, 3, 7, 9, 5, 22

  1. Sorted: 3, 4, 5, 5, 6, 7, 8, 9, 22 ().
  2. Mean: . Median: the 5th value, 6. Mode: 5.
  3. Quartiles (median of each half, excluding the median): , , so IQR = 4.
  4. Outlier fences: . Since , 22 is an outlier.

The mean (7.67) sits above the median (6) because the outlier pulls it up. For skewed data, the median is the better "typical value".

Five-number summary and box plots

Min, , median, , max: here 3, 4.5, 6, 8.5, 22. A box plot draws exactly these numbers, and marks outliers as separate dots.

Sample or population?

If your data is all of the group you care about, use the population formulas (divide by ). If it's a sample used to estimate a larger group, use the sample formulas (divide by ). Most homework and real data are samples.

Common mistakes

  • Taking the median of unsorted data.
  • With an even count, the median is the average of the two middle values.
  • Quartile methods vary between textbooks and calculators (inclusive vs exclusive), so small differences are normal. The calculator states which one it uses.

For one statistic in depth, see the standard deviation and mean, median, mode calculators.

In real life: reading house prices

Seven houses on a street sold for (in thousands): 240, 255, 262, 270, 281, 295, 890.

  • Mean:
  • Median: 270
  • IQR: , , so IQR = 40, and the upper fence is .

The 890 sale (perhaps a large renovated house) is an outlier. It drags the mean up to 356, which is higher than six of the seven prices. That's why news reports quote the median house price: it describes a typical home much better.

Formulas

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Find the mean of 3, 7, 8, 10, 12.

    Show answer

    8.

  2. 2.Find the median of 9, 2, 7, 4, 6, 1.

    Show answer

    5. Sorted: 1, 2, 4, 6, 7, 9.

  3. 3.Find the range of 15, 22, 8, 30, 19.

    Show answer

    22.

  4. 4.Find the IQR of 1, 3, 5, 7, 9, 11, 13, 15.

    Show answer

    8. and .

  5. 5.Is 50 an outlier in 10, 12, 13, 15, 16, 50?

    Show answer

    Yes. , IQR = 4, and the fence is 22.

Key terms

Mean
The arithmetic average.
Median
The middle value of sorted data.
Quartiles
The values that split sorted data into four equal parts.
Outlier
A value far from the rest, often beyond IQR from the quartiles.
Five-number summary
Min, , median, , max.

Frequently asked questions

Sample or population standard deviation?

Use the sample SD (divide by n − 1) when your data is a sample from a larger group; use the population SD (divide by n) when you have every member.

How should I enter data?

Paste numbers separated by commas, spaces or new lines. You can copy a column straight from a spreadsheet.

What is skewness?

A measure of asymmetry. With right (positive) skew there's a long tail of high values, and the mean is usually above the median.

What is the coefficient of variation?

The standard deviation divided by the mean, as a percentage. It compares spread between data sets with different units or scales.

Can it handle frequency tables?

Yes. Enter each value with its frequency and the calculator treats it as the full list of data.